Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-05 23:59:03.753652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
  port_id : 19417920
  datou_current_id : 2466362
in upload_from_sqlite, uploading in 19417920
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0003.jpg', '/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0000.jpg', '/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0001.jpg', '/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0002.jpg', '/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0003.jpg', '/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0003.jpg
/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0000.jpg
/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0001.jpg
/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0002.jpg
/home/pi/Desktop/images/05012025/23/57/image_05012025_23_57_02_588600_0003.jpg
/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_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":["1326911604","1326911607","1326911606","1326911605","1326911598","1326911602"],"photo_ids_order":["1326911598","1326911602","1326911604","1326911605","1326911606","1326911607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2934dce88edef73241fbabca1c9f43c.jpg","text":"TemporaryFile(/tmp/multipartBody1535334800477515867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_57_02_588600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d00d30c51bba01cd791174b33189caa.jpg","text":"TemporaryFile(/tmp/multipartBody5775566733825565793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_58_02_807986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e52e7a00bf0a6cb7e5600bce952a7ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8419482845259923347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_57_02_588600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f23b3b5b377bd86a5a83b48e010aae0d.jpg","text":"TemporaryFile(/tmp/multipartBody7800073591829738979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_57_02_588600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de07624b612cfc492f8b1356e3b37fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4004870050503305386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_56_02_440505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ad25c49980d7934571204a446e7f902.jpg","text":"TemporaryFile(/tmp/multipartBody7994544963895145137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118019845,"filename":"image_05012025_23_57_02_588600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911604","file1":"1326911602","file0":"1326911598","file4":"1326911606","file5":"1326911607","file3":"1326911605"},"map_files_photo_id_array":[{"photo_id":"1326911607","filename":"file5"},{"photo_id":"1326911604","filename":"file2"},{"photo_id":"1326911606","filename":"file4"},{"photo_id":"1326911602","filename":"file1"},{"photo_id":"1326911598","filename":"file0"},{"photo_id":"1326911605","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326911604":["hashtag1","hashtag2"]},{"1326911607":["hashtag1","hashtag2"]},{"1326911606":["hashtag1","hashtag2"]},{"1326911605":["hashtag1","hashtag2"]},{"1326911598":["hashtag1","hashtag2"]},{"1326911602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326911604, 1326911607, 1326911606, 1326911605, 1326911598, 1326911602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.59524416923523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:00:21.939959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 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_06012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19426211, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736118082000}
533
2466670
533
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0000.jpg', '/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0001.jpg', '/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0000.jpg
/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0001.jpg
/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911622","1326911625","1326911619"],"photo_ids_order":["1326911619","1326911622","1326911625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d25af7d80f1cfc7106965514da17c95.jpg","text":"TemporaryFile(/tmp/multipartBody4583094293372463576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118093120,"filename":"image_06012025_00_00_03_086099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bcc6e3330169e4de485bace18e8f4522.jpg","text":"TemporaryFile(/tmp/multipartBody11096817111657423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118093120,"filename":"image_06012025_00_00_03_086099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bf590e93c40f28878d763ec0a603039.jpg","text":"TemporaryFile(/tmp/multipartBody2539813402304251717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118093120,"filename":"image_06012025_00_00_03_086099_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911625","file1":"1326911622","file0":"1326911619"},"map_files_photo_id_array":[{"photo_id":"1326911625","filename":"file2"},{"photo_id":"1326911622","filename":"file1"},{"photo_id":"1326911619","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911622":["hashtag1","hashtag2"]},{"1326911625":["hashtag1","hashtag2"]},{"1326911619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911622, 1326911625, 1326911619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.18562722206116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:01:02.853277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
  port_id : 19417920
  datou_current_id : 2466362
in upload_from_sqlite, uploading in 19417920
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0001.jpg', '/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0002.jpg', '/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0003.jpg', '/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0000.jpg', '/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0001.jpg', '/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0001.jpg
/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0002.jpg
/home/pi/Desktop/images/05012025/23/58/image_05012025_23_58_02_807986_0003.jpg
/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0000.jpg
/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0001.jpg
/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911637","1326911639","1326911630","1326911633","1326911641","1326911635"],"photo_ids_order":["1326911630","1326911633","1326911635","1326911637","1326911639","1326911641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95ce64ebbe0261f4e1256991461db17d.jpg","text":"TemporaryFile(/tmp/multipartBody5686143963565278760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_59_02_969127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d319026d305b89c69439c3040975ca12.jpg","text":"TemporaryFile(/tmp/multipartBody396670426185367890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_59_02_969127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c23d09c4e716cba6c7bba35c5bc9bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1564864771048597699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_58_02_807986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0823a201038675cad115197c2c6987d6.jpg","text":"TemporaryFile(/tmp/multipartBody855613929942587826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_58_02_807986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/929de06933027f9985ce3f9e0acefdf9.jpg","text":"TemporaryFile(/tmp/multipartBody4490107987154097359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_59_02_969127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b08ffdfa405e81142b327f8e38d9735.jpg","text":"TemporaryFile(/tmp/multipartBody3230943939172278962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118138967,"filename":"image_05012025_23_58_02_807986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911635","file1":"1326911633","file0":"1326911630","file4":"1326911639","file5":"1326911641","file3":"1326911637"},"map_files_photo_id_array":[{"photo_id":"1326911641","filename":"file5"},{"photo_id":"1326911635","filename":"file2"},{"photo_id":"1326911639","filename":"file4"},{"photo_id":"1326911633","filename":"file1"},{"photo_id":"1326911630","filename":"file0"},{"photo_id":"1326911637","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326911637":["hashtag1","hashtag2"]},{"1326911639":["hashtag1","hashtag2"]},{"1326911630":["hashtag1","hashtag2"]},{"1326911633":["hashtag1","hashtag2"]},{"1326911641":["hashtag1","hashtag2"]},{"1326911635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326911637, 1326911639, 1326911630, 1326911633, 1326911641, 1326911635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.56035017967224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:02:22.311079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0003.jpg', '/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0000.jpg', '/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0001.jpg', '/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0002.jpg', '/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0003.jpg', '/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/00/image_06012025_00_00_03_086099_0003.jpg
/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0000.jpg
/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0001.jpg
/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0002.jpg
/home/pi/Desktop/images/06012025/00/01/image_06012025_00_01_02_322716_0003.jpg
/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_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":["1326911655","1326911658","1326911660","1326911654","1326911653","1326911656"],"photo_ids_order":["1326911653","1326911654","1326911655","1326911656","1326911658","1326911660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65560a07da1e0ce58a1fe21ebbb001f9.jpg","text":"TemporaryFile(/tmp/multipartBody4015799314970065706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_01_02_322716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f750d8961d25e284d060096055107fce.jpg","text":"TemporaryFile(/tmp/multipartBody6977225067134989821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_01_02_322716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/168d2406b5e5ffad699cc3220ec0452c.jpg","text":"TemporaryFile(/tmp/multipartBody5896390416158234993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_02_02_552563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccc9123758e62b04a5a43204d022bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody3888300979823041654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_01_02_322716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/816432c425829fa0d237a186710dc255.jpg","text":"TemporaryFile(/tmp/multipartBody3688687498848554478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_00_03_086099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d74a7868361c2b38363e5ca84db9495.jpg","text":"TemporaryFile(/tmp/multipartBody6938366906311429240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118217379,"filename":"image_06012025_00_01_02_322716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911655","file1":"1326911654","file0":"1326911653","file4":"1326911658","file5":"1326911660","file3":"1326911656"},"map_files_photo_id_array":[{"photo_id":"1326911660","filename":"file5"},{"photo_id":"1326911655","filename":"file2"},{"photo_id":"1326911658","filename":"file4"},{"photo_id":"1326911654","filename":"file1"},{"photo_id":"1326911653","filename":"file0"},{"photo_id":"1326911656","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911655":["hashtag1","hashtag2"]},{"1326911658":["hashtag1","hashtag2"]},{"1326911660":["hashtag1","hashtag2"]},{"1326911654":["hashtag1","hashtag2"]},{"1326911653":["hashtag1","hashtag2"]},{"1326911656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911655, 1326911658, 1326911660, 1326911654, 1326911653, 1326911656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.91278696060181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:03:52.599996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
  port_id : 19417920
  datou_current_id : 2466362
in upload_from_sqlite, uploading in 19417920
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_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: 3.605961561203003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:04:02.190108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0001.jpg', '/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0002.jpg', '/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0003.jpg', '/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0000.jpg', '/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0001.jpg', '/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0001.jpg
/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0002.jpg
/home/pi/Desktop/images/06012025/00/02/image_06012025_00_02_02_552563_0003.jpg
/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0000.jpg
/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0001.jpg
/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911667","1326911675","1326911672","1326911674","1326911668","1326911670"],"photo_ids_order":["1326911667","1326911668","1326911670","1326911672","1326911674","1326911675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/953fd758d329ad4df7e9216825992d85.jpg","text":"TemporaryFile(/tmp/multipartBody1406165446776666757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_02_02_552563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0dcf6c888b4872f87086034dee13340a.jpg","text":"TemporaryFile(/tmp/multipartBody501400201637397506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_03_02_789879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73b84a5585188547d703d9dfc25811ea.jpg","text":"TemporaryFile(/tmp/multipartBody229503165643934815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_03_02_789879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d9c9d670de187ff2c1b5fe7dc954007b.jpg","text":"TemporaryFile(/tmp/multipartBody841259135478951945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_03_02_789879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a19c7636e0923d0088e9518a3fa4e53d.jpg","text":"TemporaryFile(/tmp/multipartBody4088927022367085374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_02_02_552563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f8e58d79ac4fce7d7afde741f2df141.jpg","text":"TemporaryFile(/tmp/multipartBody4061826575568617626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118317263,"filename":"image_06012025_00_02_02_552563_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911670","file1":"1326911668","file0":"1326911667","file4":"1326911674","file5":"1326911675","file3":"1326911672"},"map_files_photo_id_array":[{"photo_id":"1326911675","filename":"file5"},{"photo_id":"1326911670","filename":"file2"},{"photo_id":"1326911674","filename":"file4"},{"photo_id":"1326911668","filename":"file1"},{"photo_id":"1326911667","filename":"file0"},{"photo_id":"1326911672","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911667":["hashtag1","hashtag2"]},{"1326911675":["hashtag1","hashtag2"]},{"1326911672":["hashtag1","hashtag2"]},{"1326911674":["hashtag1","hashtag2"]},{"1326911668":["hashtag1","hashtag2"]},{"1326911670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911667, 1326911675, 1326911672, 1326911674, 1326911668, 1326911670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.760430335998535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:05:21.992362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0003.jpg', '/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0000.jpg', '/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0001.jpg', '/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0002.jpg', '/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0003.jpg', '/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/03/image_06012025_00_03_02_789879_0003.jpg
/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0000.jpg
/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0001.jpg
/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0002.jpg
/home/pi/Desktop/images/06012025/00/04/image_06012025_00_04_02_895419_0003.jpg
/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_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":["1326911688","1326911690","1326911684","1326911692","1326911686","1326911689"],"photo_ids_order":["1326911684","1326911686","1326911688","1326911689","1326911690","1326911692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee08859050f054df49e18a102c77d138.jpg","text":"TemporaryFile(/tmp/multipartBody3256008838094832566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_04_02_895419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a544fce4a74ca4ec955f4392abeee48.jpg","text":"TemporaryFile(/tmp/multipartBody8700373491223693842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_04_02_895419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43ba32d4e41e3b62441be445e3aaa711.jpg","text":"TemporaryFile(/tmp/multipartBody7166972605236536040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_03_02_789879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba82089bbb9fa3f5cdfd030d9b565c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7908873317673124777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_05_02_177096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef83c10ae678c807ad56fdcbe8d46828.jpg","text":"TemporaryFile(/tmp/multipartBody3831660635365164514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_04_02_895419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0fb1ff1e32e832e1ef9d6bfc9a212d0.jpg","text":"TemporaryFile(/tmp/multipartBody2710169978217969756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118396912,"filename":"image_06012025_00_04_02_895419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911688","file1":"1326911686","file0":"1326911684","file4":"1326911690","file5":"1326911692","file3":"1326911689"},"map_files_photo_id_array":[{"photo_id":"1326911692","filename":"file5"},{"photo_id":"1326911688","filename":"file2"},{"photo_id":"1326911690","filename":"file4"},{"photo_id":"1326911686","filename":"file1"},{"photo_id":"1326911684","filename":"file0"},{"photo_id":"1326911689","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911688":["hashtag1","hashtag2"]},{"1326911690":["hashtag1","hashtag2"]},{"1326911684":["hashtag1","hashtag2"]},{"1326911692":["hashtag1","hashtag2"]},{"1326911686":["hashtag1","hashtag2"]},{"1326911689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911688, 1326911690, 1326911684, 1326911692, 1326911686, 1326911689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61961483955383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:06:22.179084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0001.jpg', '/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0002.jpg', '/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0003.jpg', '/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0000.jpg', '/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0001.jpg', '/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0001.jpg
/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0002.jpg
/home/pi/Desktop/images/06012025/00/05/image_06012025_00_05_02_177096_0003.jpg
/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0000.jpg
/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0001.jpg
/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911700","1326911699","1326911698","1326911702","1326911704","1326911701"],"photo_ids_order":["1326911698","1326911699","1326911700","1326911701","1326911702","1326911704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/837f2c7b01a5d08a66a91c66e3d3deeb.jpg","text":"TemporaryFile(/tmp/multipartBody347706300198951150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_05_02_177096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee57b21f22171a8bf61204012f05ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody956033685452010765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_05_02_177096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56d7af49685b00dc042356186e47e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6085091870904855612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_05_02_177096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2238cb4decba0c499520c79098d93a71.jpg","text":"TemporaryFile(/tmp/multipartBody4035873437623908167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_06_02_332083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f09f1cbd0614ddafff2f83f305de6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5562506151133896883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_06_02_332083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d730f5956722d148aac78c13ebb1348.jpg","text":"TemporaryFile(/tmp/multipartBody2993079252252748843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118457106,"filename":"image_06012025_00_06_02_332083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911700","file1":"1326911699","file0":"1326911698","file4":"1326911702","file5":"1326911704","file3":"1326911701"},"map_files_photo_id_array":[{"photo_id":"1326911704","filename":"file5"},{"photo_id":"1326911700","filename":"file2"},{"photo_id":"1326911702","filename":"file4"},{"photo_id":"1326911699","filename":"file1"},{"photo_id":"1326911698","filename":"file0"},{"photo_id":"1326911701","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911700":["hashtag1","hashtag2"]},{"1326911699":["hashtag1","hashtag2"]},{"1326911698":["hashtag1","hashtag2"]},{"1326911702":["hashtag1","hashtag2"]},{"1326911704":["hashtag1","hashtag2"]},{"1326911701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911700, 1326911699, 1326911698, 1326911702, 1326911704, 1326911701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.0228590965271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:07:52.361932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
  port_id : 19417920
  datou_current_id : 2466362
in upload_from_sqlite, uploading in 19417920
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/23/59/image_05012025_23_59_02_969127_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911710"],"photo_id":"1326911710","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3b3225ad42f8e46aa230a795765b1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7259717895800899550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118536394,"filename":"image_05012025_23_59_02_969127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326911710"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326911710"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.59177303314209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:08:22.617492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0003.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0000.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0001.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0002.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0003.jpg', '/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0003.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0000.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0001.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0002.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0003.jpg
/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_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.51250672340393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:08:52.537738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:09:03.472061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0003.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0000.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0001.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0002.jpg', '/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0003.jpg', '/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/06/image_06012025_00_06_02_332083_0003.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0000.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0001.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0002.jpg
/home/pi/Desktop/images/06012025/00/07/image_06012025_00_07_02_555392_0003.jpg
/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_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":["1326911733","1326911727","1326911732","1326911729","1326911731","1326911725"],"photo_ids_order":["1326911725","1326911727","1326911729","1326911731","1326911732","1326911733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/47ca95efaeeae653249634d6708b0e8a.jpg","text":"TemporaryFile(/tmp/multipartBody494276849328776533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_08_02_759088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94a8ef16e5b9f30aa647d6d04f92b90c.jpg","text":"TemporaryFile(/tmp/multipartBody3281057662253668885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_07_02_555392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3aaf3c51d7daad05e7e298ae08c05e90.jpg","text":"TemporaryFile(/tmp/multipartBody4020899763222945688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_07_02_555392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bffae15d372d4793e321eb56c675e4c.jpg","text":"TemporaryFile(/tmp/multipartBody166134483566468575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_07_02_555392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88a3c2c704ecde2c3ef8df75597b52b8.jpg","text":"TemporaryFile(/tmp/multipartBody4149153329840350189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_07_02_555392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf53db97a18be9ab5049caea4f06129f.jpg","text":"TemporaryFile(/tmp/multipartBody2695540961802269271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118618443,"filename":"image_06012025_00_06_02_332083_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911729","file1":"1326911727","file0":"1326911725","file4":"1326911732","file5":"1326911733","file3":"1326911731"},"map_files_photo_id_array":[{"photo_id":"1326911733","filename":"file5"},{"photo_id":"1326911729","filename":"file2"},{"photo_id":"1326911732","filename":"file4"},{"photo_id":"1326911727","filename":"file1"},{"photo_id":"1326911725","filename":"file0"},{"photo_id":"1326911731","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911733":["hashtag1","hashtag2"]},{"1326911727":["hashtag1","hashtag2"]},{"1326911732":["hashtag1","hashtag2"]},{"1326911729":["hashtag1","hashtag2"]},{"1326911731":["hashtag1","hashtag2"]},{"1326911725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911733, 1326911727, 1326911732, 1326911729, 1326911731, 1326911725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.538830518722534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:10:02.371446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0001.jpg', '/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0002.jpg', '/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0003.jpg', '/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0000.jpg', '/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0001.jpg', '/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0001.jpg
/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0002.jpg
/home/pi/Desktop/images/06012025/00/08/image_06012025_00_08_02_759088_0003.jpg
/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0000.jpg
/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0001.jpg
/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_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":["1326911748","1326911742","1326911744","1326911738","1326911740","1326911746"],"photo_ids_order":["1326911738","1326911740","1326911742","1326911744","1326911746","1326911748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cef59b35bf7be9f7aab3a118524bbc6e.jpg","text":"TemporaryFile(/tmp/multipartBody6716357870961378705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_09_02_907742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b211d91b310c4a1c9d92e728a3c081b3.jpg","text":"TemporaryFile(/tmp/multipartBody7048134904161643033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_08_02_759088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed6c3a2f472611706cd2af06344e9606.jpg","text":"TemporaryFile(/tmp/multipartBody1383970790695834201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_09_02_907742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf3d9c82e1de361fe150cf3bf9dc9aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7363167391925941655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_08_02_759088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f89b860ed5250c9d6d7a8e8eecd1583.jpg","text":"TemporaryFile(/tmp/multipartBody5808198250730515920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_08_02_759088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa8a32c9779bd2817703075da4572c03.jpg","text":"TemporaryFile(/tmp/multipartBody7568770616850164623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118677278,"filename":"image_06012025_00_09_02_907742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911742","file1":"1326911740","file0":"1326911738","file4":"1326911746","file5":"1326911748","file3":"1326911744"},"map_files_photo_id_array":[{"photo_id":"1326911748","filename":"file5"},{"photo_id":"1326911742","filename":"file2"},{"photo_id":"1326911746","filename":"file4"},{"photo_id":"1326911740","filename":"file1"},{"photo_id":"1326911738","filename":"file0"},{"photo_id":"1326911744","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911748":["hashtag1","hashtag2"]},{"1326911742":["hashtag1","hashtag2"]},{"1326911744":["hashtag1","hashtag2"]},{"1326911738":["hashtag1","hashtag2"]},{"1326911740":["hashtag1","hashtag2"]},{"1326911746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911748, 1326911742, 1326911744, 1326911738, 1326911740, 1326911746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.02084946632385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:11:02.668926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0003.jpg', '/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0000.jpg', '/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0001.jpg', '/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/09/image_06012025_00_09_02_907742_0003.jpg
/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0000.jpg
/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0001.jpg
/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911751","1326911754","1326911761","1326911758"],"photo_ids_order":["1326911751","1326911754","1326911758","1326911761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7df76b13e67fc6419becf2daab06cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6832497841400748234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118732985,"filename":"image_06012025_00_09_02_907742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5dc655b4cfcec80d677ea86ff82ca493.jpg","text":"TemporaryFile(/tmp/multipartBody1044162566978295747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118732985,"filename":"image_06012025_00_10_03_055290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c886b0ba1b135e1db45c279a927553f.jpg","text":"TemporaryFile(/tmp/multipartBody7466417842741758478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118732985,"filename":"image_06012025_00_10_03_055290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d908ea1cbcb74dd3ea42573407d2ece1.jpg","text":"TemporaryFile(/tmp/multipartBody6563304888716764442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118732985,"filename":"image_06012025_00_10_03_055290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911758","file1":"1326911754","file0":"1326911751","file3":"1326911761"},"map_files_photo_id_array":[{"photo_id":"1326911758","filename":"file2"},{"photo_id":"1326911754","filename":"file1"},{"photo_id":"1326911751","filename":"file0"},{"photo_id":"1326911761","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911751":["hashtag1","hashtag2"]},{"1326911754":["hashtag1","hashtag2"]},{"1326911761":["hashtag1","hashtag2"]},{"1326911758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911751, 1326911754, 1326911761, 1326911758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.746617555618286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:11:52.110778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:12:02.634232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0003.jpg', '/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0000.jpg', '/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0001.jpg', '/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/10/image_06012025_00_10_03_055290_0003.jpg
/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0000.jpg
/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0001.jpg
/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911769","1326911771","1326911765","1326911767"],"photo_ids_order":["1326911765","1326911767","1326911769","1326911771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e42059885bdf29fafba2cc23e8030ab.jpg","text":"TemporaryFile(/tmp/multipartBody5513291868735136744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118792925,"filename":"image_06012025_00_11_02_319011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d65a1fb2bf2b13cab13a785bf8e1a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody5704839870373383325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118792925,"filename":"image_06012025_00_11_02_319011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81fda931cc46b33621e0a66173df0f1d.jpg","text":"TemporaryFile(/tmp/multipartBody147544049218670847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118792925,"filename":"image_06012025_00_10_03_055290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eed5420b499651448f56f371466a007.jpg","text":"TemporaryFile(/tmp/multipartBody8543835179618869322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118792925,"filename":"image_06012025_00_11_02_319011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911769","file1":"1326911767","file0":"1326911765","file3":"1326911771"},"map_files_photo_id_array":[{"photo_id":"1326911769","filename":"file2"},{"photo_id":"1326911767","filename":"file1"},{"photo_id":"1326911765","filename":"file0"},{"photo_id":"1326911771","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911769":["hashtag1","hashtag2"]},{"1326911771":["hashtag1","hashtag2"]},{"1326911765":["hashtag1","hashtag2"]},{"1326911767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911769, 1326911771, 1326911765, 1326911767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.276095390319824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:12:52.262098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:13:03.158146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0003.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0000.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0001.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0003.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0000.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0001.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_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.949091672897339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:13:22.434839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0003.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0000.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0001.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0002.jpg', '/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0003.jpg', '/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/11/image_06012025_00_11_02_319011_0003.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0000.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0001.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0002.jpg
/home/pi/Desktop/images/06012025/00/12/image_06012025_00_12_02_482652_0003.jpg
/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_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":["1326911832","1326911829","1326911789","1326911831","1326911836","1326911830"],"photo_ids_order":["1326911789","1326911829","1326911830","1326911831","1326911832","1326911836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e39f4fbc582a3f26135ba0aa75da406d.jpg","text":"TemporaryFile(/tmp/multipartBody8685164464410560608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_12_02_482652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6073ffaeb8f3e93b0a584f73cd4deff1.jpg","text":"TemporaryFile(/tmp/multipartBody1771216977970247409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_12_02_482652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e319a62ab812d6e69044ea6d45372519.jpg","text":"TemporaryFile(/tmp/multipartBody7889217936312282035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_11_02_319011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca2e775b78366aa80aad7fce230385aa.jpg","text":"TemporaryFile(/tmp/multipartBody409656522355521790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_12_02_482652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e6c52453a0cf530ba58c2fc98918304.jpg","text":"TemporaryFile(/tmp/multipartBody5624372544946864400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_13_02_715583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e6f8eb5cbb717ca695eaa113f2fa4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5745063166740345678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118877581,"filename":"image_06012025_00_12_02_482652_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911830","file1":"1326911829","file0":"1326911789","file4":"1326911832","file5":"1326911836","file3":"1326911831"},"map_files_photo_id_array":[{"photo_id":"1326911836","filename":"file5"},{"photo_id":"1326911830","filename":"file2"},{"photo_id":"1326911832","filename":"file4"},{"photo_id":"1326911829","filename":"file1"},{"photo_id":"1326911789","filename":"file0"},{"photo_id":"1326911831","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911832":["hashtag1","hashtag2"]},{"1326911829":["hashtag1","hashtag2"]},{"1326911789":["hashtag1","hashtag2"]},{"1326911831":["hashtag1","hashtag2"]},{"1326911836":["hashtag1","hashtag2"]},{"1326911830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911832, 1326911829, 1326911789, 1326911831, 1326911836, 1326911830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11758637428284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:14:22.656912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0001.jpg', '/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0002.jpg', '/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0003.jpg', '/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0000.jpg', '/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0001.jpg', '/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0001.jpg
/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0002.jpg
/home/pi/Desktop/images/06012025/00/13/image_06012025_00_13_02_715583_0003.jpg
/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0000.jpg
/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0001.jpg
/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911859","1326911853","1326911856","1326911849","1326911851","1326911848"],"photo_ids_order":["1326911848","1326911849","1326911851","1326911853","1326911856","1326911859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97fe5c62f8d663ba35ecd79c67848d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6213741978360616106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_14_02_892537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52e89121cca50e50fee0deb948addbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3355560507504425712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_14_02_892537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30da21375233482d427f635e1f261004.jpg","text":"TemporaryFile(/tmp/multipartBody4097285646967905686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_14_02_892537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9240631bff3ef22f19861e5a14add4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1691615763187001784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_13_02_715583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4339264bb070772d507ad618dadb1fa.jpg","text":"TemporaryFile(/tmp/multipartBody580382217653455559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_13_02_715583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b788a876a381ded6bf6ab5fcd8d36c13.jpg","text":"TemporaryFile(/tmp/multipartBody6427909577381367335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736118937627,"filename":"image_06012025_00_13_02_715583_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911851","file1":"1326911849","file0":"1326911848","file4":"1326911856","file5":"1326911859","file3":"1326911853"},"map_files_photo_id_array":[{"photo_id":"1326911859","filename":"file5"},{"photo_id":"1326911851","filename":"file2"},{"photo_id":"1326911856","filename":"file4"},{"photo_id":"1326911849","filename":"file1"},{"photo_id":"1326911848","filename":"file0"},{"photo_id":"1326911853","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911859":["hashtag1","hashtag2"]},{"1326911853":["hashtag1","hashtag2"]},{"1326911856":["hashtag1","hashtag2"]},{"1326911849":["hashtag1","hashtag2"]},{"1326911851":["hashtag1","hashtag2"]},{"1326911848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911859, 1326911853, 1326911856, 1326911849, 1326911851, 1326911848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.317148208618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:15:51.862048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:16:02.485114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0003.jpg', '/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0000.jpg', '/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0001.jpg', '/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/14/image_06012025_00_14_02_892537_0003.jpg
/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0000.jpg
/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0001.jpg
/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911874","1326911894","1326911888","1326911884"],"photo_ids_order":["1326911874","1326911884","1326911888","1326911894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8456b2dcce1601cc431bd922ce99bd11.jpg","text":"TemporaryFile(/tmp/multipartBody876631034568075414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119032580,"filename":"image_06012025_00_14_02_892537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71def835d98d799c0c7e32f3b6cd0496.jpg","text":"TemporaryFile(/tmp/multipartBody2907441028579571749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119032580,"filename":"image_06012025_00_15_03_037449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05b55b23f29fe64f633769e05facf050.jpg","text":"TemporaryFile(/tmp/multipartBody2090580107724642502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119032580,"filename":"image_06012025_00_15_03_037449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a91d8540301a76937a56078159184bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1973464881270238385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119032580,"filename":"image_06012025_00_15_03_037449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911888","file1":"1326911884","file0":"1326911874","file3":"1326911894"},"map_files_photo_id_array":[{"photo_id":"1326911888","filename":"file2"},{"photo_id":"1326911884","filename":"file1"},{"photo_id":"1326911874","filename":"file0"},{"photo_id":"1326911894","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911874":["hashtag1","hashtag2"]},{"1326911894":["hashtag1","hashtag2"]},{"1326911888":["hashtag1","hashtag2"]},{"1326911884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911874, 1326911894, 1326911888, 1326911884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66810750961304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:16:52.012913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:17:02.713449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0003.jpg', '/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0000.jpg', '/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0001.jpg', '/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/15/image_06012025_00_15_03_037449_0003.jpg
/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0000.jpg
/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0001.jpg
/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911948","1326911942","1326911951","1326911944"],"photo_ids_order":["1326911942","1326911944","1326911948","1326911951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab2128be77cf209ec82d3d230d75e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3462292493971777984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119092860,"filename":"image_06012025_00_16_02_238192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7bb75bc5f62c0497e18c62c66f2da7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7259744303524252628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119092860,"filename":"image_06012025_00_15_03_037449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c08af07cd5a2f15164b9bd16cc0d4e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5027745282778598560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119092860,"filename":"image_06012025_00_16_02_238192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/169bf3ff8d6cad909b2b4dd17629e405.jpg","text":"TemporaryFile(/tmp/multipartBody4013054410599713195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119092860,"filename":"image_06012025_00_16_02_238192_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911948","file1":"1326911944","file0":"1326911942","file3":"1326911951"},"map_files_photo_id_array":[{"photo_id":"1326911948","filename":"file2"},{"photo_id":"1326911944","filename":"file1"},{"photo_id":"1326911942","filename":"file0"},{"photo_id":"1326911951","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911948":["hashtag1","hashtag2"]},{"1326911942":["hashtag1","hashtag2"]},{"1326911951":["hashtag1","hashtag2"]},{"1326911944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911948, 1326911942, 1326911951, 1326911944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43841195106506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:17:52.172805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:18:02.851771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0003.jpg', '/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0000.jpg', '/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0001.jpg', '/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/16/image_06012025_00_16_02_238192_0003.jpg
/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0000.jpg
/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0001.jpg
/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911964","1326911957","1326911959","1326911962"],"photo_ids_order":["1326911957","1326911959","1326911962","1326911964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6efe0cdb38d58cf94723864d1bdc48b2.jpg","text":"TemporaryFile(/tmp/multipartBody6675522155705205473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119153156,"filename":"image_06012025_00_17_02_420517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5607f840102f1e2f8a889b80f6341a46.jpg","text":"TemporaryFile(/tmp/multipartBody8435570961934838434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119153156,"filename":"image_06012025_00_16_02_238192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e07a5cf6ae5334227002d80df14b17e.jpg","text":"TemporaryFile(/tmp/multipartBody7349259412569986920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119153156,"filename":"image_06012025_00_17_02_420517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c3b8cc8582db796700c3a4974291c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1603827146903201154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119153156,"filename":"image_06012025_00_17_02_420517_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911962","file1":"1326911959","file0":"1326911957","file3":"1326911964"},"map_files_photo_id_array":[{"photo_id":"1326911962","filename":"file2"},{"photo_id":"1326911959","filename":"file1"},{"photo_id":"1326911957","filename":"file0"},{"photo_id":"1326911964","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911964":["hashtag1","hashtag2"]},{"1326911957":["hashtag1","hashtag2"]},{"1326911959":["hashtag1","hashtag2"]},{"1326911962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911964, 1326911957, 1326911959, 1326911962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.07764387130737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:18:52.338893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:19:03.267704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0003.jpg', '/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0000.jpg', '/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0001.jpg', '/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/17/image_06012025_00_17_02_420517_0003.jpg
/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0000.jpg
/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0001.jpg
/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326911978","1326911968","1326911973","1326911976"],"photo_ids_order":["1326911968","1326911973","1326911976","1326911978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46aa1da2e0eac773b36f30402f395af2.jpg","text":"TemporaryFile(/tmp/multipartBody5758036218753256452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119213624,"filename":"image_06012025_00_18_02_550787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/482967bd7fab593c6ed024c92d7bcb45.jpg","text":"TemporaryFile(/tmp/multipartBody8087479872484259500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119213624,"filename":"image_06012025_00_17_02_420517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d48124f66989834fb6fd2c03c19ba85.jpg","text":"TemporaryFile(/tmp/multipartBody3856546630248110915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119213624,"filename":"image_06012025_00_18_02_550787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5bc4b24b7228162882c8fe18e61d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody8236103176335220261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119213624,"filename":"image_06012025_00_18_02_550787_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911976","file1":"1326911973","file0":"1326911968","file3":"1326911978"},"map_files_photo_id_array":[{"photo_id":"1326911976","filename":"file2"},{"photo_id":"1326911973","filename":"file1"},{"photo_id":"1326911968","filename":"file0"},{"photo_id":"1326911978","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326911978":["hashtag1","hashtag2"]},{"1326911968":["hashtag1","hashtag2"]},{"1326911973":["hashtag1","hashtag2"]},{"1326911976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326911978, 1326911968, 1326911973, 1326911976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98090887069702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:19:52.543645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:20:03.177720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0003.jpg', '/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0000.jpg', '/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0001.jpg', '/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/18/image_06012025_00_18_02_550787_0003.jpg
/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0000.jpg
/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0001.jpg
/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912048","1326912012","1326912016","1326912051"],"photo_ids_order":["1326912012","1326912016","1326912048","1326912051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31375d5ca1950c59717dedb2dc6e026a.jpg","text":"TemporaryFile(/tmp/multipartBody2421677965608361920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119273436,"filename":"image_06012025_00_19_02_708479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d6cec2f5e15fba953e4c8088c7d8e52.jpg","text":"TemporaryFile(/tmp/multipartBody1848181909383707943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119273436,"filename":"image_06012025_00_18_02_550787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a557af42a6d410840297f6c9ee30c2b1.jpg","text":"TemporaryFile(/tmp/multipartBody3084671815033828884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119273436,"filename":"image_06012025_00_19_02_708479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06174174bd8422ab3cf92b088f5fd709.jpg","text":"TemporaryFile(/tmp/multipartBody8800525143790808864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119273436,"filename":"image_06012025_00_19_02_708479_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912048","file1":"1326912016","file0":"1326912012","file3":"1326912051"},"map_files_photo_id_array":[{"photo_id":"1326912048","filename":"file2"},{"photo_id":"1326912016","filename":"file1"},{"photo_id":"1326912012","filename":"file0"},{"photo_id":"1326912051","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912048":["hashtag1","hashtag2"]},{"1326912012":["hashtag1","hashtag2"]},{"1326912016":["hashtag1","hashtag2"]},{"1326912051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912048, 1326912012, 1326912016, 1326912051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.945436000823975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:20:52.691078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:21:02.493993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0003.jpg', '/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0000.jpg', '/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0001.jpg', '/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/19/image_06012025_00_19_02_708479_0003.jpg
/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0000.jpg
/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0001.jpg
/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912092","1326912167","1326912152","1326912169"],"photo_ids_order":["1326912092","1326912152","1326912167","1326912169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a219e360255543c2f97726dcffd5b70e.jpg","text":"TemporaryFile(/tmp/multipartBody8808112075224591586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119332770,"filename":"image_06012025_00_19_02_708479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e3ee1dc58ff6bd5f33c6bdceaaa81be.jpg","text":"TemporaryFile(/tmp/multipartBody2654668018996369123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119332770,"filename":"image_06012025_00_20_02_890814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44a80f8f748d03b22416f1600ab53470.jpg","text":"TemporaryFile(/tmp/multipartBody3321162573670624532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119332770,"filename":"image_06012025_00_20_02_890814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62108e4479583ca622a8127fea031c87.jpg","text":"TemporaryFile(/tmp/multipartBody3640745263170430104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119332770,"filename":"image_06012025_00_20_02_890814_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912167","file1":"1326912152","file0":"1326912092","file3":"1326912169"},"map_files_photo_id_array":[{"photo_id":"1326912167","filename":"file2"},{"photo_id":"1326912152","filename":"file1"},{"photo_id":"1326912092","filename":"file0"},{"photo_id":"1326912169","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912092":["hashtag1","hashtag2"]},{"1326912167":["hashtag1","hashtag2"]},{"1326912152":["hashtag1","hashtag2"]},{"1326912169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912092, 1326912167, 1326912152, 1326912169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73315620422363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:21:51.884029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:22:02.352889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0003.jpg', '/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0000.jpg', '/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0001.jpg', '/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/20/image_06012025_00_20_02_890814_0003.jpg
/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0000.jpg
/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0001.jpg
/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912207","1326912198","1326912202","1326912205"],"photo_ids_order":["1326912198","1326912202","1326912205","1326912207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9282b5f5388c7ed54dc95e0e8dcd99a1.jpg","text":"TemporaryFile(/tmp/multipartBody2808298328838679436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119392665,"filename":"image_06012025_00_21_03_083558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fca214df4a8323c2ef69c6d4714f4343.jpg","text":"TemporaryFile(/tmp/multipartBody2064455965533588914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119392665,"filename":"image_06012025_00_20_02_890814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74b3e2a0524de329e59b428087d3eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody8175226914494315144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119392665,"filename":"image_06012025_00_21_03_083558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e63cdeb331739bb42492d56e4775651.jpg","text":"TemporaryFile(/tmp/multipartBody8317299482198114026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119392665,"filename":"image_06012025_00_21_03_083558_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912205","file1":"1326912202","file0":"1326912198","file3":"1326912207"},"map_files_photo_id_array":[{"photo_id":"1326912205","filename":"file2"},{"photo_id":"1326912202","filename":"file1"},{"photo_id":"1326912198","filename":"file0"},{"photo_id":"1326912207","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912207":["hashtag1","hashtag2"]},{"1326912198":["hashtag1","hashtag2"]},{"1326912202":["hashtag1","hashtag2"]},{"1326912205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912207, 1326912198, 1326912202, 1326912205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4041383266449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:22:52.087785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:23:02.704296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0003.jpg', '/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0000.jpg', '/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/21/image_06012025_00_21_03_083558_0003.jpg
/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0000.jpg
/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912257","1326912250","1326912253"],"photo_ids_order":["1326912250","1326912253","1326912257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07548868715aef1aeea1aa90707b07c0.jpg","text":"TemporaryFile(/tmp/multipartBody4711908584815154263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119450595,"filename":"image_06012025_00_22_02_254017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/309c8dd71ea68604c6fcc04c79c746d4.jpg","text":"TemporaryFile(/tmp/multipartBody2224206125258919515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119450595,"filename":"image_06012025_00_21_03_083558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0a92e65143a3d98298478eaa07e8810.jpg","text":"TemporaryFile(/tmp/multipartBody595184749900012365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119450595,"filename":"image_06012025_00_22_02_254017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912257","file1":"1326912253","file0":"1326912250"},"map_files_photo_id_array":[{"photo_id":"1326912257","filename":"file2"},{"photo_id":"1326912253","filename":"file1"},{"photo_id":"1326912250","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912257":["hashtag1","hashtag2"]},{"1326912250":["hashtag1","hashtag2"]},{"1326912253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912257, 1326912250, 1326912253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.92861032485962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:23:52.281404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:24:02.977939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0003.jpg', '/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0000.jpg', '/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0001.jpg', '/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/22/image_06012025_00_22_02_254017_0003.jpg
/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0000.jpg
/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0001.jpg
/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912438","1326912519","1326912440","1326912505"],"photo_ids_order":["1326912438","1326912440","1326912505","1326912519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adfbfd4a5f315bef34591874feb47c89.jpg","text":"TemporaryFile(/tmp/multipartBody5815659175874564653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119513164,"filename":"image_06012025_00_22_02_254017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be9d97d6e388b385d775287ada3dd1f4.jpg","text":"TemporaryFile(/tmp/multipartBody3520178454199990758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119513164,"filename":"image_06012025_00_23_02_366767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78d7aa7908b2fbd7e3f53b893abe185a.jpg","text":"TemporaryFile(/tmp/multipartBody9048275151151249744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119513164,"filename":"image_06012025_00_23_02_366767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39fca4aa2b170bb69bcbf447c275a1da.jpg","text":"TemporaryFile(/tmp/multipartBody3222264897214231180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119513164,"filename":"image_06012025_00_23_02_366767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912505","file1":"1326912440","file0":"1326912438","file3":"1326912519"},"map_files_photo_id_array":[{"photo_id":"1326912505","filename":"file2"},{"photo_id":"1326912440","filename":"file1"},{"photo_id":"1326912438","filename":"file0"},{"photo_id":"1326912519","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912438":["hashtag1","hashtag2"]},{"1326912519":["hashtag1","hashtag2"]},{"1326912440":["hashtag1","hashtag2"]},{"1326912505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912438, 1326912519, 1326912440, 1326912505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40257549285889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:24:52.480852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:25:03.280418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0003.jpg', '/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0000.jpg', '/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0001.jpg', '/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/23/image_06012025_00_23_02_366767_0003.jpg
/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0000.jpg
/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0001.jpg
/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912535","1326912529","1326912523","1326912532"],"photo_ids_order":["1326912523","1326912529","1326912532","1326912535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3a8d0aaad484357a42f28e7be0ec17c.jpg","text":"TemporaryFile(/tmp/multipartBody3646124158579009195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119573619,"filename":"image_06012025_00_24_02_684825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/243faa3ea07c0cb2dc2ac9e3dbe859b3.jpg","text":"TemporaryFile(/tmp/multipartBody1481189279195969845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119573619,"filename":"image_06012025_00_24_02_684825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9376e8e4545657746c17e4697929c22.jpg","text":"TemporaryFile(/tmp/multipartBody6244273915775383950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119573619,"filename":"image_06012025_00_23_02_366767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a4d31448e11bd70f7ca8de7d7db8c37.jpg","text":"TemporaryFile(/tmp/multipartBody2667306661263780212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119573619,"filename":"image_06012025_00_24_02_684825_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912532","file1":"1326912529","file0":"1326912523","file3":"1326912535"},"map_files_photo_id_array":[{"photo_id":"1326912532","filename":"file2"},{"photo_id":"1326912529","filename":"file1"},{"photo_id":"1326912523","filename":"file0"},{"photo_id":"1326912535","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912535":["hashtag1","hashtag2"]},{"1326912529":["hashtag1","hashtag2"]},{"1326912523":["hashtag1","hashtag2"]},{"1326912532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912535, 1326912529, 1326912523, 1326912532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39649486541748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:25:52.669464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:26:02.316770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0003.jpg', '/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0000.jpg', '/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0001.jpg', '/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/24/image_06012025_00_24_02_684825_0003.jpg
/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0000.jpg
/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0001.jpg
/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912572","1326912574","1326912576","1326912570"],"photo_ids_order":["1326912570","1326912572","1326912574","1326912576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b0f84e81287ff4b719b161e7b250901.jpg","text":"TemporaryFile(/tmp/multipartBody2627798212619644438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119632511,"filename":"image_06012025_00_25_02_828848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3973ab6c3cc756dfa2e71f6eb836f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody1445705529607998595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119632511,"filename":"image_06012025_00_25_02_828848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e514edbd4cb2494baab8ec2f77bee9b.jpg","text":"TemporaryFile(/tmp/multipartBody1175695343359462453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119632511,"filename":"image_06012025_00_25_02_828848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e5e6505f351075f5adabc999531cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody6254868301090215902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119632511,"filename":"image_06012025_00_24_02_684825_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912574","file1":"1326912572","file0":"1326912570","file3":"1326912576"},"map_files_photo_id_array":[{"photo_id":"1326912574","filename":"file2"},{"photo_id":"1326912572","filename":"file1"},{"photo_id":"1326912570","filename":"file0"},{"photo_id":"1326912576","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912572":["hashtag1","hashtag2"]},{"1326912574":["hashtag1","hashtag2"]},{"1326912576":["hashtag1","hashtag2"]},{"1326912570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912572, 1326912574, 1326912576, 1326912570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06375026702881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:26:51.867488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:27:02.602045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0003.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0000.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0001.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0003.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0000.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0001.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_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.921306133270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:27:22.012525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0003.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0000.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0001.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0002.jpg', '/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0003.jpg', '/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/25/image_06012025_00_25_02_828848_0003.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0000.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0001.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0002.jpg
/home/pi/Desktop/images/06012025/00/26/image_06012025_00_26_03_020372_0003.jpg
/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_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":["1326912590","1326912593","1326912587","1326912589","1326912588","1326912591"],"photo_ids_order":["1326912587","1326912588","1326912589","1326912590","1326912591","1326912593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40b16f09155555450810ad3a4b90fb3e.jpg","text":"TemporaryFile(/tmp/multipartBody9065088319945900957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_26_03_020372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3989b84a2fd8e26e10ae12590bab7938.jpg","text":"TemporaryFile(/tmp/multipartBody2202423475750918008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_27_02_220343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cca056b8cc6c855aa42ac6688291a598.jpg","text":"TemporaryFile(/tmp/multipartBody7050550214125098625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_25_02_828848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a14a71db45ddc9eeb765efd7eccbcfc8.jpg","text":"TemporaryFile(/tmp/multipartBody2919263736093884068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_26_03_020372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73547382a5f5c16d7da51ad7e82cdf6c.jpg","text":"TemporaryFile(/tmp/multipartBody7383706306014848152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_26_03_020372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8abb0c22f236c06e5069b90b72988412.jpg","text":"TemporaryFile(/tmp/multipartBody5871872662973168030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119717109,"filename":"image_06012025_00_26_03_020372_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912589","file1":"1326912588","file0":"1326912587","file4":"1326912591","file5":"1326912593","file3":"1326912590"},"map_files_photo_id_array":[{"photo_id":"1326912593","filename":"file5"},{"photo_id":"1326912589","filename":"file2"},{"photo_id":"1326912591","filename":"file4"},{"photo_id":"1326912588","filename":"file1"},{"photo_id":"1326912587","filename":"file0"},{"photo_id":"1326912590","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912590":["hashtag1","hashtag2"]},{"1326912593":["hashtag1","hashtag2"]},{"1326912587":["hashtag1","hashtag2"]},{"1326912589":["hashtag1","hashtag2"]},{"1326912588":["hashtag1","hashtag2"]},{"1326912591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912590, 1326912593, 1326912587, 1326912589, 1326912588, 1326912591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.16068816184998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:28:52.171232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:29:03.040255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0001.jpg', '/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0002.jpg', '/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0003.jpg', '/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0000.jpg', '/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0001.jpg', '/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0001.jpg
/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0002.jpg
/home/pi/Desktop/images/06012025/00/27/image_06012025_00_27_02_220343_0003.jpg
/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0000.jpg
/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0001.jpg
/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_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":["1326912659","1326912650","1326912644","1326912661","1326912655","1326912658"],"photo_ids_order":["1326912644","1326912650","1326912655","1326912658","1326912659","1326912661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e8614a1dd8aece2ac9122d015d1a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody5487225968760563327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_28_02_371872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8673f71b2e11448e270a0c3526735ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5723255035588904691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_27_02_220343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7f6296a89ad02afba89a8c74ed62bce.jpg","text":"TemporaryFile(/tmp/multipartBody3466508311809694607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_27_02_220343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16106bb6e2e58e48fe0a575a9a252032.jpg","text":"TemporaryFile(/tmp/multipartBody8561555205116027554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_28_02_371872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/162afae32b7c213e7f2ecc14469c839d.jpg","text":"TemporaryFile(/tmp/multipartBody5499542375783674568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_27_02_220343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63e35e1440afcdee3823e50f1f982c61.jpg","text":"TemporaryFile(/tmp/multipartBody6120234307791567271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119818162,"filename":"image_06012025_00_28_02_371872_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912655","file1":"1326912650","file0":"1326912644","file4":"1326912659","file5":"1326912661","file3":"1326912658"},"map_files_photo_id_array":[{"photo_id":"1326912661","filename":"file5"},{"photo_id":"1326912655","filename":"file2"},{"photo_id":"1326912659","filename":"file4"},{"photo_id":"1326912650","filename":"file1"},{"photo_id":"1326912644","filename":"file0"},{"photo_id":"1326912658","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912659":["hashtag1","hashtag2"]},{"1326912650":["hashtag1","hashtag2"]},{"1326912644":["hashtag1","hashtag2"]},{"1326912661":["hashtag1","hashtag2"]},{"1326912655":["hashtag1","hashtag2"]},{"1326912658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912659, 1326912650, 1326912644, 1326912661, 1326912655, 1326912658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.59219312667847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:30:02.990368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0003.jpg', '/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0000.jpg', '/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0001.jpg', '/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/28/image_06012025_00_28_02_371872_0003.jpg
/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0000.jpg
/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0001.jpg
/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912729","1326912689","1326912685","1326912736"],"photo_ids_order":["1326912685","1326912689","1326912729","1326912736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff42faf2879e04f0f62fde903717685b.jpg","text":"TemporaryFile(/tmp/multipartBody242758100983449112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119873261,"filename":"image_06012025_00_29_02_577598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbec094e4ae860b8f642b5028c0500ee.jpg","text":"TemporaryFile(/tmp/multipartBody3330985050754320085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119873261,"filename":"image_06012025_00_29_02_577598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97177d26bd4a35b5be9450261cc1a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1608476900435575364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119873261,"filename":"image_06012025_00_28_02_371872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4898cb765afd9026fdd33b916ccbd89.jpg","text":"TemporaryFile(/tmp/multipartBody3327933434654005860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119873261,"filename":"image_06012025_00_29_02_577598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912729","file1":"1326912689","file0":"1326912685","file3":"1326912736"},"map_files_photo_id_array":[{"photo_id":"1326912729","filename":"file2"},{"photo_id":"1326912689","filename":"file1"},{"photo_id":"1326912685","filename":"file0"},{"photo_id":"1326912736","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912729":["hashtag1","hashtag2"]},{"1326912689":["hashtag1","hashtag2"]},{"1326912685":["hashtag1","hashtag2"]},{"1326912736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912729, 1326912689, 1326912685, 1326912736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46100950241089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:30:52.507894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:31:03.481522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0003.jpg', '/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0000.jpg', '/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0001.jpg', '/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/29/image_06012025_00_29_02_577598_0003.jpg
/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0000.jpg
/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0001.jpg
/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326912884","1326912749","1326912847","1326912882"],"photo_ids_order":["1326912749","1326912847","1326912882","1326912884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b5ee49085001bfac0dbf36701e781c3.jpg","text":"TemporaryFile(/tmp/multipartBody1977677405996943825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119933598,"filename":"image_06012025_00_30_02_718490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4266e3b10c4016bbd44f04a0275fb98e.jpg","text":"TemporaryFile(/tmp/multipartBody950021446828199974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119933598,"filename":"image_06012025_00_29_02_577598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01ae15775f4431520846e09028cc0e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3793507984932583332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119933598,"filename":"image_06012025_00_30_02_718490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/739a0eaff6c3df6dadb4ba312a721314.jpg","text":"TemporaryFile(/tmp/multipartBody5171790128754154309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119933598,"filename":"image_06012025_00_30_02_718490_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326912882","file1":"1326912847","file0":"1326912749","file3":"1326912884"},"map_files_photo_id_array":[{"photo_id":"1326912882","filename":"file2"},{"photo_id":"1326912847","filename":"file1"},{"photo_id":"1326912749","filename":"file0"},{"photo_id":"1326912884","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326912884":["hashtag1","hashtag2"]},{"1326912749":["hashtag1","hashtag2"]},{"1326912847":["hashtag1","hashtag2"]},{"1326912882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326912884, 1326912749, 1326912847, 1326912882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.757893800735474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:31:52.700782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:32:02.329380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0003.jpg', '/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0000.jpg', '/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0001.jpg', '/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/30/image_06012025_00_30_02_718490_0003.jpg
/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0000.jpg
/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0001.jpg
/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913010","1326913015","1326913017","1326913014"],"photo_ids_order":["1326913010","1326913014","1326913015","1326913017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f22be7af9431bfb897e7d31ff75315e.jpg","text":"TemporaryFile(/tmp/multipartBody5304218171301673219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119992342,"filename":"image_06012025_00_30_02_718490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c6eb2eb2d82c735cf5af967bd05864b.jpg","text":"TemporaryFile(/tmp/multipartBody4820963785888029483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119992342,"filename":"image_06012025_00_31_02_953423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/177ee1f31ac756a18dd20a561244d471.jpg","text":"TemporaryFile(/tmp/multipartBody2763569862292879629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119992342,"filename":"image_06012025_00_31_02_953423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fb4250832180462083625b807fbdd15.jpg","text":"TemporaryFile(/tmp/multipartBody2086208861767951098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736119992342,"filename":"image_06012025_00_31_02_953423_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913015","file1":"1326913014","file0":"1326913010","file3":"1326913017"},"map_files_photo_id_array":[{"photo_id":"1326913015","filename":"file2"},{"photo_id":"1326913014","filename":"file1"},{"photo_id":"1326913010","filename":"file0"},{"photo_id":"1326913017","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913010":["hashtag1","hashtag2"]},{"1326913015":["hashtag1","hashtag2"]},{"1326913017":["hashtag1","hashtag2"]},{"1326913014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913010, 1326913015, 1326913017, 1326913014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93121671676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:32:51.868481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:33:02.796263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0003.jpg', '/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0000.jpg', '/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0001.jpg', '/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/31/image_06012025_00_31_02_953423_0003.jpg
/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0000.jpg
/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0001.jpg
/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913025","1326913027","1326913021","1326913023"],"photo_ids_order":["1326913021","1326913023","1326913025","1326913027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a58455c3dc9107fb13702862d77e2d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4003909166219903081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120052931,"filename":"image_06012025_00_32_03_050973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0062c6c1dba2d19980bd3d26939addc0.jpg","text":"TemporaryFile(/tmp/multipartBody7255103840083663143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120052931,"filename":"image_06012025_00_32_03_050973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/948778fc2f81dbf7a72960437b581913.jpg","text":"TemporaryFile(/tmp/multipartBody329775297134223145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120052931,"filename":"image_06012025_00_31_02_953423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbb16d8eec7f7b36a6d4769c1cbe56a6.jpg","text":"TemporaryFile(/tmp/multipartBody1680094192355712905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120052931,"filename":"image_06012025_00_32_03_050973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913025","file1":"1326913023","file0":"1326913021","file3":"1326913027"},"map_files_photo_id_array":[{"photo_id":"1326913025","filename":"file2"},{"photo_id":"1326913023","filename":"file1"},{"photo_id":"1326913021","filename":"file0"},{"photo_id":"1326913027","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913025":["hashtag1","hashtag2"]},{"1326913027":["hashtag1","hashtag2"]},{"1326913021":["hashtag1","hashtag2"]},{"1326913023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913025, 1326913027, 1326913021, 1326913023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41603350639343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:33:52.039231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:34:02.615447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0003.jpg', '/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0000.jpg', '/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0001.jpg', '/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/32/image_06012025_00_32_03_050973_0003.jpg
/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0000.jpg
/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0001.jpg
/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913046","1326913040","1326913042","1326913044"],"photo_ids_order":["1326913040","1326913042","1326913044","1326913046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5e864530231675c8498c438fe2da81c.jpg","text":"TemporaryFile(/tmp/multipartBody2270860639634507791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120112909,"filename":"image_06012025_00_33_02_226227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7acdf6560a3dd6751f1164e238aa23a.jpg","text":"TemporaryFile(/tmp/multipartBody8439122857139157452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120112909,"filename":"image_06012025_00_32_03_050973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0930e6d7b533abb590c91a9dd5063ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4058904368492223833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120112909,"filename":"image_06012025_00_33_02_226227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/392d0e51698e8e08fde6fa19be586bee.jpg","text":"TemporaryFile(/tmp/multipartBody4929734659291701755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120112909,"filename":"image_06012025_00_33_02_226227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913044","file1":"1326913042","file0":"1326913040","file3":"1326913046"},"map_files_photo_id_array":[{"photo_id":"1326913044","filename":"file2"},{"photo_id":"1326913042","filename":"file1"},{"photo_id":"1326913040","filename":"file0"},{"photo_id":"1326913046","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913046":["hashtag1","hashtag2"]},{"1326913040":["hashtag1","hashtag2"]},{"1326913042":["hashtag1","hashtag2"]},{"1326913044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913046, 1326913040, 1326913042, 1326913044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60201954841614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:34:52.214838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:35:03.017662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0003.jpg', '/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0000.jpg', '/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0001.jpg', '/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/33/image_06012025_00_33_02_226227_0003.jpg
/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0000.jpg
/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0001.jpg
/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913124","1326913126","1326913128","1326913122"],"photo_ids_order":["1326913122","1326913124","1326913126","1326913128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c02ce5ad4421aa6aebae12935884a626.jpg","text":"TemporaryFile(/tmp/multipartBody4673102724719097862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120173443,"filename":"image_06012025_00_34_02_395961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6d3b3b7ef0715b35243d20db7761eee.jpg","text":"TemporaryFile(/tmp/multipartBody7330685773886347150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120173443,"filename":"image_06012025_00_34_02_395961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2335364ba875c3f42144322e0b36eb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6252824510766281924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120173443,"filename":"image_06012025_00_34_02_395961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da30fe9b80a6ca02db8f078ba77f13fa.jpg","text":"TemporaryFile(/tmp/multipartBody2794602297866605682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120173443,"filename":"image_06012025_00_33_02_226227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913126","file1":"1326913124","file0":"1326913122","file3":"1326913128"},"map_files_photo_id_array":[{"photo_id":"1326913126","filename":"file2"},{"photo_id":"1326913124","filename":"file1"},{"photo_id":"1326913122","filename":"file0"},{"photo_id":"1326913128","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913124":["hashtag1","hashtag2"]},{"1326913126":["hashtag1","hashtag2"]},{"1326913128":["hashtag1","hashtag2"]},{"1326913122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913124, 1326913126, 1326913128, 1326913122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55473566055298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:35:52.403282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:36:03.021960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0003.jpg', '/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0000.jpg', '/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0001.jpg', '/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/34/image_06012025_00_34_02_395961_0003.jpg
/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0000.jpg
/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0001.jpg
/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913238","1326913240","1326913242","1326913236"],"photo_ids_order":["1326913236","1326913238","1326913240","1326913242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ccb54358d58caa89803df3f225d20be.jpg","text":"TemporaryFile(/tmp/multipartBody3971978088364794944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120233184,"filename":"image_06012025_00_35_02_585611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73114909ccf269fa8874b83878e38d86.jpg","text":"TemporaryFile(/tmp/multipartBody6113172813834246218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120233184,"filename":"image_06012025_00_35_02_585611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24ef24f9bdaff2936f8b9c75d12bb9eb.jpg","text":"TemporaryFile(/tmp/multipartBody165570870167894793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120233184,"filename":"image_06012025_00_35_02_585611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/770ce596d2250534b5779b2f84f23c04.jpg","text":"TemporaryFile(/tmp/multipartBody5940407646950193006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120233184,"filename":"image_06012025_00_34_02_395961_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913240","file1":"1326913238","file0":"1326913236","file3":"1326913242"},"map_files_photo_id_array":[{"photo_id":"1326913240","filename":"file2"},{"photo_id":"1326913238","filename":"file1"},{"photo_id":"1326913236","filename":"file0"},{"photo_id":"1326913242","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913238":["hashtag1","hashtag2"]},{"1326913240":["hashtag1","hashtag2"]},{"1326913242":["hashtag1","hashtag2"]},{"1326913236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913238, 1326913240, 1326913242, 1326913236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.326456785202026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:36:52.560984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:37:03.345366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0003.jpg', '/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0000.jpg', '/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0001.jpg', '/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/35/image_06012025_00_35_02_585611_0003.jpg
/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0000.jpg
/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0001.jpg
/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913283","1326913285","1326913281","1326913287"],"photo_ids_order":["1326913281","1326913283","1326913285","1326913287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e871c19c867ad1e53dd6fa8a977594c9.jpg","text":"TemporaryFile(/tmp/multipartBody4892604549827659455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120293642,"filename":"image_06012025_00_36_02_691040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed4a1720eb3fac61b06cbc2b992a603a.jpg","text":"TemporaryFile(/tmp/multipartBody4792801423084544255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120293642,"filename":"image_06012025_00_36_02_691040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5d4f5329b38960a80c2988f0ed11820.jpg","text":"TemporaryFile(/tmp/multipartBody2327126856812906165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120293642,"filename":"image_06012025_00_35_02_585611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38226fb4a4a76a2dd787d8178eb5e2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6545002700150902699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120293642,"filename":"image_06012025_00_36_02_691040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913285","file1":"1326913283","file0":"1326913281","file3":"1326913287"},"map_files_photo_id_array":[{"photo_id":"1326913285","filename":"file2"},{"photo_id":"1326913283","filename":"file1"},{"photo_id":"1326913281","filename":"file0"},{"photo_id":"1326913287","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913283":["hashtag1","hashtag2"]},{"1326913285":["hashtag1","hashtag2"]},{"1326913281":["hashtag1","hashtag2"]},{"1326913287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913283, 1326913285, 1326913281, 1326913287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52621603012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:37:52.745477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:38:02.239039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0003.jpg', '/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0000.jpg', '/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0001.jpg', '/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/36/image_06012025_00_36_02_691040_0003.jpg
/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0000.jpg
/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0001.jpg
/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913297","1326913327","1326913299","1326913338"],"photo_ids_order":["1326913297","1326913299","1326913327","1326913338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16659e992113fb9d32959fd14853dbad.jpg","text":"TemporaryFile(/tmp/multipartBody1565294170208816582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120352451,"filename":"image_06012025_00_36_02_691040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/418bfcee9e02d466612d23a093b6336c.jpg","text":"TemporaryFile(/tmp/multipartBody3599399336701374224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120352451,"filename":"image_06012025_00_37_02_925246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89f6a567ce6cdd73ca9d64f0a1d57ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5112607963903170083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120352451,"filename":"image_06012025_00_37_02_925246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b5fb6a7e6ecbe2b3980853735e730cf.jpg","text":"TemporaryFile(/tmp/multipartBody3473500298971940807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120352451,"filename":"image_06012025_00_37_02_925246_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913327","file1":"1326913299","file0":"1326913297","file3":"1326913338"},"map_files_photo_id_array":[{"photo_id":"1326913327","filename":"file2"},{"photo_id":"1326913299","filename":"file1"},{"photo_id":"1326913297","filename":"file0"},{"photo_id":"1326913338","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913297":["hashtag1","hashtag2"]},{"1326913327":["hashtag1","hashtag2"]},{"1326913299":["hashtag1","hashtag2"]},{"1326913338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913297, 1326913327, 1326913299, 1326913338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6492760181427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:38:51.916077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:39:02.724765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0003.jpg', '/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0000.jpg', '/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0001.jpg', '/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/37/image_06012025_00_37_02_925246_0003.jpg
/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0000.jpg
/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0001.jpg
/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913393","1326913342","1326913345","1326913344"],"photo_ids_order":["1326913342","1326913344","1326913345","1326913393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d58f3d65659944c9efce965c51a216eb.jpg","text":"TemporaryFile(/tmp/multipartBody1808196682406510664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120413077,"filename":"image_06012025_00_38_03_156008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59b3752fce096c67e466cd5b6c3daf61.jpg","text":"TemporaryFile(/tmp/multipartBody4094286259320484767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120413077,"filename":"image_06012025_00_37_02_925246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71da33ad0589b4bc48ba54ef47ef195f.jpg","text":"TemporaryFile(/tmp/multipartBody6086455621508411340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120413077,"filename":"image_06012025_00_38_03_156008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b1de34c051ed254c3a9899bf175bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4429224053481319721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120413077,"filename":"image_06012025_00_38_03_156008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913345","file1":"1326913344","file0":"1326913342","file3":"1326913393"},"map_files_photo_id_array":[{"photo_id":"1326913345","filename":"file2"},{"photo_id":"1326913344","filename":"file1"},{"photo_id":"1326913342","filename":"file0"},{"photo_id":"1326913393","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913393":["hashtag1","hashtag2"]},{"1326913342":["hashtag1","hashtag2"]},{"1326913345":["hashtag1","hashtag2"]},{"1326913344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913393, 1326913342, 1326913345, 1326913344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.679370403289795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:39:52.138994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:40:02.800513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0003.jpg', '/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0000.jpg', '/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0001.jpg', '/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/38/image_06012025_00_38_03_156008_0003.jpg
/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0000.jpg
/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0001.jpg
/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913517","1326913477","1326913402","1326913515"],"photo_ids_order":["1326913402","1326913477","1326913515","1326913517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f39bf782fca0eea920595251066a36e1.jpg","text":"TemporaryFile(/tmp/multipartBody4172547704941287641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120473104,"filename":"image_06012025_00_39_02_285233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bfe6a3f1ffb9699335a8203e9bc4fb11.jpg","text":"TemporaryFile(/tmp/multipartBody8247563895206288317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120473104,"filename":"image_06012025_00_39_02_285233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b78e508bb68b47d9a1e6ec0d40ddddf.jpg","text":"TemporaryFile(/tmp/multipartBody6496032670042199958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120473104,"filename":"image_06012025_00_38_03_156008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6a9af715d1494536588e12781c77f72.jpg","text":"TemporaryFile(/tmp/multipartBody3901749265856361585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120473104,"filename":"image_06012025_00_39_02_285233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913515","file1":"1326913477","file0":"1326913402","file3":"1326913517"},"map_files_photo_id_array":[{"photo_id":"1326913515","filename":"file2"},{"photo_id":"1326913477","filename":"file1"},{"photo_id":"1326913402","filename":"file0"},{"photo_id":"1326913517","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913517":["hashtag1","hashtag2"]},{"1326913477":["hashtag1","hashtag2"]},{"1326913402":["hashtag1","hashtag2"]},{"1326913515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913517, 1326913477, 1326913402, 1326913515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.025551319122314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:40:52.322977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:41:03.087403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0003.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0000.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0001.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0003.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0000.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0001.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_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.084177494049072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:41:22.437085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0003.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0000.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0001.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0002.jpg', '/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0003.jpg', '/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/39/image_06012025_00_39_02_285233_0003.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0000.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0001.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0002.jpg
/home/pi/Desktop/images/06012025/00/40/image_06012025_00_40_02_471896_0003.jpg
/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_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":["1326913562","1326913564","1326913567","1326913569","1326913566","1326913565"],"photo_ids_order":["1326913562","1326913564","1326913565","1326913566","1326913567","1326913569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af1e6a8ad14e0ae62b9779eff2cca7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5987940129947180909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_39_02_285233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e56c5955326937d9ff445cb9a679f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2439659962034434577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_40_02_471896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de63885560c316792f88ed96a59420d0.jpg","text":"TemporaryFile(/tmp/multipartBody6343898588921584897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_40_02_471896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0aa2ffa0465758c71af6264317cfe341.jpg","text":"TemporaryFile(/tmp/multipartBody9110638752349773484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_41_02_729938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aefaaaa11ba8839c2d115d22d82ccf20.jpg","text":"TemporaryFile(/tmp/multipartBody660004923651880146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_40_02_471896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e9674fe61e1c7a6c859ee294316340b.jpg","text":"TemporaryFile(/tmp/multipartBody4306511052767700560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120557604,"filename":"image_06012025_00_40_02_471896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913565","file1":"1326913564","file0":"1326913562","file4":"1326913567","file5":"1326913569","file3":"1326913566"},"map_files_photo_id_array":[{"photo_id":"1326913569","filename":"file5"},{"photo_id":"1326913565","filename":"file2"},{"photo_id":"1326913567","filename":"file4"},{"photo_id":"1326913564","filename":"file1"},{"photo_id":"1326913562","filename":"file0"},{"photo_id":"1326913566","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913562":["hashtag1","hashtag2"]},{"1326913564":["hashtag1","hashtag2"]},{"1326913567":["hashtag1","hashtag2"]},{"1326913569":["hashtag1","hashtag2"]},{"1326913566":["hashtag1","hashtag2"]},{"1326913565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913562, 1326913564, 1326913567, 1326913569, 1326913566, 1326913565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74482202529907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:42:22.642877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0001.jpg', '/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0002.jpg', '/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0003.jpg', '/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0000.jpg', '/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0001.jpg', '/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0001.jpg
/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0002.jpg
/home/pi/Desktop/images/06012025/00/41/image_06012025_00_41_02_729938_0003.jpg
/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0000.jpg
/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0001.jpg
/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_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":["1326913577","1326913576","1326913585","1326913579","1326913575","1326913578"],"photo_ids_order":["1326913575","1326913576","1326913577","1326913578","1326913579","1326913585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6404375a266e66ec97b1de7898fe101.jpg","text":"TemporaryFile(/tmp/multipartBody6944853778343691346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_41_02_729938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ebc9d20ab4c55dcc9bead5890b71fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3111187831877086202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_41_02_729938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ff9067739e67f26600fad97ed999a01.jpg","text":"TemporaryFile(/tmp/multipartBody3535704666777012066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_42_02_855197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df3b2004384f868cdd4011b81b743ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4163007476990772917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_42_02_855197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0056fde26230748e87fbb6ba9120cccf.jpg","text":"TemporaryFile(/tmp/multipartBody6492967090241727988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_41_02_729938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3734988eafd4521aa831441797d7740.jpg","text":"TemporaryFile(/tmp/multipartBody1059865095314645129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120617851,"filename":"image_06012025_00_42_02_855197_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913577","file1":"1326913576","file0":"1326913575","file4":"1326913579","file5":"1326913585","file3":"1326913578"},"map_files_photo_id_array":[{"photo_id":"1326913585","filename":"file5"},{"photo_id":"1326913577","filename":"file2"},{"photo_id":"1326913579","filename":"file4"},{"photo_id":"1326913576","filename":"file1"},{"photo_id":"1326913575","filename":"file0"},{"photo_id":"1326913578","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913577":["hashtag1","hashtag2"]},{"1326913576":["hashtag1","hashtag2"]},{"1326913585":["hashtag1","hashtag2"]},{"1326913579":["hashtag1","hashtag2"]},{"1326913575":["hashtag1","hashtag2"]},{"1326913578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913577, 1326913576, 1326913585, 1326913579, 1326913575, 1326913578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.92945218086243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:43:21.886176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0003.jpg', '/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0000.jpg', '/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0001.jpg', '/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/42/image_06012025_00_42_02_855197_0003.jpg
/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0000.jpg
/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0001.jpg
/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913622","1326913625","1326913624","1326913626"],"photo_ids_order":["1326913622","1326913624","1326913625","1326913626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1356b7d26d9988fe7797acc116ce4696.jpg","text":"TemporaryFile(/tmp/multipartBody3466948535134963810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120672174,"filename":"image_06012025_00_42_02_855197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb1289d1510cbfe357e9d0f7bcbc176a.jpg","text":"TemporaryFile(/tmp/multipartBody3271169916797240007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120672174,"filename":"image_06012025_00_43_02_944901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43e1956b23093d9d99881a3a6b1017ea.jpg","text":"TemporaryFile(/tmp/multipartBody5365079856201368180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120672174,"filename":"image_06012025_00_43_02_944901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a63c4ca9cc44716ca9c488ee48e69f5.jpg","text":"TemporaryFile(/tmp/multipartBody1074178951191277580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120672174,"filename":"image_06012025_00_43_02_944901_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913625","file1":"1326913624","file0":"1326913622","file3":"1326913626"},"map_files_photo_id_array":[{"photo_id":"1326913625","filename":"file2"},{"photo_id":"1326913624","filename":"file1"},{"photo_id":"1326913622","filename":"file0"},{"photo_id":"1326913626","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913622":["hashtag1","hashtag2"]},{"1326913625":["hashtag1","hashtag2"]},{"1326913624":["hashtag1","hashtag2"]},{"1326913626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913622, 1326913625, 1326913624, 1326913626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.316768169403076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:44:02.496123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:44:22.076682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0003.jpg', '/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0000.jpg', '/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0001.jpg', '/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/43/image_06012025_00_43_02_944901_0003.jpg
/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0000.jpg
/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0001.jpg
/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913640","1326913643","1326913642","1326913644"],"photo_ids_order":["1326913640","1326913642","1326913643","1326913644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1c1f31d02fa114a77f7be474f17b402.jpg","text":"TemporaryFile(/tmp/multipartBody2303343406966806207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120732268,"filename":"image_06012025_00_43_02_944901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/685e55918ed4737d360f5e7a2233b44e.jpg","text":"TemporaryFile(/tmp/multipartBody1329977355250837974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120732268,"filename":"image_06012025_00_44_02_225676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c38f64fe94b24ea052147366c199cef.jpg","text":"TemporaryFile(/tmp/multipartBody2155387425499485279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120732268,"filename":"image_06012025_00_44_02_225676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6df21e7098a4f8c4fd0f12e7bd79873a.jpg","text":"TemporaryFile(/tmp/multipartBody5222415441970905813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120732268,"filename":"image_06012025_00_44_02_225676_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913643","file1":"1326913642","file0":"1326913640","file3":"1326913644"},"map_files_photo_id_array":[{"photo_id":"1326913643","filename":"file2"},{"photo_id":"1326913642","filename":"file1"},{"photo_id":"1326913640","filename":"file0"},{"photo_id":"1326913644","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913640":["hashtag1","hashtag2"]},{"1326913643":["hashtag1","hashtag2"]},{"1326913642":["hashtag1","hashtag2"]},{"1326913644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913640, 1326913643, 1326913642, 1326913644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41816854476929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:45:02.825996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:45:22.250778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0003.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0000.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0001.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0003.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0000.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0001.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_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.78480315208435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:45:52.250153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:46:02.865478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0003.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0000.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0001.jpg', '/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/44/image_06012025_00_44_02_225676_0003.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0000.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0001.jpg
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913791","1326913779","1326913776","1326913809"],"photo_ids_order":["1326913776","1326913779","1326913791","1326913809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f234a8e4d1e2c4e13cd59890b4b2917a.jpg","text":"TemporaryFile(/tmp/multipartBody9132586250075422916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120833051,"filename":"image_06012025_00_45_02_420791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f34b34cb184a92f7043828d4f689b06a.jpg","text":"TemporaryFile(/tmp/multipartBody5691736333309451929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120833051,"filename":"image_06012025_00_45_02_420791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb75897b429b77360b15e911b7466be2.jpg","text":"TemporaryFile(/tmp/multipartBody6636531998758234822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120833051,"filename":"image_06012025_00_44_02_225676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f343c0927ce8a2dac1f78f3c1d79a004.jpg","text":"TemporaryFile(/tmp/multipartBody6877582099452008096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120833051,"filename":"image_06012025_00_45_02_420791_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913791","file1":"1326913779","file0":"1326913776","file3":"1326913809"},"map_files_photo_id_array":[{"photo_id":"1326913791","filename":"file2"},{"photo_id":"1326913779","filename":"file1"},{"photo_id":"1326913776","filename":"file0"},{"photo_id":"1326913809","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913791":["hashtag1","hashtag2"]},{"1326913779":["hashtag1","hashtag2"]},{"1326913776":["hashtag1","hashtag2"]},{"1326913809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913791, 1326913779, 1326913776, 1326913809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05406618118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:46:52.414405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:47:03.330301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0003.jpg', '/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0000.jpg', '/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0001.jpg', '/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/45/image_06012025_00_45_02_420791_0003.jpg
/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0000.jpg
/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0001.jpg
/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913849","1326913851","1326913854","1326913856"],"photo_ids_order":["1326913849","1326913851","1326913854","1326913856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccdbffaa059512a016f185c11e09ec10.jpg","text":"TemporaryFile(/tmp/multipartBody2488231840065415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120893574,"filename":"image_06012025_00_45_02_420791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e4db68462984b183e76b53222ed804c.jpg","text":"TemporaryFile(/tmp/multipartBody7982717278520875927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120893574,"filename":"image_06012025_00_46_02_664224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71ac11097066aecf303caaf7b500eac4.jpg","text":"TemporaryFile(/tmp/multipartBody5943293866045337070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120893574,"filename":"image_06012025_00_46_02_664224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aeb0dcdb5bd3f71bb4da1384418ad992.jpg","text":"TemporaryFile(/tmp/multipartBody7783666813237634086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120893574,"filename":"image_06012025_00_46_02_664224_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913854","file1":"1326913851","file0":"1326913849","file3":"1326913856"},"map_files_photo_id_array":[{"photo_id":"1326913854","filename":"file2"},{"photo_id":"1326913851","filename":"file1"},{"photo_id":"1326913849","filename":"file0"},{"photo_id":"1326913856","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913849":["hashtag1","hashtag2"]},{"1326913851":["hashtag1","hashtag2"]},{"1326913854":["hashtag1","hashtag2"]},{"1326913856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913849, 1326913851, 1326913854, 1326913856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14181303977966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:47:52.602026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:48:02.265590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0003.jpg', '/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0000.jpg', '/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/46/image_06012025_00_46_02_664224_0003.jpg
/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0000.jpg
/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326913864","1326913860","1326913862"],"photo_ids_order":["1326913860","1326913862","1326913864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/048de4c66704b1cd9637352e60e1c36d.jpg","text":"TemporaryFile(/tmp/multipartBody4711469558301821238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120950028,"filename":"image_06012025_00_47_02_799338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9912418b97ad89e0e57bb39215090aa.jpg","text":"TemporaryFile(/tmp/multipartBody395891840511778872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120950028,"filename":"image_06012025_00_46_02_664224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/055f151e806d86db3a456a49748a4583.jpg","text":"TemporaryFile(/tmp/multipartBody3693352896029111717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736120950028,"filename":"image_06012025_00_47_02_799338_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326913864","file1":"1326913862","file0":"1326913860"},"map_files_photo_id_array":[{"photo_id":"1326913864","filename":"file2"},{"photo_id":"1326913862","filename":"file1"},{"photo_id":"1326913860","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326913864":["hashtag1","hashtag2"]},{"1326913860":["hashtag1","hashtag2"]},{"1326913862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326913864, 1326913860, 1326913862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.406155586242676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:48:51.775830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:49:02.687576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0003.jpg', '/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0000.jpg', '/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0001.jpg', '/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/47/image_06012025_00_47_02_799338_0003.jpg
/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0000.jpg
/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0001.jpg
/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914062","1326914064","1326914058","1326914060"],"photo_ids_order":["1326914058","1326914060","1326914062","1326914064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68a602356c561d7082e57949500a9c67.jpg","text":"TemporaryFile(/tmp/multipartBody650182252407369368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121013119,"filename":"image_06012025_00_48_03_061039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42e8d641817d0b9b489ad26582f5e74f.jpg","text":"TemporaryFile(/tmp/multipartBody1881525396975614696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121013119,"filename":"image_06012025_00_48_03_061039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1d0695ad1a0f7d751b638eab2743992.jpg","text":"TemporaryFile(/tmp/multipartBody2080333747943868577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121013119,"filename":"image_06012025_00_47_02_799338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba0197606938cd899120cedcaad385b5.jpg","text":"TemporaryFile(/tmp/multipartBody450449470234774544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121013119,"filename":"image_06012025_00_48_03_061039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914062","file1":"1326914060","file0":"1326914058","file3":"1326914064"},"map_files_photo_id_array":[{"photo_id":"1326914062","filename":"file2"},{"photo_id":"1326914060","filename":"file1"},{"photo_id":"1326914058","filename":"file0"},{"photo_id":"1326914064","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914062":["hashtag1","hashtag2"]},{"1326914064":["hashtag1","hashtag2"]},{"1326914058":["hashtag1","hashtag2"]},{"1326914060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914062, 1326914064, 1326914058, 1326914060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92285704612732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:49:52.002840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:50:02.616114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0003.jpg', '/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0000.jpg', '/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0001.jpg', '/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/48/image_06012025_00_48_03_061039_0003.jpg
/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0000.jpg
/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0001.jpg
/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914179","1326914173","1326914175","1326914177"],"photo_ids_order":["1326914173","1326914175","1326914177","1326914179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe576ae742e782517927cbabb6fb24f2.jpg","text":"TemporaryFile(/tmp/multipartBody7274415310628962754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121072888,"filename":"image_06012025_00_49_02_158160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0cdac705eab79545d8f43c88fb83e21e.jpg","text":"TemporaryFile(/tmp/multipartBody6237621431595183779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121072888,"filename":"image_06012025_00_48_03_061039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a6fa478548e82381b31749f7afcacb6.jpg","text":"TemporaryFile(/tmp/multipartBody6594963198614289584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121072888,"filename":"image_06012025_00_49_02_158160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8dee283b1961abe9b6c604dcc2239bde.jpg","text":"TemporaryFile(/tmp/multipartBody2749028275459703323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121072888,"filename":"image_06012025_00_49_02_158160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914177","file1":"1326914175","file0":"1326914173","file3":"1326914179"},"map_files_photo_id_array":[{"photo_id":"1326914177","filename":"file2"},{"photo_id":"1326914175","filename":"file1"},{"photo_id":"1326914173","filename":"file0"},{"photo_id":"1326914179","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914179":["hashtag1","hashtag2"]},{"1326914173":["hashtag1","hashtag2"]},{"1326914175":["hashtag1","hashtag2"]},{"1326914177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914179, 1326914173, 1326914175, 1326914177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35308885574341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:50:52.201406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:51:02.919683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0003.jpg', '/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0000.jpg', '/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0001.jpg', '/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/49/image_06012025_00_49_02_158160_0003.jpg
/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0000.jpg
/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0001.jpg
/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914185","1326914190","1326914192","1326914183"],"photo_ids_order":["1326914183","1326914185","1326914190","1326914192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4a7e0241174c6465d06b90c433809d7.jpg","text":"TemporaryFile(/tmp/multipartBody1931058510499840705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121133165,"filename":"image_06012025_00_50_02_359435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/291135459539d49069a2b1bc1aaec96d.jpg","text":"TemporaryFile(/tmp/multipartBody594708193641606185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121133165,"filename":"image_06012025_00_50_02_359435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1012a37c93b8e788304efa7b2bcb63f5.jpg","text":"TemporaryFile(/tmp/multipartBody2041535121602612024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121133165,"filename":"image_06012025_00_50_02_359435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86bb0a19931177f1e963c17bc9f576cf.jpg","text":"TemporaryFile(/tmp/multipartBody1410670576323548367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121133165,"filename":"image_06012025_00_49_02_158160_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914190","file1":"1326914185","file0":"1326914183","file3":"1326914192"},"map_files_photo_id_array":[{"photo_id":"1326914190","filename":"file2"},{"photo_id":"1326914185","filename":"file1"},{"photo_id":"1326914183","filename":"file0"},{"photo_id":"1326914192","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914185":["hashtag1","hashtag2"]},{"1326914190":["hashtag1","hashtag2"]},{"1326914192":["hashtag1","hashtag2"]},{"1326914183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914185, 1326914190, 1326914192, 1326914183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31495237350464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:51:52.383771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:52:02.907599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0003.jpg', '/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0000.jpg', '/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0001.jpg', '/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/50/image_06012025_00_50_02_359435_0003.jpg
/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0000.jpg
/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0001.jpg
/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914197","1326914200","1326914206","1326914195"],"photo_ids_order":["1326914195","1326914197","1326914200","1326914206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94e60bb90a6af98d49a862becb524dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8232862261710276769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121193205,"filename":"image_06012025_00_51_02_544057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43dc51b65c39c0685da1e5f73c38ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody4139500868058870848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121193205,"filename":"image_06012025_00_51_02_544057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ebb46b0c71eae63e5abdf82b0323f71.jpg","text":"TemporaryFile(/tmp/multipartBody8217327631926455464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121193205,"filename":"image_06012025_00_51_02_544057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/867baca8e965618bc2694388b30c253c.jpg","text":"TemporaryFile(/tmp/multipartBody3929912318234936965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121193205,"filename":"image_06012025_00_50_02_359435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914200","file1":"1326914197","file0":"1326914195","file3":"1326914206"},"map_files_photo_id_array":[{"photo_id":"1326914200","filename":"file2"},{"photo_id":"1326914197","filename":"file1"},{"photo_id":"1326914195","filename":"file0"},{"photo_id":"1326914206","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914197":["hashtag1","hashtag2"]},{"1326914200":["hashtag1","hashtag2"]},{"1326914206":["hashtag1","hashtag2"]},{"1326914195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914197, 1326914200, 1326914206, 1326914195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41364312171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:52:52.565691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:53:03.285673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0003.jpg', '/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0000.jpg', '/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0001.jpg', '/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/51/image_06012025_00_51_02_544057_0003.jpg
/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0000.jpg
/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0001.jpg
/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914245","1326914256","1326914252","1326914258"],"photo_ids_order":["1326914245","1326914252","1326914256","1326914258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/531ee15c580d9e772a4d4091e111421c.jpg","text":"TemporaryFile(/tmp/multipartBody4681537258233292035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121253588,"filename":"image_06012025_00_51_02_544057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f65dabf0198d719fdf1329656c959ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2680093616236463062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121253588,"filename":"image_06012025_00_52_02_770639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5ef9adf5d76787170cbe11ec52a2d55.jpg","text":"TemporaryFile(/tmp/multipartBody2938804871620388783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121253588,"filename":"image_06012025_00_52_02_770639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5aa3d339ec6976b19791f21e06d61e23.jpg","text":"TemporaryFile(/tmp/multipartBody1776908302230092281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121253588,"filename":"image_06012025_00_52_02_770639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914256","file1":"1326914252","file0":"1326914245","file3":"1326914258"},"map_files_photo_id_array":[{"photo_id":"1326914256","filename":"file2"},{"photo_id":"1326914252","filename":"file1"},{"photo_id":"1326914245","filename":"file0"},{"photo_id":"1326914258","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914245":["hashtag1","hashtag2"]},{"1326914256":["hashtag1","hashtag2"]},{"1326914252":["hashtag1","hashtag2"]},{"1326914258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914245, 1326914256, 1326914252, 1326914258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37287950515747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:53:52.729847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:54:02.310474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0003.jpg', '/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0000.jpg', '/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0001.jpg', '/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/52/image_06012025_00_52_02_770639_0003.jpg
/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0000.jpg
/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0001.jpg
/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914318","1326914312","1326914314","1326914316"],"photo_ids_order":["1326914312","1326914314","1326914316","1326914318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce3fe1320e47b1c0bc4852a7d297b60a.jpg","text":"TemporaryFile(/tmp/multipartBody7975787984579694987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121312695,"filename":"image_06012025_00_53_02_932091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42b8fed99436128eacee64d98aefe894.jpg","text":"TemporaryFile(/tmp/multipartBody7323600624840172655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121312695,"filename":"image_06012025_00_52_02_770639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcd3567d7297dbacceeeb2f8cd439bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5949246627002456876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121312695,"filename":"image_06012025_00_53_02_932091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fb1f77ad0838338f04e209eb0dace4e.jpg","text":"TemporaryFile(/tmp/multipartBody7965593136289039739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121312695,"filename":"image_06012025_00_53_02_932091_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914316","file1":"1326914314","file0":"1326914312","file3":"1326914318"},"map_files_photo_id_array":[{"photo_id":"1326914316","filename":"file2"},{"photo_id":"1326914314","filename":"file1"},{"photo_id":"1326914312","filename":"file0"},{"photo_id":"1326914318","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914318":["hashtag1","hashtag2"]},{"1326914312":["hashtag1","hashtag2"]},{"1326914314":["hashtag1","hashtag2"]},{"1326914316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914318, 1326914312, 1326914314, 1326914316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32503271102905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:54:51.955172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:55:02.633219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0003.jpg', '/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0000.jpg', '/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0001.jpg', '/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/53/image_06012025_00_53_02_932091_0003.jpg
/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0000.jpg
/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0001.jpg
/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914362","1326914368","1326914364","1326914360"],"photo_ids_order":["1326914360","1326914362","1326914364","1326914368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c437aa908c07c253e58cb6d98a9301f.jpg","text":"TemporaryFile(/tmp/multipartBody8065327965125758485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121372990,"filename":"image_06012025_00_54_03_121370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9dc5446a1aa67db4c82aa07bfc7e1c44.jpg","text":"TemporaryFile(/tmp/multipartBody6511982510377111410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121372990,"filename":"image_06012025_00_54_03_121370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbe917b12ffb53c7968083148763db45.jpg","text":"TemporaryFile(/tmp/multipartBody7484571881448799862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121372990,"filename":"image_06012025_00_54_03_121370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4aa923ff2f970a71becfe35001174b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2359220076871978358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121372990,"filename":"image_06012025_00_53_02_932091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914364","file1":"1326914362","file0":"1326914360","file3":"1326914368"},"map_files_photo_id_array":[{"photo_id":"1326914364","filename":"file2"},{"photo_id":"1326914362","filename":"file1"},{"photo_id":"1326914360","filename":"file0"},{"photo_id":"1326914368","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914362":["hashtag1","hashtag2"]},{"1326914368":["hashtag1","hashtag2"]},{"1326914364":["hashtag1","hashtag2"]},{"1326914360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914362, 1326914368, 1326914364, 1326914360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77045202255249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:55:52.145550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:56:02.684940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0003.jpg', '/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0000.jpg', '/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0001.jpg', '/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/54/image_06012025_00_54_03_121370_0003.jpg
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0000.jpg
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0001.jpg
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326914497","1326914458","1326914499","1326914495"],"photo_ids_order":["1326914458","1326914495","1326914497","1326914499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65943cf291b0c1613618089cac2bbd32.jpg","text":"TemporaryFile(/tmp/multipartBody7373770441049014584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121432968,"filename":"image_06012025_00_55_02_313053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcfee0b515784ee4fad9fe17b0e59cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8291616891933785353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121432968,"filename":"image_06012025_00_54_03_121370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b783fbcd06e5c24c4f9ada1f863c2fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5335068243366033436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121432968,"filename":"image_06012025_00_55_02_313053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/747e5d2804cd5adec6363068965208b8.jpg","text":"TemporaryFile(/tmp/multipartBody8338749554564172869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121432968,"filename":"image_06012025_00_55_02_313053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326914497","file1":"1326914495","file0":"1326914458","file3":"1326914499"},"map_files_photo_id_array":[{"photo_id":"1326914497","filename":"file2"},{"photo_id":"1326914495","filename":"file1"},{"photo_id":"1326914458","filename":"file0"},{"photo_id":"1326914499","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326914497":["hashtag1","hashtag2"]},{"1326914458":["hashtag1","hashtag2"]},{"1326914499":["hashtag1","hashtag2"]},{"1326914495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326914497, 1326914458, 1326914499, 1326914495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.411436796188354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-06 00:56:52.325491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 00:57:03.123452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_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.931044578552246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:57:22.513759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg', '/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0000.jpg
 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-06 00:59:02.457390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg', '/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_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.864490032196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 00:59:21.881702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg', '/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg', '/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/55/image_06012025_00_55_02_313053_0003.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0000.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0001.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0002.jpg
/home/pi/Desktop/images/06012025/00/56/image_06012025_00_56_02_536120_0003.jpg
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915325","1326915313","1326915342","1326915306","1326915338","1326915335"],"photo_ids_order":["1326915306","1326915313","1326915325","1326915335","1326915338","1326915342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eafbe0e4f7118e473a56f5ef6b807943.jpg","text":"TemporaryFile(/tmp/multipartBody6136835884718255246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_56_02_536120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0e8d04372c20fc94e0a1b8fb78c0780.jpg","text":"TemporaryFile(/tmp/multipartBody7911579661909262193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_56_02_536120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07e3575049fa6c1fcd21ae832f4c771c.jpg","text":"TemporaryFile(/tmp/multipartBody8930649301988662396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_57_02_677749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1935600900056c63a3cc27851d06ca2.jpg","text":"TemporaryFile(/tmp/multipartBody2026182239961005094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_55_02_313053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d23a6ea378e5a75f28ce86d13bab1ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7023790989280116338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_56_02_536120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/671c5a07608fc66a2925d5f7432a81dc.jpg","text":"TemporaryFile(/tmp/multipartBody7121409472351559055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121636966,"filename":"image_06012025_00_56_02_536120_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915325","file1":"1326915313","file0":"1326915306","file4":"1326915338","file5":"1326915342","file3":"1326915335"},"map_files_photo_id_array":[{"photo_id":"1326915342","filename":"file5"},{"photo_id":"1326915325","filename":"file2"},{"photo_id":"1326915338","filename":"file4"},{"photo_id":"1326915313","filename":"file1"},{"photo_id":"1326915306","filename":"file0"},{"photo_id":"1326915335","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915325":["hashtag1","hashtag2"]},{"1326915313":["hashtag1","hashtag2"]},{"1326915342":["hashtag1","hashtag2"]},{"1326915306":["hashtag1","hashtag2"]},{"1326915338":["hashtag1","hashtag2"]},{"1326915335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915325, 1326915313, 1326915342, 1326915306, 1326915338, 1326915335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95669388771057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:00:22.514408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0001.jpg', '/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0002.jpg', '/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0003.jpg', '/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0000.jpg', '/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0001.jpg', '/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0001.jpg
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0002.jpg
/home/pi/Desktop/images/06012025/00/57/image_06012025_00_57_02_677749_0003.jpg
/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0000.jpg
/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0001.jpg
/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915460","1326915448","1326915462","1326915455","1326915458","1326915452"],"photo_ids_order":["1326915448","1326915452","1326915455","1326915458","1326915460","1326915462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/924c7e29279b916621f3f3c7a0fdf52b.jpg","text":"TemporaryFile(/tmp/multipartBody7938458545704254267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_58_02_900431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c401850eb00b0f0174f3be6926e019f4.jpg","text":"TemporaryFile(/tmp/multipartBody1093873998270865083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_57_02_677749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e48f908812971086163f485024683998.jpg","text":"TemporaryFile(/tmp/multipartBody162535285424630270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_58_02_900431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10ba2fabc8376dd751d848502923b9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6406201785888372446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_57_02_677749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fef023e4aebf9ca5397b5b45d335f9b.jpg","text":"TemporaryFile(/tmp/multipartBody5251753507948967979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_58_02_900431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbbad3c001e0e620fe044c9cdde4718f.jpg","text":"TemporaryFile(/tmp/multipartBody1596393550106982641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121697374,"filename":"image_06012025_00_57_02_677749_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915455","file1":"1326915452","file0":"1326915448","file4":"1326915460","file5":"1326915462","file3":"1326915458"},"map_files_photo_id_array":[{"photo_id":"1326915462","filename":"file5"},{"photo_id":"1326915455","filename":"file2"},{"photo_id":"1326915460","filename":"file4"},{"photo_id":"1326915452","filename":"file1"},{"photo_id":"1326915448","filename":"file0"},{"photo_id":"1326915458","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915460":["hashtag1","hashtag2"]},{"1326915448":["hashtag1","hashtag2"]},{"1326915462":["hashtag1","hashtag2"]},{"1326915455":["hashtag1","hashtag2"]},{"1326915458":["hashtag1","hashtag2"]},{"1326915452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915460, 1326915448, 1326915462, 1326915455, 1326915458, 1326915452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.274378299713135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:01:22.013436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0003.jpg', '/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0000.jpg', '/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0001.jpg', '/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0002.jpg', '/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0003.jpg', '/home/pi/Desktop/images/06012025/01/00/image_06012025_01_00_02_247953_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/00/58/image_06012025_00_58_02_900431_0003.jpg
/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0000.jpg
/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0001.jpg
/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0002.jpg
/home/pi/Desktop/images/06012025/00/59/image_06012025_00_59_03_074749_0003.jpg
/home/pi/Desktop/images/06012025/01/00/image_06012025_01_00_02_247953_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915514","1326915502","1326915511","1326915508","1326915516","1326915504"],"photo_ids_order":["1326915502","1326915504","1326915508","1326915511","1326915514","1326915516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ccbc870b5dd8ba52d3cb007da4e04b7.jpg","text":"TemporaryFile(/tmp/multipartBody3287854263164342258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_00_59_03_074749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/489336ce9a72ac57ef08050815ad81fd.jpg","text":"TemporaryFile(/tmp/multipartBody7862998837830881183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_00_58_02_900431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18860d8533831d3f8e273e702bb78e12.jpg","text":"TemporaryFile(/tmp/multipartBody196689914633663052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_00_59_03_074749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8266729f99667860088b44cf44dd40d8.jpg","text":"TemporaryFile(/tmp/multipartBody1045893091080197119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_00_59_03_074749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7b3fb23a67d46df52b4e34114110803.jpg","text":"TemporaryFile(/tmp/multipartBody4361873415860891154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_01_00_02_247953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fdf89fba7b4563e38bdb3225045f2fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8425149211385676575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121756305,"filename":"image_06012025_00_59_03_074749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915508","file1":"1326915504","file0":"1326915502","file4":"1326915514","file5":"1326915516","file3":"1326915511"},"map_files_photo_id_array":[{"photo_id":"1326915516","filename":"file5"},{"photo_id":"1326915508","filename":"file2"},{"photo_id":"1326915514","filename":"file4"},{"photo_id":"1326915504","filename":"file1"},{"photo_id":"1326915502","filename":"file0"},{"photo_id":"1326915511","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915514":["hashtag1","hashtag2"]},{"1326915502":["hashtag1","hashtag2"]},{"1326915511":["hashtag1","hashtag2"]},{"1326915508":["hashtag1","hashtag2"]},{"1326915516":["hashtag1","hashtag2"]},{"1326915504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915514, 1326915502, 1326915511, 1326915508, 1326915516, 1326915504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.45720362663269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:02:22.543790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/00/image_06012025_01_00_02_247953_0002.jpg', '/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0000.jpg', '/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0002.jpg', '/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0003.jpg', '/home/pi/Desktop/images/06012025/01/02/image_06012025_01_02_02_391303_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/00/image_06012025_01_00_02_247953_0002.jpg
/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0000.jpg
/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0002.jpg
/home/pi/Desktop/images/06012025/01/01/image_06012025_01_01_02_907741_0003.jpg
/home/pi/Desktop/images/06012025/01/02/image_06012025_01_02_02_391303_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915523","1326915525","1326915528","1326915530","1326915521"],"photo_ids_order":["1326915521","1326915523","1326915525","1326915528","1326915530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17f102923a4ad3df5b92a38753082436.jpg","text":"TemporaryFile(/tmp/multipartBody5749068823134915071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121814580,"filename":"image_06012025_01_01_02_907741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de2042c9ad21b0c1c313de1ef6a75108.jpg","text":"TemporaryFile(/tmp/multipartBody6165338069396208927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121814580,"filename":"image_06012025_01_01_02_907741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c276efffc8c1c7ef9ebb1a2765552869.jpg","text":"TemporaryFile(/tmp/multipartBody6602165196030636182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121814580,"filename":"image_06012025_01_01_02_907741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33bedd32c6d660e060375d9c3b197dae.jpg","text":"TemporaryFile(/tmp/multipartBody6662553693638459560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121814580,"filename":"image_06012025_01_02_02_391303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9978d214a87d12f57b37414e9acbd6b7.jpg","text":"TemporaryFile(/tmp/multipartBody4547074908811882097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121814580,"filename":"image_06012025_01_00_02_247953_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915525","file1":"1326915523","file0":"1326915521","file4":"1326915530","file3":"1326915528"},"map_files_photo_id_array":[{"photo_id":"1326915525","filename":"file2"},{"photo_id":"1326915530","filename":"file4"},{"photo_id":"1326915523","filename":"file1"},{"photo_id":"1326915521","filename":"file0"},{"photo_id":"1326915528","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915523":["hashtag1","hashtag2"]},{"1326915525":["hashtag1","hashtag2"]},{"1326915528":["hashtag1","hashtag2"]},{"1326915530":["hashtag1","hashtag2"]},{"1326915521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915523, 1326915525, 1326915528, 1326915530, 1326915521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.741339683532715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:03:22.079067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:04:03.029029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:04:22.548912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/02/image_06012025_01_02_02_391303_0002.jpg', '/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0000.jpg', '/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0001.jpg', '/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/02/image_06012025_01_02_02_391303_0002.jpg
/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0000.jpg
/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0001.jpg
/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915580","1326915568","1326915543","1326915577"],"photo_ids_order":["1326915543","1326915568","1326915577","1326915580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45a6dc2829ed7090c8ede58399b1279d.jpg","text":"TemporaryFile(/tmp/multipartBody6159145214277507301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121932278,"filename":"image_06012025_01_04_02_436749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdf80d9ed9cfab3c2e2ba0fac9eea4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3761192281221477919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121932278,"filename":"image_06012025_01_04_02_436749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8392792d1dc7f392b203e0d8c473999e.jpg","text":"TemporaryFile(/tmp/multipartBody8970467209091072831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121932278,"filename":"image_06012025_01_02_02_391303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b93a529ad578c9db0858ce3601aa8455.jpg","text":"TemporaryFile(/tmp/multipartBody5856088441840812062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121932278,"filename":"image_06012025_01_04_02_436749_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915577","file1":"1326915568","file0":"1326915543","file3":"1326915580"},"map_files_photo_id_array":[{"photo_id":"1326915577","filename":"file2"},{"photo_id":"1326915568","filename":"file1"},{"photo_id":"1326915543","filename":"file0"},{"photo_id":"1326915580","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915580":["hashtag1","hashtag2"]},{"1326915568":["hashtag1","hashtag2"]},{"1326915543":["hashtag1","hashtag2"]},{"1326915577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915580, 1326915568, 1326915543, 1326915577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38190317153931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:05:22.052819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0003.jpg', '/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0000.jpg', '/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0001.jpg', '/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/04/image_06012025_01_04_02_436749_0003.jpg
/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0000.jpg
/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0001.jpg
/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915622","1326915630","1326915612","1326915629"],"photo_ids_order":["1326915612","1326915622","1326915629","1326915630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8553f90967c0ca8bbec3123b058bca7d.jpg","text":"TemporaryFile(/tmp/multipartBody3471675254202275791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121991785,"filename":"image_06012025_01_05_02_923884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56df0f9c6617462532564727619f642e.jpg","text":"TemporaryFile(/tmp/multipartBody2497046437454524984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121991785,"filename":"image_06012025_01_05_02_923884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e81277fbc81dfe3012b5f8472e0cb449.jpg","text":"TemporaryFile(/tmp/multipartBody1516597698599182530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121991785,"filename":"image_06012025_01_04_02_436749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b17064a0e486b529e630cfd2bc7c8368.jpg","text":"TemporaryFile(/tmp/multipartBody4133840974703879874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736121991785,"filename":"image_06012025_01_05_02_923884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915629","file1":"1326915622","file0":"1326915612","file3":"1326915630"},"map_files_photo_id_array":[{"photo_id":"1326915629","filename":"file2"},{"photo_id":"1326915622","filename":"file1"},{"photo_id":"1326915612","filename":"file0"},{"photo_id":"1326915630","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915622":["hashtag1","hashtag2"]},{"1326915630":["hashtag1","hashtag2"]},{"1326915612":["hashtag1","hashtag2"]},{"1326915629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915622, 1326915630, 1326915612, 1326915629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51372027397156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:06:22.557569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0003.jpg', '/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0001.jpg', '/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/05/image_06012025_01_05_02_923884_0003.jpg
/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0001.jpg
/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915711","1326915737","1326915731"],"photo_ids_order":["1326915711","1326915731","1326915737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1667efa6994de056e93f96817530f4f.jpg","text":"TemporaryFile(/tmp/multipartBody166073248812500235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122049954,"filename":"image_06012025_01_05_02_923884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a93317c01dd903f5df1ad0aad8efde67.jpg","text":"TemporaryFile(/tmp/multipartBody733759701104963083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122049954,"filename":"image_06012025_01_06_02_424464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc194910c31b40a57a1a74693ad8faba.jpg","text":"TemporaryFile(/tmp/multipartBody1234444572536124174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122049954,"filename":"image_06012025_01_06_02_424464_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326915737","file1":"1326915731","file0":"1326915711"},"map_files_photo_id_array":[{"photo_id":"1326915737","filename":"file2"},{"photo_id":"1326915731","filename":"file1"},{"photo_id":"1326915711","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915711":["hashtag1","hashtag2"]},{"1326915737":["hashtag1","hashtag2"]},{"1326915731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915711, 1326915737, 1326915731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.17612886428833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:07:02.698569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:07:22.009160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0003.jpg', '/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/06/image_06012025_01_06_02_424464_0003.jpg
/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915756","1326915757"],"photo_ids_order":["1326915756","1326915757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87eb2f1e9646b13b01c94ede228d3734.jpg","text":"TemporaryFile(/tmp/multipartBody9146241975660717121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122107210,"filename":"image_06012025_01_06_02_424464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6dda0b565eb47e400ad52f86fc185f2f.jpg","text":"TemporaryFile(/tmp/multipartBody648934782169731437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122107210,"filename":"image_06012025_01_07_02_907424_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326915757","file0":"1326915756"},"map_files_photo_id_array":[{"photo_id":"1326915757","filename":"file1"},{"photo_id":"1326915756","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915756":["hashtag1","hashtag2"]},{"1326915757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915756, 1326915757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.75106167793274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:08:03.241580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:08:22.696437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0002.jpg', '/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0002.jpg
/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_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.795315742492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:09:02.835609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0002.jpg', '/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/07/image_06012025_01_07_02_907424_0002.jpg
/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326915937","1326915936"],"photo_ids_order":["1326915936","1326915937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08a4b8d3db931b0ca9085d93d28ca369.jpg","text":"TemporaryFile(/tmp/multipartBody8639572965616415786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122208125,"filename":"image_06012025_01_08_02_429426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6f039672b3dad007250b666a6046f70.jpg","text":"TemporaryFile(/tmp/multipartBody2905909908310650418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122208125,"filename":"image_06012025_01_07_02_907424_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326915937","file0":"1326915936"},"map_files_photo_id_array":[{"photo_id":"1326915937","filename":"file1"},{"photo_id":"1326915936","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326915937":["hashtag1","hashtag2"]},{"1326915936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326915937, 1326915936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.942991971969604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:10:02.353740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0002.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0000.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0001.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0002.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0000.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0001.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_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.349167823791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:10:22.000536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0002.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0000.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0001.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0002.jpg', '/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0003.jpg', '/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/08/image_06012025_01_08_02_429426_0002.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0000.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0001.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0002.jpg
/home/pi/Desktop/images/06012025/01/09/image_06012025_01_09_03_103257_0003.jpg
/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916021","1326915987","1326916023","1326916025","1326915986","1326916019"],"photo_ids_order":["1326915986","1326915987","1326916019","1326916021","1326916023","1326916025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60784b4c7f850820b0beb2d6e0b63e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3680061523729609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_09_03_103257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98f498fea303cad39315c9775e7ec0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3934559533969144000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_09_03_103257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e65b3c7cad3b30e21ac0546fe5d198fb.jpg","text":"TemporaryFile(/tmp/multipartBody7034555894283658566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_09_03_103257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/253f5c441897335fd983ca8aac24e4d5.jpg","text":"TemporaryFile(/tmp/multipartBody3863786347123923421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_10_02_661323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed905e1d339bae664c38ffd3ca779965.jpg","text":"TemporaryFile(/tmp/multipartBody2110990982587087475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_08_02_429426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f066460d34e67f826a960317df60bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2213962501726917859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122296245,"filename":"image_06012025_01_09_03_103257_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916019","file1":"1326915987","file0":"1326915986","file4":"1326916023","file5":"1326916025","file3":"1326916021"},"map_files_photo_id_array":[{"photo_id":"1326916025","filename":"file5"},{"photo_id":"1326916019","filename":"file2"},{"photo_id":"1326916023","filename":"file4"},{"photo_id":"1326915987","filename":"file1"},{"photo_id":"1326915986","filename":"file0"},{"photo_id":"1326916021","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916021":["hashtag1","hashtag2"]},{"1326915987":["hashtag1","hashtag2"]},{"1326916023":["hashtag1","hashtag2"]},{"1326916025":["hashtag1","hashtag2"]},{"1326915986":["hashtag1","hashtag2"]},{"1326916019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916021, 1326915987, 1326916023, 1326916025, 1326915986, 1326916019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.046274185180664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:11:22.550107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0001.jpg', '/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0002.jpg', '/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0003.jpg', '/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0000.jpg', '/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0001.jpg
/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0002.jpg
/home/pi/Desktop/images/06012025/01/10/image_06012025_01_10_02_661323_0003.jpg
/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0000.jpg
/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916126","1326916128","1326916122","1326916130","1326916124"],"photo_ids_order":["1326916122","1326916124","1326916126","1326916128","1326916130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c0071efc756a1c1cfda86bafe923765.jpg","text":"TemporaryFile(/tmp/multipartBody7750444721605563047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122354536,"filename":"image_06012025_01_10_02_661323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7af70ae3880da7ca25d1411d053c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7170869175084435790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122354536,"filename":"image_06012025_01_11_02_387363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dcfadca4fe9985a6b0c70736c3a7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7028191330745659383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122354536,"filename":"image_06012025_01_10_02_661323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f588cb2e628b9d65480254509e0dc06.jpg","text":"TemporaryFile(/tmp/multipartBody7535628478800843506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122354536,"filename":"image_06012025_01_11_02_387363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f85d526284bc74a1e9b87e42d7170b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1981447607306076355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122354536,"filename":"image_06012025_01_10_02_661323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916126","file1":"1326916124","file0":"1326916122","file4":"1326916130","file3":"1326916128"},"map_files_photo_id_array":[{"photo_id":"1326916126","filename":"file2"},{"photo_id":"1326916130","filename":"file4"},{"photo_id":"1326916124","filename":"file1"},{"photo_id":"1326916122","filename":"file0"},{"photo_id":"1326916128","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916126":["hashtag1","hashtag2"]},{"1326916128":["hashtag1","hashtag2"]},{"1326916122":["hashtag1","hashtag2"]},{"1326916130":["hashtag1","hashtag2"]},{"1326916124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916126, 1326916128, 1326916122, 1326916130, 1326916124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.36640930175781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:12:22.026697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0003.jpg', '/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0001.jpg', '/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/11/image_06012025_01_11_02_387363_0003.jpg
/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0001.jpg
/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916134","1326916133","1326916136"],"photo_ids_order":["1326916133","1326916134","1326916136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dec91ca68d9b4af45a9240d6d1da571f.jpg","text":"TemporaryFile(/tmp/multipartBody478308169886817486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122409452,"filename":"image_06012025_01_12_02_872435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce484080606bc75e306237c3576d3e0e.jpg","text":"TemporaryFile(/tmp/multipartBody186511235558329200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122409452,"filename":"image_06012025_01_11_02_387363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b75cc34312b08b4b6305b279e7153920.jpg","text":"TemporaryFile(/tmp/multipartBody7698934349662997904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122409452,"filename":"image_06012025_01_12_02_872435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916136","file1":"1326916134","file0":"1326916133"},"map_files_photo_id_array":[{"photo_id":"1326916136","filename":"file2"},{"photo_id":"1326916134","filename":"file1"},{"photo_id":"1326916133","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916134":["hashtag1","hashtag2"]},{"1326916133":["hashtag1","hashtag2"]},{"1326916136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916134, 1326916133, 1326916136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.532906770706177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:13:03.159224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:13:22.592253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0003.jpg', '/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0000.jpg', '/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/12/image_06012025_01_12_02_872435_0003.jpg
/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0000.jpg
/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916155","1326916187","1326916153"],"photo_ids_order":["1326916153","1326916155","1326916187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/523ba9cfedabc8f1491a91f0d0e9bdd6.jpg","text":"TemporaryFile(/tmp/multipartBody4234415162267750722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122470026,"filename":"image_06012025_01_13_02_400897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40d1fb2226ed8383777609899486f2e5.jpg","text":"TemporaryFile(/tmp/multipartBody7941608219276708136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122470026,"filename":"image_06012025_01_13_02_400897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/317f758c36863cb41602757a1380d886.jpg","text":"TemporaryFile(/tmp/multipartBody5956498714135485993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122470026,"filename":"image_06012025_01_12_02_872435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916187","file1":"1326916155","file0":"1326916153"},"map_files_photo_id_array":[{"photo_id":"1326916187","filename":"file2"},{"photo_id":"1326916155","filename":"file1"},{"photo_id":"1326916153","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916155":["hashtag1","hashtag2"]},{"1326916187":["hashtag1","hashtag2"]},{"1326916153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916155, 1326916187, 1326916153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.855810403823853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:14:02.732873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:14:22.349878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0002.jpg', '/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0000.jpg', '/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/13/image_06012025_01_13_02_400897_0002.jpg
/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0000.jpg
/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916232","1326916234","1326916237"],"photo_ids_order":["1326916232","1326916234","1326916237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/857628f231f80e24e752ac9b272cbe70.jpg","text":"TemporaryFile(/tmp/multipartBody6393771746179053290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122529779,"filename":"image_06012025_01_13_02_400897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d823d206b5af20e7fc2a40ee25f61c9.jpg","text":"TemporaryFile(/tmp/multipartBody4164416209256661390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122529779,"filename":"image_06012025_01_14_02_950173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cc04155aa2d8e61c639346a0e59ae99.jpg","text":"TemporaryFile(/tmp/multipartBody3712016364532127325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122529779,"filename":"image_06012025_01_14_02_950173_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916237","file1":"1326916234","file0":"1326916232"},"map_files_photo_id_array":[{"photo_id":"1326916237","filename":"file2"},{"photo_id":"1326916234","filename":"file1"},{"photo_id":"1326916232","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916232":["hashtag1","hashtag2"]},{"1326916234":["hashtag1","hashtag2"]},{"1326916237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916232, 1326916234, 1326916237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.004205465316772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:15:02.543296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:15:21.901868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0003.jpg', '/home/pi/Desktop/images/06012025/01/15/image_06012025_01_15_02_761382_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/14/image_06012025_01_14_02_950173_0003.jpg
/home/pi/Desktop/images/06012025/01/15/image_06012025_01_15_02_761382_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916271","1326916273"],"photo_ids_order":["1326916271","1326916273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2cd0fe267f4e26ad4b7b9393a5f02c0d.jpg","text":"TemporaryFile(/tmp/multipartBody3263340782705065705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122587112,"filename":"image_06012025_01_14_02_950173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39d3c8ae35639c654a33e4fa099f7d40.jpg","text":"TemporaryFile(/tmp/multipartBody6535878812475034337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122587112,"filename":"image_06012025_01_15_02_761382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326916273","file0":"1326916271"},"map_files_photo_id_array":[{"photo_id":"1326916273","filename":"file1"},{"photo_id":"1326916271","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916271":["hashtag1","hashtag2"]},{"1326916273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916271, 1326916273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.174339294433594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:16:03.015509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:16:22.671611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/15/image_06012025_01_15_02_761382_0003.jpg', '/home/pi/Desktop/images/06012025/01/16/image_06012025_01_16_02_310534_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/15/image_06012025_01_15_02_761382_0003.jpg
/home/pi/Desktop/images/06012025/01/16/image_06012025_01_16_02_310534_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916578","1326916577"],"photo_ids_order":["1326916577","1326916578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdb54066168f4b19436a5fa5abb854ae.jpg","text":"TemporaryFile(/tmp/multipartBody2604154583822422403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122647893,"filename":"image_06012025_01_16_02_310534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcc074599c2668c01bc128724f5d0ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4065065316870250901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122647893,"filename":"image_06012025_01_15_02_761382_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326916578","file0":"1326916577"},"map_files_photo_id_array":[{"photo_id":"1326916578","filename":"file1"},{"photo_id":"1326916577","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916578":["hashtag1","hashtag2"]},{"1326916577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916578, 1326916577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.345792293548584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:17:02.616028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:17:21.993678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/16/image_06012025_01_16_02_310534_0002.jpg', '/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0000.jpg', '/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0001.jpg', '/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/16/image_06012025_01_16_02_310534_0002.jpg
/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0000.jpg
/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0001.jpg
/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916590","1326916596","1326916592","1326916594"],"photo_ids_order":["1326916590","1326916592","1326916594","1326916596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/709501ed2d72c942bb356a7e7b0e640c.jpg","text":"TemporaryFile(/tmp/multipartBody3421305980808714205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122711732,"filename":"image_06012025_01_16_02_310534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7adbce0a1e480658f9a402f262b5d74.jpg","text":"TemporaryFile(/tmp/multipartBody4505192087290539660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122711732,"filename":"image_06012025_01_17_02_905261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72225b0dba8c699faa716e4e51467b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3605242237664815202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122711732,"filename":"image_06012025_01_17_02_905261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eacf1a250be6af1f4c92d8ef90d69075.jpg","text":"TemporaryFile(/tmp/multipartBody6819824883757345669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122711732,"filename":"image_06012025_01_17_02_905261_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916594","file1":"1326916592","file0":"1326916590","file3":"1326916596"},"map_files_photo_id_array":[{"photo_id":"1326916594","filename":"file2"},{"photo_id":"1326916592","filename":"file1"},{"photo_id":"1326916590","filename":"file0"},{"photo_id":"1326916596","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916590":["hashtag1","hashtag2"]},{"1326916596":["hashtag1","hashtag2"]},{"1326916592":["hashtag1","hashtag2"]},{"1326916594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916590, 1326916596, 1326916592, 1326916594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08030939102173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:18:03.272252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:18:22.706552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0003.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0000.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0001.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0003.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0000.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0001.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_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.327427387237549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:19:02.928652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0003.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0000.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0001.jpg', '/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/17/image_06012025_01_17_02_905261_0003.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0000.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0001.jpg
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916680","1326916676","1326916679","1326916678"],"photo_ids_order":["1326916676","1326916678","1326916679","1326916680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a12282a14c412c019dc6f6f9a34dd408.jpg","text":"TemporaryFile(/tmp/multipartBody3463255820802520310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122812699,"filename":"image_06012025_01_18_02_477019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02f87d587396d922c09431b2d55d3023.jpg","text":"TemporaryFile(/tmp/multipartBody789864810130511237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122812699,"filename":"image_06012025_01_17_02_905261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e4afa3ea33f9b8f1b945f6b156264a7.jpg","text":"TemporaryFile(/tmp/multipartBody3014426066424613212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122812699,"filename":"image_06012025_01_18_02_477019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a56e68c319dbde22f60bd0c30a088805.jpg","text":"TemporaryFile(/tmp/multipartBody2210740076835395711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122812699,"filename":"image_06012025_01_18_02_477019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916679","file1":"1326916678","file0":"1326916676","file3":"1326916680"},"map_files_photo_id_array":[{"photo_id":"1326916679","filename":"file2"},{"photo_id":"1326916678","filename":"file1"},{"photo_id":"1326916676","filename":"file0"},{"photo_id":"1326916680","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916680":["hashtag1","hashtag2"]},{"1326916676":["hashtag1","hashtag2"]},{"1326916679":["hashtag1","hashtag2"]},{"1326916678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916680, 1326916676, 1326916679, 1326916678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07490015029907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:20:02.437916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0003.jpg', '/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0000.jpg', '/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0003.jpg
/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0000.jpg
/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_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.075934171676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:20:21.963476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0003.jpg', '/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0000.jpg', '/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0002.jpg', '/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0003.jpg', '/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0000.jpg', '/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/18/image_06012025_01_18_02_477019_0003.jpg
/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0000.jpg
/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0002.jpg
/home/pi/Desktop/images/06012025/01/19/image_06012025_01_19_03_077686_0003.jpg
/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0000.jpg
/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916807","1326916801","1326916809","1326916803","1326916799","1326916805"],"photo_ids_order":["1326916799","1326916801","1326916803","1326916805","1326916807","1326916809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10acfa8fc9f5e226d37bc045d6eadd3d.jpg","text":"TemporaryFile(/tmp/multipartBody789220422360140761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_20_02_622338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdd7b67d8c23c523f74b9548749a0c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8072705043006937072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_19_03_077686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4e2c465886cdecc64631c23597586a7.jpg","text":"TemporaryFile(/tmp/multipartBody8216157158525610214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_20_02_622338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f2d1501f3608ea277ccbd3a34116ee7.jpg","text":"TemporaryFile(/tmp/multipartBody3500568805431153101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_19_03_077686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f11bf9ac31ce27c4a36ef999975bba3d.jpg","text":"TemporaryFile(/tmp/multipartBody4806410919781698140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_18_02_477019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e7a467cf254f2bb5ade53f2d7504d42.jpg","text":"TemporaryFile(/tmp/multipartBody5271854358092296266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122896220,"filename":"image_06012025_01_19_03_077686_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916803","file1":"1326916801","file0":"1326916799","file4":"1326916807","file5":"1326916809","file3":"1326916805"},"map_files_photo_id_array":[{"photo_id":"1326916809","filename":"file5"},{"photo_id":"1326916803","filename":"file2"},{"photo_id":"1326916807","filename":"file4"},{"photo_id":"1326916801","filename":"file1"},{"photo_id":"1326916799","filename":"file0"},{"photo_id":"1326916805","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916807":["hashtag1","hashtag2"]},{"1326916801":["hashtag1","hashtag2"]},{"1326916809":["hashtag1","hashtag2"]},{"1326916803":["hashtag1","hashtag2"]},{"1326916799":["hashtag1","hashtag2"]},{"1326916805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916807, 1326916801, 1326916809, 1326916803, 1326916799, 1326916805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.014649391174316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:21:22.465025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0002.jpg', '/home/pi/Desktop/images/06012025/01/21/image_06012025_01_21_02_330983_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/20/image_06012025_01_20_02_622338_0002.jpg
/home/pi/Desktop/images/06012025/01/21/image_06012025_01_21_02_330983_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916811","1326916810"],"photo_ids_order":["1326916810","1326916811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a6a25d1a257281cdff6dbdcc632dbab.jpg","text":"TemporaryFile(/tmp/multipartBody5858047278216209763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122947672,"filename":"image_06012025_01_21_02_330983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bb94c157fb0ac7e24a0df3cda8bf3cb.jpg","text":"TemporaryFile(/tmp/multipartBody746045556989427834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736122947672,"filename":"image_06012025_01_20_02_622338_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326916811","file0":"1326916810"},"map_files_photo_id_array":[{"photo_id":"1326916811","filename":"file1"},{"photo_id":"1326916810","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916811":["hashtag1","hashtag2"]},{"1326916810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916811, 1326916810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.146329164505005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:22:02.387752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:22:21.948415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/21/image_06012025_01_21_02_330983_0002.jpg', '/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0001.jpg', '/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/21/image_06012025_01_21_02_330983_0002.jpg
/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0001.jpg
/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916821","1326916826","1326916820"],"photo_ids_order":["1326916820","1326916821","1326916826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5961efdd82f59d1af2467dec0db6bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody7988941319248158688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123009375,"filename":"image_06012025_01_22_02_806284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95362f3f0ef30e59fcc3fb2b2859b91b.jpg","text":"TemporaryFile(/tmp/multipartBody2941996174058945263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123009375,"filename":"image_06012025_01_22_02_806284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38562e04339c4720eadd49fcc0b37e53.jpg","text":"TemporaryFile(/tmp/multipartBody1118749147082583942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123009375,"filename":"image_06012025_01_21_02_330983_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326916826","file1":"1326916821","file0":"1326916820"},"map_files_photo_id_array":[{"photo_id":"1326916826","filename":"file2"},{"photo_id":"1326916821","filename":"file1"},{"photo_id":"1326916820","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916821":["hashtag1","hashtag2"]},{"1326916826":["hashtag1","hashtag2"]},{"1326916820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916821, 1326916826, 1326916820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.765849828720093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:23:02.997524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:23:22.478788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0003.jpg', '/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/22/image_06012025_01_22_02_806284_0003.jpg
/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326916893","1326916894"],"photo_ids_order":["1326916893","1326916894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8252e6a170fb69e47c3b42112ac19af9.jpg","text":"TemporaryFile(/tmp/multipartBody6738719177644715925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123067667,"filename":"image_06012025_01_22_02_806284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d90231cb0c47c44d4b6c519fd0666364.jpg","text":"TemporaryFile(/tmp/multipartBody6466152822178646018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123067667,"filename":"image_06012025_01_23_02_343372_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326916894","file0":"1326916893"},"map_files_photo_id_array":[{"photo_id":"1326916894","filename":"file1"},{"photo_id":"1326916893","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326916893":["hashtag1","hashtag2"]},{"1326916894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326916893, 1326916894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.305580854415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:24:02.750557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:24:22.234445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0003.jpg', '/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0000.jpg', '/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0003.jpg
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0000.jpg
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_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.0611536502838135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:25:02.505034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0003.jpg', '/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0000.jpg', '/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/23/image_06012025_01_23_02_343372_0003.jpg
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0000.jpg
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917075","1326917077","1326917076"],"photo_ids_order":["1326917075","1326917076","1326917077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/681736eacf979bbcff1f79f664578204.jpg","text":"TemporaryFile(/tmp/multipartBody2039486190663940509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123170063,"filename":"image_06012025_01_23_02_343372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5c96ed6f7033584a54a56399dba5f20.jpg","text":"TemporaryFile(/tmp/multipartBody7673746433048384435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123170063,"filename":"image_06012025_01_24_02_939506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81e9e37d4b7c2d0d1f1a2425c58db65e.jpg","text":"TemporaryFile(/tmp/multipartBody754781947887193366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123170063,"filename":"image_06012025_01_24_02_939506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917077","file1":"1326917076","file0":"1326917075"},"map_files_photo_id_array":[{"photo_id":"1326917077","filename":"file2"},{"photo_id":"1326917076","filename":"file1"},{"photo_id":"1326917075","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917075":["hashtag1","hashtag2"]},{"1326917077":["hashtag1","hashtag2"]},{"1326917076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917075, 1326917077, 1326917076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.63425850868225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:26:03.023200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_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: 2.536008834838867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:26:22.502262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0002.jpg', '/home/pi/Desktop/images/06012025/01/25/image_06012025_01_25_02_704531_0003.jpg', '/home/pi/Desktop/images/06012025/01/26/image_06012025_01_26_02_235323_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/24/image_06012025_01_24_02_939506_0002.jpg
/home/pi/Desktop/images/06012025/01/25/image_06012025_01_25_02_704531_0003.jpg
/home/pi/Desktop/images/06012025/01/26/image_06012025_01_26_02_235323_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917217","1326917214","1326917215"],"photo_ids_order":["1326917214","1326917215","1326917217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cc276c70a082b6f85b778a05a20da55.jpg","text":"TemporaryFile(/tmp/multipartBody3199090733517627556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123249985,"filename":"image_06012025_01_26_02_235323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d30c9352b2b50b1c55e5d4bced0455e9.jpg","text":"TemporaryFile(/tmp/multipartBody8012265412504074438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123249985,"filename":"image_06012025_01_24_02_939506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9887b1406627c1e40ca3086e9ec70546.jpg","text":"TemporaryFile(/tmp/multipartBody4664339688748829116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123249985,"filename":"image_06012025_01_25_02_704531_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917217","file1":"1326917215","file0":"1326917214"},"map_files_photo_id_array":[{"photo_id":"1326917217","filename":"file2"},{"photo_id":"1326917215","filename":"file1"},{"photo_id":"1326917214","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917217":["hashtag1","hashtag2"]},{"1326917214":["hashtag1","hashtag2"]},{"1326917215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917217, 1326917214, 1326917215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.99891710281372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:27:02.748865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:27:22.154898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/26/image_06012025_01_26_02_235323_0003.jpg', '/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0000.jpg', '/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/26/image_06012025_01_26_02_235323_0003.jpg
/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0000.jpg
/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917223","1326917225","1326917227"],"photo_ids_order":["1326917223","1326917225","1326917227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8e39969aa8b0ab92e7070475c8ccdc8.jpg","text":"TemporaryFile(/tmp/multipartBody2353523388928072068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123309608,"filename":"image_06012025_01_26_02_235323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fc49755f3c15b2939b6cd4422c2b09c.jpg","text":"TemporaryFile(/tmp/multipartBody8383263683164076064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123309608,"filename":"image_06012025_01_27_02_941294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b175c0babd29c87fdf2e49649f7ee8e7.jpg","text":"TemporaryFile(/tmp/multipartBody6374793660657943981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123309608,"filename":"image_06012025_01_27_02_941294_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917227","file1":"1326917225","file0":"1326917223"},"map_files_photo_id_array":[{"photo_id":"1326917227","filename":"file2"},{"photo_id":"1326917225","filename":"file1"},{"photo_id":"1326917223","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917223":["hashtag1","hashtag2"]},{"1326917225":["hashtag1","hashtag2"]},{"1326917227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917223, 1326917225, 1326917227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.74745750427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:28:02.232195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:28:21.822013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0002.jpg', '/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0000.jpg', '/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/27/image_06012025_01_27_02_941294_0002.jpg
/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0000.jpg
/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917235","1326917232","1326917233"],"photo_ids_order":["1326917232","1326917233","1326917235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fa959d293751d8f68f4e9c25c8cdf42.jpg","text":"TemporaryFile(/tmp/multipartBody5286452835973759410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123369257,"filename":"image_06012025_01_28_02_529416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7e189a8664d1d18e24ac5a3b4fe8888.jpg","text":"TemporaryFile(/tmp/multipartBody5004284856841111849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123369257,"filename":"image_06012025_01_27_02_941294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/311e09f470a3aa348d233b8150056dd7.jpg","text":"TemporaryFile(/tmp/multipartBody349854774252606368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123369257,"filename":"image_06012025_01_28_02_529416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917235","file1":"1326917233","file0":"1326917232"},"map_files_photo_id_array":[{"photo_id":"1326917235","filename":"file2"},{"photo_id":"1326917233","filename":"file1"},{"photo_id":"1326917232","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917235":["hashtag1","hashtag2"]},{"1326917232":["hashtag1","hashtag2"]},{"1326917233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917235, 1326917232, 1326917233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.45021414756775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:29:02.919654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:29:22.266999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0003.jpg', '/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0000.jpg', '/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0001.jpg', '/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/28/image_06012025_01_28_02_529416_0003.jpg
/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0000.jpg
/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0001.jpg
/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917276","1326917278","1326917257","1326917280"],"photo_ids_order":["1326917257","1326917276","1326917278","1326917280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/790bc08e8fa6d314ea245ecab9472927.jpg","text":"TemporaryFile(/tmp/multipartBody7837102804961389788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123431967,"filename":"image_06012025_01_29_02_164448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cdb6aa552fdd289e9039f5d427ec197.jpg","text":"TemporaryFile(/tmp/multipartBody7253072683255161338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123431967,"filename":"image_06012025_01_29_02_164448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9474cc2fd47e6280d7124338eb667810.jpg","text":"TemporaryFile(/tmp/multipartBody4524700937612797205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123431967,"filename":"image_06012025_01_28_02_529416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0d79411e2b4263220aa499f15891c0a.jpg","text":"TemporaryFile(/tmp/multipartBody193476975728472308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123431967,"filename":"image_06012025_01_29_02_164448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917278","file1":"1326917276","file0":"1326917257","file3":"1326917280"},"map_files_photo_id_array":[{"photo_id":"1326917278","filename":"file2"},{"photo_id":"1326917276","filename":"file1"},{"photo_id":"1326917257","filename":"file0"},{"photo_id":"1326917280","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917276":["hashtag1","hashtag2"]},{"1326917278":["hashtag1","hashtag2"]},{"1326917257":["hashtag1","hashtag2"]},{"1326917280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917276, 1326917278, 1326917257, 1326917280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.27236604690552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:30:02.448173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:30:22.051033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0003.jpg', '/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0000.jpg', '/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/29/image_06012025_01_29_02_164448_0003.jpg
/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0000.jpg
/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917415","1326917411","1326917413"],"photo_ids_order":["1326917411","1326917413","1326917415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/470c219c27ce2c388d8856dec8598ca6.jpg","text":"TemporaryFile(/tmp/multipartBody716557405270956334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123489480,"filename":"image_06012025_01_30_02_673868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b26a7adf1587ce0afb5b90a1df0393e3.jpg","text":"TemporaryFile(/tmp/multipartBody3671271735558071170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123489480,"filename":"image_06012025_01_29_02_164448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d04218e59e6641d17891fb13c748236.jpg","text":"TemporaryFile(/tmp/multipartBody1415510923005116537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123489480,"filename":"image_06012025_01_30_02_673868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917415","file1":"1326917413","file0":"1326917411"},"map_files_photo_id_array":[{"photo_id":"1326917415","filename":"file2"},{"photo_id":"1326917413","filename":"file1"},{"photo_id":"1326917411","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917415":["hashtag1","hashtag2"]},{"1326917411":["hashtag1","hashtag2"]},{"1326917413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917415, 1326917411, 1326917413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.328938007354736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:31:03.257262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:31:22.511138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0002.jpg', '/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/30/image_06012025_01_30_02_673868_0002.jpg
/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917432","1326917467"],"photo_ids_order":["1326917432","1326917467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9e162bb1dd934411fc4e1d48e8fde3c.jpg","text":"TemporaryFile(/tmp/multipartBody1878062993230145148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123547682,"filename":"image_06012025_01_30_02_673868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc6f743f6b8456ebaa92a3b651115c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6506597571762292949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123547682,"filename":"image_06012025_01_31_02_325002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326917467","file0":"1326917432"},"map_files_photo_id_array":[{"photo_id":"1326917467","filename":"file1"},{"photo_id":"1326917432","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917432":["hashtag1","hashtag2"]},{"1326917467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917432, 1326917467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.0704243183136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:32:02.666067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:32:22.122476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0003.jpg', '/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0000.jpg', '/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0003.jpg
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0000.jpg
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_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.138106346130371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:33:03.334830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0003.jpg', '/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0000.jpg', '/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/31/image_06012025_01_31_02_325002_0003.jpg
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0000.jpg
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917610","1326917609","1326917611"],"photo_ids_order":["1326917609","1326917610","1326917611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/270bbd143e2cd4a0c26fdc760b46bd47.jpg","text":"TemporaryFile(/tmp/multipartBody1388135460847736844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123650862,"filename":"image_06012025_01_32_02_859177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ef85a70e7cede713e9ec1de0a448924.jpg","text":"TemporaryFile(/tmp/multipartBody4840213054178394822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123650862,"filename":"image_06012025_01_31_02_325002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02e71e344f936477ea6f4a569d7ac910.jpg","text":"TemporaryFile(/tmp/multipartBody6798056786957390498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123650862,"filename":"image_06012025_01_32_02_859177_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917611","file1":"1326917610","file0":"1326917609"},"map_files_photo_id_array":[{"photo_id":"1326917611","filename":"file2"},{"photo_id":"1326917610","filename":"file1"},{"photo_id":"1326917609","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917610":["hashtag1","hashtag2"]},{"1326917609":["hashtag1","hashtag2"]},{"1326917611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917610, 1326917609, 1326917611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.911866664886475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:34:02.502759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0003.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0000.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0001.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0003.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0000.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0001.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_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.386708736419678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:34:22.207176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0003.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0000.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0001.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0002.jpg', '/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0003.jpg', '/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/32/image_06012025_01_32_02_859177_0003.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0000.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0001.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0002.jpg
/home/pi/Desktop/images/06012025/01/33/image_06012025_01_33_02_471512_0003.jpg
/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917709","1326917703","1326917711","1326917705","1326917701","1326917707"],"photo_ids_order":["1326917701","1326917703","1326917705","1326917707","1326917709","1326917711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfbf2f85824cd727ff875c637087b945.jpg","text":"TemporaryFile(/tmp/multipartBody5118256855503221722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_33_02_471512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24558cd3e9d4692b77a067cf9e74e719.jpg","text":"TemporaryFile(/tmp/multipartBody2224691630752570748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_33_02_471512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41f6fa27e4fae4685199590c60139fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3036238687348577883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_34_02_975668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/477dbad74adffcba1770a6c475c267be.jpg","text":"TemporaryFile(/tmp/multipartBody4475463026779207231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_33_02_471512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a0a4b7f96a64afd557c4174057e464a.jpg","text":"TemporaryFile(/tmp/multipartBody3075762194890180984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_32_02_859177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bfd9ae1ff6e60df5b623b64fb61bcfbf.jpg","text":"TemporaryFile(/tmp/multipartBody8792746934373060200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123736537,"filename":"image_06012025_01_33_02_471512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917705","file1":"1326917703","file0":"1326917701","file4":"1326917709","file5":"1326917711","file3":"1326917707"},"map_files_photo_id_array":[{"photo_id":"1326917711","filename":"file5"},{"photo_id":"1326917705","filename":"file2"},{"photo_id":"1326917709","filename":"file4"},{"photo_id":"1326917703","filename":"file1"},{"photo_id":"1326917701","filename":"file0"},{"photo_id":"1326917707","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917709":["hashtag1","hashtag2"]},{"1326917703":["hashtag1","hashtag2"]},{"1326917711":["hashtag1","hashtag2"]},{"1326917705":["hashtag1","hashtag2"]},{"1326917701":["hashtag1","hashtag2"]},{"1326917707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917709, 1326917703, 1326917711, 1326917705, 1326917701, 1326917707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38611674308777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:35:21.725707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0002.jpg', '/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0003.jpg', '/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0000.jpg', '/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0002.jpg
/home/pi/Desktop/images/06012025/01/34/image_06012025_01_34_02_975668_0003.jpg
/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0000.jpg
/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917712","1326917718","1326917714","1326917716"],"photo_ids_order":["1326917712","1326917714","1326917716","1326917718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a0ecc71071f2cd890d3f844e9df4c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2567104577868567999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123791461,"filename":"image_06012025_01_34_02_975668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdfa2a28512a3fbd55ee4d4f07bca236.jpg","text":"TemporaryFile(/tmp/multipartBody642130001641134944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123791461,"filename":"image_06012025_01_35_02_620401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fa9fc30390e55261d1a0fb36a9fd20e.jpg","text":"TemporaryFile(/tmp/multipartBody7419997564189096914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123791461,"filename":"image_06012025_01_34_02_975668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83225d18f9267d89b3e2b63da9848333.jpg","text":"TemporaryFile(/tmp/multipartBody8220328675171992661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123791461,"filename":"image_06012025_01_35_02_620401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917716","file1":"1326917714","file0":"1326917712","file3":"1326917718"},"map_files_photo_id_array":[{"photo_id":"1326917716","filename":"file2"},{"photo_id":"1326917714","filename":"file1"},{"photo_id":"1326917712","filename":"file0"},{"photo_id":"1326917718","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917712":["hashtag1","hashtag2"]},{"1326917718":["hashtag1","hashtag2"]},{"1326917714":["hashtag1","hashtag2"]},{"1326917716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917712, 1326917718, 1326917714, 1326917716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12705636024475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:36:22.745970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0002.jpg', '/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0000.jpg', '/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0001.jpg', '/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/35/image_06012025_01_35_02_620401_0002.jpg
/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0000.jpg
/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0001.jpg
/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917727","1326917724","1326917729","1326917722"],"photo_ids_order":["1326917722","1326917724","1326917727","1326917729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75c19dcf3d5800fa4ce056a0a9ed5844.jpg","text":"TemporaryFile(/tmp/multipartBody8243877511435874330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123852552,"filename":"image_06012025_01_36_02_086642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1edbffbb5635dde2f8e619e1d8bca06.jpg","text":"TemporaryFile(/tmp/multipartBody1904119254028091555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123852552,"filename":"image_06012025_01_36_02_086642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea20e3a7178248d4f365588c00bc563b.jpg","text":"TemporaryFile(/tmp/multipartBody3364749706239467279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123852552,"filename":"image_06012025_01_36_02_086642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b48b2e5850554f9a1a24bfae32a08aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2994655168606832662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123852552,"filename":"image_06012025_01_35_02_620401_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917727","file1":"1326917724","file0":"1326917722","file3":"1326917729"},"map_files_photo_id_array":[{"photo_id":"1326917727","filename":"file2"},{"photo_id":"1326917724","filename":"file1"},{"photo_id":"1326917722","filename":"file0"},{"photo_id":"1326917729","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917727":["hashtag1","hashtag2"]},{"1326917724":["hashtag1","hashtag2"]},{"1326917729":["hashtag1","hashtag2"]},{"1326917722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917727, 1326917724, 1326917729, 1326917722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.323246002197266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:37:02.983316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:37:22.211622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0003.jpg', '/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0000.jpg', '/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/36/image_06012025_01_36_02_086642_0003.jpg
/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0000.jpg
/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917780","1326917746","1326917809"],"photo_ids_order":["1326917746","1326917780","1326917809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23dcec16cfae59f7723874e655bdc1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8265654111479060690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123909663,"filename":"image_06012025_01_37_03_149164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf7507a76b2ebcd00b4e40a48e5d56b2.jpg","text":"TemporaryFile(/tmp/multipartBody5131149869633326936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123909663,"filename":"image_06012025_01_36_02_086642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1765fffe486ff53e5e51a1c195f42d38.jpg","text":"TemporaryFile(/tmp/multipartBody5562114916611192868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123909663,"filename":"image_06012025_01_37_03_149164_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917809","file1":"1326917780","file0":"1326917746"},"map_files_photo_id_array":[{"photo_id":"1326917809","filename":"file2"},{"photo_id":"1326917780","filename":"file1"},{"photo_id":"1326917746","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917780":["hashtag1","hashtag2"]},{"1326917746":["hashtag1","hashtag2"]},{"1326917809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917780, 1326917746, 1326917809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.22802186012268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:38:02.436104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:38:21.998114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0003.jpg', '/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0000.jpg', '/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/37/image_06012025_01_37_03_149164_0003.jpg
/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0000.jpg
/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917829","1326917834","1326917831"],"photo_ids_order":["1326917829","1326917831","1326917834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/349e2b651a21fd1128c8bcd52773b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4012032733809941707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123969431,"filename":"image_06012025_01_37_03_149164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/560019787df32c9aea44fc3138bd616f.jpg","text":"TemporaryFile(/tmp/multipartBody4283884712830052890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123969431,"filename":"image_06012025_01_38_02_634701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5f94ca2247dd7571c81d8f654395a31.jpg","text":"TemporaryFile(/tmp/multipartBody2878273952384108529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736123969431,"filename":"image_06012025_01_38_02_634701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917834","file1":"1326917831","file0":"1326917829"},"map_files_photo_id_array":[{"photo_id":"1326917834","filename":"file2"},{"photo_id":"1326917831","filename":"file1"},{"photo_id":"1326917829","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917829":["hashtag1","hashtag2"]},{"1326917834":["hashtag1","hashtag2"]},{"1326917831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917829, 1326917834, 1326917831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.34372067451477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:39:03.111110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:39:22.503942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0003.jpg', '/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0000.jpg', '/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0001.jpg', '/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/38/image_06012025_01_38_02_634701_0003.jpg
/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0000.jpg
/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0001.jpg
/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326917850","1326917852","1326917843","1326917845"],"photo_ids_order":["1326917843","1326917845","1326917850","1326917852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02519d3ce798e31fa44c64e8dc212796.jpg","text":"TemporaryFile(/tmp/multipartBody7481725348572680572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124032237,"filename":"image_06012025_01_39_02_397894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edb7ac8cf1839b8149e8aade38e17a37.jpg","text":"TemporaryFile(/tmp/multipartBody4410163737793903940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124032237,"filename":"image_06012025_01_39_02_397894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef5e02c1a01a75ad8bac2ae3f5d8c784.jpg","text":"TemporaryFile(/tmp/multipartBody6350645959324916844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124032237,"filename":"image_06012025_01_38_02_634701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e12b8bc6f232c9811df63a7db07680fd.jpg","text":"TemporaryFile(/tmp/multipartBody7702427932023425342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124032237,"filename":"image_06012025_01_39_02_397894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326917850","file1":"1326917845","file0":"1326917843","file3":"1326917852"},"map_files_photo_id_array":[{"photo_id":"1326917850","filename":"file2"},{"photo_id":"1326917845","filename":"file1"},{"photo_id":"1326917843","filename":"file0"},{"photo_id":"1326917852","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326917850":["hashtag1","hashtag2"]},{"1326917852":["hashtag1","hashtag2"]},{"1326917843":["hashtag1","hashtag2"]},{"1326917845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326917850, 1326917852, 1326917843, 1326917845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1516649723053 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-06 01:40:22.224977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0003.jpg', '/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0000.jpg', '/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0003.jpg
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0000.jpg
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_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.087245225906372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:41:03.297736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0003.jpg', '/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0000.jpg', '/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/39/image_06012025_01_39_02_397894_0003.jpg
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0000.jpg
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918170","1326918169","1326918168"],"photo_ids_order":["1326918168","1326918169","1326918170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98a6a98c6c3ae3c5eedbe3356c84b398.jpg","text":"TemporaryFile(/tmp/multipartBody8991965988640018321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124130829,"filename":"image_06012025_01_40_02_899046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb4478462c61e83bca68ca95a0e98928.jpg","text":"TemporaryFile(/tmp/multipartBody1255364470497710938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124130829,"filename":"image_06012025_01_40_02_899046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4acbca13494f8a3d410d762a4f6a4af9.jpg","text":"TemporaryFile(/tmp/multipartBody5104669692819258697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124130829,"filename":"image_06012025_01_39_02_397894_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918170","file1":"1326918169","file0":"1326918168"},"map_files_photo_id_array":[{"photo_id":"1326918170","filename":"file2"},{"photo_id":"1326918169","filename":"file1"},{"photo_id":"1326918168","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918170":["hashtag1","hashtag2"]},{"1326918169":["hashtag1","hashtag2"]},{"1326918168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918170, 1326918169, 1326918168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.708368062973022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:42:02.945491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0003.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0000.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0001.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0003.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0000.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0001.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_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.307668447494507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:42:22.501904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0003.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0000.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0001.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0002.jpg', '/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0003.jpg', '/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/40/image_06012025_01_40_02_899046_0003.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0000.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0001.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0002.jpg
/home/pi/Desktop/images/06012025/01/41/image_06012025_01_41_02_569561_0003.jpg
/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918188","1326918182","1326918191","1326918193","1326918184","1326918195"],"photo_ids_order":["1326918182","1326918184","1326918188","1326918191","1326918193","1326918195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a468f64b8a9553688173b07667e9ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2596852518683011150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_41_02_569561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e1fab41ab67ea6b416cdf4ee0949240.jpg","text":"TemporaryFile(/tmp/multipartBody3347414256129394897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_40_02_899046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2cd9135e82553acb78940f72d3d6f4f.jpg","text":"TemporaryFile(/tmp/multipartBody9057568200684127530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_41_02_569561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c448a483a15d0e2048c4ae57566b787b.jpg","text":"TemporaryFile(/tmp/multipartBody2316426555564534495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_41_02_569561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1fa738cc8afd7efa142075ef03af9e3.jpg","text":"TemporaryFile(/tmp/multipartBody4917569015311371961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_41_02_569561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57b35d0522a32b5ef5dff2f13cc78d62.jpg","text":"TemporaryFile(/tmp/multipartBody5179523477129282165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124216721,"filename":"image_06012025_01_42_03_074924_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918188","file1":"1326918184","file0":"1326918182","file4":"1326918193","file5":"1326918195","file3":"1326918191"},"map_files_photo_id_array":[{"photo_id":"1326918195","filename":"file5"},{"photo_id":"1326918188","filename":"file2"},{"photo_id":"1326918193","filename":"file4"},{"photo_id":"1326918184","filename":"file1"},{"photo_id":"1326918182","filename":"file0"},{"photo_id":"1326918191","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918188":["hashtag1","hashtag2"]},{"1326918182":["hashtag1","hashtag2"]},{"1326918191":["hashtag1","hashtag2"]},{"1326918193":["hashtag1","hashtag2"]},{"1326918184":["hashtag1","hashtag2"]},{"1326918195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918188, 1326918182, 1326918191, 1326918193, 1326918184, 1326918195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86561369895935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:43:22.004868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0001.jpg', '/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0002.jpg', '/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0000.jpg', '/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0001.jpg
/home/pi/Desktop/images/06012025/01/42/image_06012025_01_42_03_074924_0002.jpg
/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0000.jpg
/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918230","1326918232","1326918234","1326918228"],"photo_ids_order":["1326918228","1326918230","1326918232","1326918234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/904eb8aa98b1def90d621bd531f57188.jpg","text":"TemporaryFile(/tmp/multipartBody1671480985123116145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124271707,"filename":"image_06012025_01_42_03_074924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/574b143f8dd12e957f9c0a289b14832e.jpg","text":"TemporaryFile(/tmp/multipartBody7628928857431246469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124271707,"filename":"image_06012025_01_43_02_881730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04754da446219e1cf9757751ecbedd12.jpg","text":"TemporaryFile(/tmp/multipartBody5399649263087542037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124271707,"filename":"image_06012025_01_43_02_881730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf04dd400ae6cf334067770600fc9a6d.jpg","text":"TemporaryFile(/tmp/multipartBody2460590742279651267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124271707,"filename":"image_06012025_01_42_03_074924_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918232","file1":"1326918230","file0":"1326918228","file3":"1326918234"},"map_files_photo_id_array":[{"photo_id":"1326918232","filename":"file2"},{"photo_id":"1326918230","filename":"file1"},{"photo_id":"1326918228","filename":"file0"},{"photo_id":"1326918234","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918230":["hashtag1","hashtag2"]},{"1326918232":["hashtag1","hashtag2"]},{"1326918234":["hashtag1","hashtag2"]},{"1326918228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918230, 1326918232, 1326918234, 1326918228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.845269441604614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:44:02.900455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:44:22.506892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0003.jpg', '/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0003.jpg
/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_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.788776159286499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:45:02.702952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0003.jpg', '/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/43/image_06012025_01_43_02_881730_0003.jpg
/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918392","1326918390"],"photo_ids_order":["1326918390","1326918392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f039e34eef1b81c5a1ea7047c35aabb.jpg","text":"TemporaryFile(/tmp/multipartBody333605126638583524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124367943,"filename":"image_06012025_01_44_02_401804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afcfa2a438f499a43b5baf2e81c81f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3280663044208490572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124367943,"filename":"image_06012025_01_43_02_881730_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326918392","file0":"1326918390"},"map_files_photo_id_array":[{"photo_id":"1326918392","filename":"file1"},{"photo_id":"1326918390","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918392":["hashtag1","hashtag2"]},{"1326918390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918392, 1326918390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.917871952056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:46:02.278374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0003.jpg', '/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0000.jpg', '/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0003.jpg
/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0000.jpg
/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_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.042787075042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:46:21.828380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0003.jpg', '/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0000.jpg', '/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0001.jpg', '/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0003.jpg', '/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0000.jpg', '/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/44/image_06012025_01_44_02_401804_0003.jpg
/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0000.jpg
/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0001.jpg
/home/pi/Desktop/images/06012025/01/45/image_06012025_01_45_02_911640_0003.jpg
/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0000.jpg
/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918522","1326918530","1326918524","1326918532","1326918526","1326918528"],"photo_ids_order":["1326918522","1326918524","1326918526","1326918528","1326918530","1326918532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eae406fff7f34330a4bba42a0fbeb161.jpg","text":"TemporaryFile(/tmp/multipartBody5501337851752285206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_44_02_401804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bd6bbc8a27255f1c0fe439da5a6963b.jpg","text":"TemporaryFile(/tmp/multipartBody5451393286887702262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_46_02_508453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb3549fbd2b0c6a64658db6fb85ea626.jpg","text":"TemporaryFile(/tmp/multipartBody1103425992307531839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_45_02_911640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bda0feb8f2b2e8241a3c37feed8edb31.jpg","text":"TemporaryFile(/tmp/multipartBody7707148397706249665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_46_02_508453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f484d8d35cae869ea22530ff60b45b7f.jpg","text":"TemporaryFile(/tmp/multipartBody839482018569594734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_45_02_911640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fd4da058a9f9f4b248066c6f88ad411.jpg","text":"TemporaryFile(/tmp/multipartBody2547631982321249946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124456028,"filename":"image_06012025_01_45_02_911640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918526","file1":"1326918524","file0":"1326918522","file4":"1326918530","file5":"1326918532","file3":"1326918528"},"map_files_photo_id_array":[{"photo_id":"1326918532","filename":"file5"},{"photo_id":"1326918526","filename":"file2"},{"photo_id":"1326918530","filename":"file4"},{"photo_id":"1326918524","filename":"file1"},{"photo_id":"1326918522","filename":"file0"},{"photo_id":"1326918528","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918522":["hashtag1","hashtag2"]},{"1326918530":["hashtag1","hashtag2"]},{"1326918524":["hashtag1","hashtag2"]},{"1326918532":["hashtag1","hashtag2"]},{"1326918526":["hashtag1","hashtag2"]},{"1326918528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918522, 1326918530, 1326918524, 1326918532, 1326918526, 1326918528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97420406341553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:47:22.335515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0002.jpg', '/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0000.jpg', '/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0001.jpg', '/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/46/image_06012025_01_46_02_508453_0002.jpg
/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0000.jpg
/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0001.jpg
/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918539","1326918533","1326918535","1326918537"],"photo_ids_order":["1326918533","1326918535","1326918537","1326918539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f471a1b54c17d3d238ac4e5452cf00f.jpg","text":"TemporaryFile(/tmp/multipartBody8406035078273481502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124512016,"filename":"image_06012025_01_47_02_208082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bcf9e2627aabcab0485b82ebb90d1b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3910436342312542971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124512016,"filename":"image_06012025_01_46_02_508453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bc627e7385f59db8ea5e710b08e4e07.jpg","text":"TemporaryFile(/tmp/multipartBody9086034071465232955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124512016,"filename":"image_06012025_01_47_02_208082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c6d48fa5df00763273f5bf24e9f2bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6022840138654691882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124512016,"filename":"image_06012025_01_47_02_208082_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918537","file1":"1326918535","file0":"1326918533","file3":"1326918539"},"map_files_photo_id_array":[{"photo_id":"1326918537","filename":"file2"},{"photo_id":"1326918535","filename":"file1"},{"photo_id":"1326918533","filename":"file0"},{"photo_id":"1326918539","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918539":["hashtag1","hashtag2"]},{"1326918533":["hashtag1","hashtag2"]},{"1326918535":["hashtag1","hashtag2"]},{"1326918537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918539, 1326918533, 1326918535, 1326918537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.48012113571167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:48:21.833613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0003.jpg', '/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0000.jpg', '/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/47/image_06012025_01_47_02_208082_0003.jpg
/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0000.jpg
/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918544","1326918543","1326918546"],"photo_ids_order":["1326918543","1326918544","1326918546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/131a118a87b5c5f2c8a13a07a51ec40e.jpg","text":"TemporaryFile(/tmp/multipartBody1513025455092282660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124569296,"filename":"image_06012025_01_48_02_719585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45547a3f15c8cf0a9a93a57629e9b293.jpg","text":"TemporaryFile(/tmp/multipartBody2561198029352638021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124569296,"filename":"image_06012025_01_47_02_208082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4f2b289e12918abafe1ad7ff0b939c0.jpg","text":"TemporaryFile(/tmp/multipartBody1902647313654070288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124569296,"filename":"image_06012025_01_48_02_719585_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918546","file1":"1326918544","file0":"1326918543"},"map_files_photo_id_array":[{"photo_id":"1326918546","filename":"file2"},{"photo_id":"1326918544","filename":"file1"},{"photo_id":"1326918543","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918544":["hashtag1","hashtag2"]},{"1326918543":["hashtag1","hashtag2"]},{"1326918546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918544, 1326918543, 1326918546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.641053676605225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:49:03.018680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:49:22.389392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0003.jpg', '/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0000.jpg', '/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0001.jpg', '/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/48/image_06012025_01_48_02_719585_0003.jpg
/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0000.jpg
/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0001.jpg
/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918566","1326918568","1326918604","1326918570"],"photo_ids_order":["1326918566","1326918568","1326918570","1326918604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6bd8d2e80b40687f32b5d5ad150f2158.jpg","text":"TemporaryFile(/tmp/multipartBody6014497786099661853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124632085,"filename":"image_06012025_01_48_02_719585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e15f2b0b95a5c51110db448d356528a.jpg","text":"TemporaryFile(/tmp/multipartBody4530071079166653463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124632085,"filename":"image_06012025_01_49_02_270173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a54ef9a6924b9c503e352be167bf20e.jpg","text":"TemporaryFile(/tmp/multipartBody4899237363266358461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124632085,"filename":"image_06012025_01_49_02_270173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f7c7e803173949583b142d294b57731.jpg","text":"TemporaryFile(/tmp/multipartBody4110415824402872737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124632085,"filename":"image_06012025_01_49_02_270173_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918570","file1":"1326918568","file0":"1326918566","file3":"1326918604"},"map_files_photo_id_array":[{"photo_id":"1326918570","filename":"file2"},{"photo_id":"1326918568","filename":"file1"},{"photo_id":"1326918566","filename":"file0"},{"photo_id":"1326918604","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918566":["hashtag1","hashtag2"]},{"1326918568":["hashtag1","hashtag2"]},{"1326918604":["hashtag1","hashtag2"]},{"1326918570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918566, 1326918568, 1326918604, 1326918570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.141798973083496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:50:02.589179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:50:22.114259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0003.jpg', '/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0001.jpg', '/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0003.jpg
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0001.jpg
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_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.008060693740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:51:02.449100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0003.jpg', '/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0001.jpg', '/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/49/image_06012025_01_49_02_270173_0003.jpg
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0001.jpg
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918638","1326918637","1326918639"],"photo_ids_order":["1326918637","1326918638","1326918639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed0c96b65bf21f8734247770ac3dc1ec.jpg","text":"TemporaryFile(/tmp/multipartBody4550687760541884768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124729947,"filename":"image_06012025_01_50_02_815620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c36d751dba52e07b58a1e3fc42597057.jpg","text":"TemporaryFile(/tmp/multipartBody4037372033260468375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124729947,"filename":"image_06012025_01_49_02_270173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb940bdb3ff8048e7dc3eb40e44e9733.jpg","text":"TemporaryFile(/tmp/multipartBody2932947682334889545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124729947,"filename":"image_06012025_01_50_02_815620_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918639","file1":"1326918638","file0":"1326918637"},"map_files_photo_id_array":[{"photo_id":"1326918639","filename":"file2"},{"photo_id":"1326918638","filename":"file1"},{"photo_id":"1326918637","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918638":["hashtag1","hashtag2"]},{"1326918637":["hashtag1","hashtag2"]},{"1326918639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918638, 1326918637, 1326918639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.493706464767456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:52:02.895632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0003.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0000.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0001.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0003.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0000.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0001.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_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.350027799606323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:52:22.517043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0003.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0000.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0001.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0002.jpg', '/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0003.jpg', '/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/50/image_06012025_01_50_02_815620_0003.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0000.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0001.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0002.jpg
/home/pi/Desktop/images/06012025/01/51/image_06012025_01_51_02_644471_0003.jpg
/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918797","1326918791","1326918793","1326918787","1326918795","1326918789"],"photo_ids_order":["1326918787","1326918789","1326918791","1326918793","1326918795","1326918797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/feee6214ca6d4ba3be5b4200a1d04c0a.jpg","text":"TemporaryFile(/tmp/multipartBody845113623569885931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_52_02_143395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3866ea03b6911bfd0d1e50cbd8eb158.jpg","text":"TemporaryFile(/tmp/multipartBody4141742118139540432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_51_02_644471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e1c2955054de072445ac2942487bf6c.jpg","text":"TemporaryFile(/tmp/multipartBody6371605322079005267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_51_02_644471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e211a7663aba40712e1884fb3944a66.jpg","text":"TemporaryFile(/tmp/multipartBody6946114397044273211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_50_02_815620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4bfd4eb3e02fd46ffc82de448342a06.jpg","text":"TemporaryFile(/tmp/multipartBody3430881705485324395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_51_02_644471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e81e559206f4d4cf82ff542c04a21f7.jpg","text":"TemporaryFile(/tmp/multipartBody9086280422114793899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124816730,"filename":"image_06012025_01_51_02_644471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918791","file1":"1326918789","file0":"1326918787","file4":"1326918795","file5":"1326918797","file3":"1326918793"},"map_files_photo_id_array":[{"photo_id":"1326918797","filename":"file5"},{"photo_id":"1326918791","filename":"file2"},{"photo_id":"1326918795","filename":"file4"},{"photo_id":"1326918789","filename":"file1"},{"photo_id":"1326918787","filename":"file0"},{"photo_id":"1326918793","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918797":["hashtag1","hashtag2"]},{"1326918791":["hashtag1","hashtag2"]},{"1326918793":["hashtag1","hashtag2"]},{"1326918787":["hashtag1","hashtag2"]},{"1326918795":["hashtag1","hashtag2"]},{"1326918789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918797, 1326918791, 1326918793, 1326918787, 1326918795, 1326918789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.803011417388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:53:22.004147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0002.jpg', '/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0003.jpg', '/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0000.jpg', '/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0002.jpg
/home/pi/Desktop/images/06012025/01/52/image_06012025_01_52_02_143395_0003.jpg
/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0000.jpg
/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918800","1326918798","1326918802","1326918804"],"photo_ids_order":["1326918798","1326918800","1326918802","1326918804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b9340720cac2ef41478f5059403bd36.jpg","text":"TemporaryFile(/tmp/multipartBody5105473646768149116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124871825,"filename":"image_06012025_01_52_02_143395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30eea0cc4d7ae515b842802ef1599feb.jpg","text":"TemporaryFile(/tmp/multipartBody2250158657692054198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124871825,"filename":"image_06012025_01_52_02_143395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b68a66681d18b9093ceac13b7a3a903.jpg","text":"TemporaryFile(/tmp/multipartBody179400781584158268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124871825,"filename":"image_06012025_01_53_02_841055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cc8e01bb096455b2d17f0fa8da65feb.jpg","text":"TemporaryFile(/tmp/multipartBody5883378059240934152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124871825,"filename":"image_06012025_01_53_02_841055_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918802","file1":"1326918800","file0":"1326918798","file3":"1326918804"},"map_files_photo_id_array":[{"photo_id":"1326918802","filename":"file2"},{"photo_id":"1326918800","filename":"file1"},{"photo_id":"1326918798","filename":"file0"},{"photo_id":"1326918804","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918800":["hashtag1","hashtag2"]},{"1326918798":["hashtag1","hashtag2"]},{"1326918802":["hashtag1","hashtag2"]},{"1326918804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918800, 1326918798, 1326918802, 1326918804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88193368911743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:54:22.514460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0002.jpg', '/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0000.jpg', '/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0001.jpg', '/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/53/image_06012025_01_53_02_841055_0002.jpg
/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0000.jpg
/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0001.jpg
/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918896","1326918890","1326918892","1326918895"],"photo_ids_order":["1326918890","1326918892","1326918895","1326918896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/195f4cac6136111be2e14d0cf07a6f26.jpg","text":"TemporaryFile(/tmp/multipartBody4741258088201180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124932413,"filename":"image_06012025_01_54_02_338299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1281d50aecbd892e5225c26c627027fe.jpg","text":"TemporaryFile(/tmp/multipartBody8980114141045190717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124932413,"filename":"image_06012025_01_53_02_841055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ae842129cbc796d9ae7431346786a33.jpg","text":"TemporaryFile(/tmp/multipartBody3667163122855607008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124932413,"filename":"image_06012025_01_54_02_338299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7767498869574394c5e39558005bbe9c.jpg","text":"TemporaryFile(/tmp/multipartBody76394010147320965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124932413,"filename":"image_06012025_01_54_02_338299_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918895","file1":"1326918892","file0":"1326918890","file3":"1326918896"},"map_files_photo_id_array":[{"photo_id":"1326918895","filename":"file2"},{"photo_id":"1326918892","filename":"file1"},{"photo_id":"1326918890","filename":"file0"},{"photo_id":"1326918896","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918896":["hashtag1","hashtag2"]},{"1326918890":["hashtag1","hashtag2"]},{"1326918892":["hashtag1","hashtag2"]},{"1326918895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918896, 1326918890, 1326918892, 1326918895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57574486732483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:55:21.998947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0003.jpg', '/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0000.jpg', '/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0001.jpg', '/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/54/image_06012025_01_54_02_338299_0003.jpg
/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0000.jpg
/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0001.jpg
/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326918911","1326918949","1326918913","1326918951"],"photo_ids_order":["1326918911","1326918913","1326918949","1326918951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1702f501b2da98598898d2b947264eac.jpg","text":"TemporaryFile(/tmp/multipartBody141026670722206682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124991961,"filename":"image_06012025_01_54_02_338299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18316f2d654dfb200875a478086e060e.jpg","text":"TemporaryFile(/tmp/multipartBody7326554648875675870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124991961,"filename":"image_06012025_01_55_02_857423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d827f156ac9bb8dc692d79731a49d59.jpg","text":"TemporaryFile(/tmp/multipartBody7076657071679169095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124991961,"filename":"image_06012025_01_55_02_857423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20112eb876433fba921548c489952738.jpg","text":"TemporaryFile(/tmp/multipartBody8096299636770127926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736124991961,"filename":"image_06012025_01_55_02_857423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326918949","file1":"1326918913","file0":"1326918911","file3":"1326918951"},"map_files_photo_id_array":[{"photo_id":"1326918949","filename":"file2"},{"photo_id":"1326918913","filename":"file1"},{"photo_id":"1326918911","filename":"file0"},{"photo_id":"1326918951","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326918911":["hashtag1","hashtag2"]},{"1326918949":["hashtag1","hashtag2"]},{"1326918913":["hashtag1","hashtag2"]},{"1326918951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326918911, 1326918949, 1326918913, 1326918951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.351083517074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:56:02.901759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 01:56:22.481978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0003.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0000.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0001.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0003.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0000.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0001.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_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.376816511154175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:57:02.558140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0003.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0000.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0001.jpg', '/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/55/image_06012025_01_55_02_857423_0003.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0000.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0001.jpg
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326919294","1326919342","1326919341","1326919295"],"photo_ids_order":["1326919294","1326919295","1326919341","1326919342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/292da04d2cffbc04441b55ee8f38e1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6826843251667530808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125092430,"filename":"image_06012025_01_55_02_857423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c1fcc9328ec85076af061bd59867113.jpg","text":"TemporaryFile(/tmp/multipartBody2763864112562424419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125092430,"filename":"image_06012025_01_56_02_347641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25ddddb6620d7e24b4a7a3b076935ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2195093398445047415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125092430,"filename":"image_06012025_01_56_02_347641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38fb14a8680affa818bd912e534c11ec.jpg","text":"TemporaryFile(/tmp/multipartBody2337731208441364672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125092430,"filename":"image_06012025_01_56_02_347641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326919341","file1":"1326919295","file0":"1326919294","file3":"1326919342"},"map_files_photo_id_array":[{"photo_id":"1326919341","filename":"file2"},{"photo_id":"1326919295","filename":"file1"},{"photo_id":"1326919294","filename":"file0"},{"photo_id":"1326919342","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326919294":["hashtag1","hashtag2"]},{"1326919342":["hashtag1","hashtag2"]},{"1326919341":["hashtag1","hashtag2"]},{"1326919295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326919294, 1326919342, 1326919341, 1326919295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77804732322693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 01:59:02.543918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0003.jpg', '/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0000.jpg', '/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0001.jpg', '/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0002.jpg', '/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0003.jpg', '/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/56/image_06012025_01_56_02_347641_0003.jpg
/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0000.jpg
/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0001.jpg
/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0002.jpg
/home/pi/Desktop/images/06012025/01/57/image_06012025_01_57_02_854973_0003.jpg
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326920636","1326920639","1326920638","1326920632","1326920634","1326920622"],"photo_ids_order":["1326920622","1326920632","1326920634","1326920636","1326920638","1326920639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79b41b61c3426101b1c26cfe86dddc82.jpg","text":"TemporaryFile(/tmp/multipartBody4320663422166991037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_57_02_854973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f00b3fe13abc013e437296188e93367.jpg","text":"TemporaryFile(/tmp/multipartBody5780247739602670321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_58_02_479744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a46b0cc9bbc93d2d5d5845041e17eddf.jpg","text":"TemporaryFile(/tmp/multipartBody8848019095617615456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_57_02_854973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee0f2908b3db80c64bb7b90b61f55a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6899539311702051390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_57_02_854973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af14e3c8a2dabb5415ecca2a250e96e0.jpg","text":"TemporaryFile(/tmp/multipartBody8463583253652006081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_57_02_854973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/855a46e4911c48d298a1003b5cf0fa6e.jpg","text":"TemporaryFile(/tmp/multipartBody8199285162863780387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125216836,"filename":"image_06012025_01_56_02_347641_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326920634","file1":"1326920632","file0":"1326920622","file4":"1326920638","file5":"1326920639","file3":"1326920636"},"map_files_photo_id_array":[{"photo_id":"1326920639","filename":"file5"},{"photo_id":"1326920634","filename":"file2"},{"photo_id":"1326920638","filename":"file4"},{"photo_id":"1326920632","filename":"file1"},{"photo_id":"1326920622","filename":"file0"},{"photo_id":"1326920636","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326920636":["hashtag1","hashtag2"]},{"1326920639":["hashtag1","hashtag2"]},{"1326920638":["hashtag1","hashtag2"]},{"1326920632":["hashtag1","hashtag2"]},{"1326920634":["hashtag1","hashtag2"]},{"1326920622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326920636, 1326920639, 1326920638, 1326920632, 1326920634, 1326920622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5332293510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:00:02.793433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0001.jpg', '/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0002.jpg', '/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0003.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0000.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0001.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0001.jpg
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0002.jpg
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0003.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0000.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0001.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_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.244777202606201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:00:22.552135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0001.jpg', '/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0002.jpg', '/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0003.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0000.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0001.jpg', '/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0001.jpg
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0002.jpg
/home/pi/Desktop/images/06012025/01/58/image_06012025_01_58_02_479744_0003.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0000.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0001.jpg
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326920805","1326920795","1326920677","1326920793","1326920679","1326920721"],"photo_ids_order":["1326920677","1326920679","1326920721","1326920793","1326920795","1326920805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbe9c91aa6c730ca4d57116910de7cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7529228929693124759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_59_03_075464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89bcf5418b673bc0278df72916d45004.jpg","text":"TemporaryFile(/tmp/multipartBody5403241550194923686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_59_03_075464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4fa4dbf71a413c8c427fd443dd638dc.jpg","text":"TemporaryFile(/tmp/multipartBody3932928902123282647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_58_02_479744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a1964ab5ac228152f138b129031198f.jpg","text":"TemporaryFile(/tmp/multipartBody6583930535639258877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_59_03_075464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f0d60a1509771f4ad6c002506bbcd1a.jpg","text":"TemporaryFile(/tmp/multipartBody5164551724428324587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_58_02_479744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aecebd14c66a64acf823d281c1ad62e5.jpg","text":"TemporaryFile(/tmp/multipartBody8510114157298778298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125297159,"filename":"image_06012025_01_58_02_479744_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326920721","file1":"1326920679","file0":"1326920677","file4":"1326920795","file5":"1326920805","file3":"1326920793"},"map_files_photo_id_array":[{"photo_id":"1326920805","filename":"file5"},{"photo_id":"1326920721","filename":"file2"},{"photo_id":"1326920795","filename":"file4"},{"photo_id":"1326920679","filename":"file1"},{"photo_id":"1326920677","filename":"file0"},{"photo_id":"1326920793","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326920805":["hashtag1","hashtag2"]},{"1326920795":["hashtag1","hashtag2"]},{"1326920677":["hashtag1","hashtag2"]},{"1326920793":["hashtag1","hashtag2"]},{"1326920679":["hashtag1","hashtag2"]},{"1326920721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326920805, 1326920795, 1326920677, 1326920793, 1326920679, 1326920721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.14698338508606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:01:21.959979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0003.jpg', '/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0000.jpg', '/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0001.jpg', '/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0002.jpg', '/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0003.jpg', '/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/01/59/image_06012025_01_59_03_075464_0003.jpg
/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0000.jpg
/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0001.jpg
/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0002.jpg
/home/pi/Desktop/images/06012025/02/00/image_06012025_02_00_02_290855_0003.jpg
/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921161","1326921155","1326921163","1326921157","1326921165","1326921159"],"photo_ids_order":["1326921155","1326921157","1326921159","1326921161","1326921163","1326921165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58d719f2931109c41629ccc90c1e97c8.jpg","text":"TemporaryFile(/tmp/multipartBody1302515869665032302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_02_00_02_290855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d85d8b0ba4eddb3ff1cba93b8e97a6d.jpg","text":"TemporaryFile(/tmp/multipartBody99216342262516994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_01_59_03_075464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ec1a9bee3bd8bad4f685e3c6c40bd3c.jpg","text":"TemporaryFile(/tmp/multipartBody4435275453072559812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_02_00_02_290855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0dbc674f48a79c4ceb2e520ec70307d.jpg","text":"TemporaryFile(/tmp/multipartBody8510407526091301934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_02_00_02_290855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3aefb58f935abac1e9dc61dfaac6a10c.jpg","text":"TemporaryFile(/tmp/multipartBody4471844067695632602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_02_01_02_843847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ab35ced0f417f7fb4a2106f147323ac.jpg","text":"TemporaryFile(/tmp/multipartBody1144751548126941236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125357088,"filename":"image_06012025_02_00_02_290855_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921159","file1":"1326921157","file0":"1326921155","file4":"1326921163","file5":"1326921165","file3":"1326921161"},"map_files_photo_id_array":[{"photo_id":"1326921165","filename":"file5"},{"photo_id":"1326921159","filename":"file2"},{"photo_id":"1326921163","filename":"file4"},{"photo_id":"1326921157","filename":"file1"},{"photo_id":"1326921155","filename":"file0"},{"photo_id":"1326921161","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921161":["hashtag1","hashtag2"]},{"1326921155":["hashtag1","hashtag2"]},{"1326921163":["hashtag1","hashtag2"]},{"1326921157":["hashtag1","hashtag2"]},{"1326921165":["hashtag1","hashtag2"]},{"1326921159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921161, 1326921155, 1326921163, 1326921157, 1326921165, 1326921159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4883234500885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:02:22.597357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0001.jpg', '/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0002.jpg', '/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0003.jpg', '/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0000.jpg', '/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0001.jpg', '/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0001.jpg
/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0002.jpg
/home/pi/Desktop/images/06012025/02/01/image_06012025_02_01_02_843847_0003.jpg
/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0000.jpg
/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0001.jpg
/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_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":["1326921212","1326921209","1326921214","1326921201","1326921204","1326921207"],"photo_ids_order":["1326921201","1326921204","1326921207","1326921209","1326921212","1326921214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ed8243325e8d6e1a2f31180e914dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody3368676104219442797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_02_02_425661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a749007385025895b4e3ff80b19b6d9.jpg","text":"TemporaryFile(/tmp/multipartBody6277818214467574558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_02_02_425661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e88ce8c086ac04c2afcfaf1510fe44e5.jpg","text":"TemporaryFile(/tmp/multipartBody475070714132451469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_02_02_425661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51e77f62653d5f02fc9cebc4929b8b94.jpg","text":"TemporaryFile(/tmp/multipartBody3852194793639041121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_01_02_843847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d15d00d9699890a2c043bd0ae7e2331.jpg","text":"TemporaryFile(/tmp/multipartBody327194494716007552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_01_02_843847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9a39d4126c61fa53bb7f4a5925c3fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1036442486366788254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125417596,"filename":"image_06012025_02_01_02_843847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921207","file1":"1326921204","file0":"1326921201","file4":"1326921212","file5":"1326921214","file3":"1326921209"},"map_files_photo_id_array":[{"photo_id":"1326921214","filename":"file5"},{"photo_id":"1326921207","filename":"file2"},{"photo_id":"1326921212","filename":"file4"},{"photo_id":"1326921204","filename":"file1"},{"photo_id":"1326921201","filename":"file0"},{"photo_id":"1326921209","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921212":["hashtag1","hashtag2"]},{"1326921209":["hashtag1","hashtag2"]},{"1326921214":["hashtag1","hashtag2"]},{"1326921201":["hashtag1","hashtag2"]},{"1326921204":["hashtag1","hashtag2"]},{"1326921207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921212, 1326921209, 1326921214, 1326921201, 1326921204, 1326921207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.361873388290405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:04:02.982058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0003.jpg', '/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0001.jpg', '/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0003.jpg
/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0001.jpg
/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_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.419919729232788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:04:22.581460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0003.jpg', '/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0001.jpg', '/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0002.jpg', '/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0003.jpg', '/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0000.jpg', '/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/02/image_06012025_02_02_02_425661_0003.jpg
/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0001.jpg
/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0002.jpg
/home/pi/Desktop/images/06012025/02/03/image_06012025_02_03_02_933843_0003.jpg
/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0000.jpg
/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921242","1326921292","1326921305","1326921307","1326921301","1326921303"],"photo_ids_order":["1326921242","1326921292","1326921301","1326921303","1326921305","1326921307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9dc13ddb002cc56d33640fcc1bff6d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4699685370293544248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_02_02_425661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/505f681d78e39ca4be496b36294e181f.jpg","text":"TemporaryFile(/tmp/multipartBody93158943551274509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_03_02_933843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2873fdbe2e180743f675168927b156f.jpg","text":"TemporaryFile(/tmp/multipartBody7093759797515879307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_04_02_429126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6bc39fd1745c95f715db918677783b72.jpg","text":"TemporaryFile(/tmp/multipartBody5187296767746006343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_04_02_429126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4b34946c374edb917667f1625fc3915.jpg","text":"TemporaryFile(/tmp/multipartBody6813327652902251200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_03_02_933843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f3d2046c1f219bd85d554ba172296294.jpg","text":"TemporaryFile(/tmp/multipartBody4746827555159665839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125537483,"filename":"image_06012025_02_03_02_933843_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921301","file1":"1326921292","file0":"1326921242","file4":"1326921305","file5":"1326921307","file3":"1326921303"},"map_files_photo_id_array":[{"photo_id":"1326921307","filename":"file5"},{"photo_id":"1326921301","filename":"file2"},{"photo_id":"1326921305","filename":"file4"},{"photo_id":"1326921292","filename":"file1"},{"photo_id":"1326921242","filename":"file0"},{"photo_id":"1326921303","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921242":["hashtag1","hashtag2"]},{"1326921292":["hashtag1","hashtag2"]},{"1326921305":["hashtag1","hashtag2"]},{"1326921307":["hashtag1","hashtag2"]},{"1326921301":["hashtag1","hashtag2"]},{"1326921303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921242, 1326921292, 1326921305, 1326921307, 1326921301, 1326921303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.04377222061157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:05:22.068332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0002.jpg', '/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0003.jpg', '/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0000.jpg', '/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0001.jpg', '/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0002.jpg
/home/pi/Desktop/images/06012025/02/04/image_06012025_02_04_02_429126_0003.jpg
/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0000.jpg
/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0001.jpg
/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921437","1326921433","1326921442","1326921439","1326921435"],"photo_ids_order":["1326921433","1326921435","1326921437","1326921439","1326921442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c8c1bc6542fd34c6cf2772abf01c98f.jpg","text":"TemporaryFile(/tmp/multipartBody5620231806157849091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125594707,"filename":"image_06012025_02_05_02_957598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb4f1b956f3d8dc2e40af2d65810a3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6722328793281743000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125594707,"filename":"image_06012025_02_04_02_429126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f00212d682ed477689c2ce28ebff897f.jpg","text":"TemporaryFile(/tmp/multipartBody4913117104653806510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125594707,"filename":"image_06012025_02_05_02_957598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84d42da0c1312e760e6ba51e2b131b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2712397545665606067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125594707,"filename":"image_06012025_02_05_02_957598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23d017194faf4e8aedf40e9ba2c32b41.jpg","text":"TemporaryFile(/tmp/multipartBody7172697239354315769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125594707,"filename":"image_06012025_02_04_02_429126_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921437","file1":"1326921435","file0":"1326921433","file4":"1326921442","file3":"1326921439"},"map_files_photo_id_array":[{"photo_id":"1326921437","filename":"file2"},{"photo_id":"1326921442","filename":"file4"},{"photo_id":"1326921435","filename":"file1"},{"photo_id":"1326921433","filename":"file0"},{"photo_id":"1326921439","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921437":["hashtag1","hashtag2"]},{"1326921433":["hashtag1","hashtag2"]},{"1326921442":["hashtag1","hashtag2"]},{"1326921439":["hashtag1","hashtag2"]},{"1326921435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921437, 1326921433, 1326921442, 1326921439, 1326921435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 56.38620972633362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:06:22.594257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0003.jpg', '/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0000.jpg', '/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0001.jpg', '/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/05/image_06012025_02_05_02_957598_0003.jpg
/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0000.jpg
/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0001.jpg
/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921446","1326921444","1326921548","1326921449"],"photo_ids_order":["1326921444","1326921446","1326921449","1326921548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/633580247a2b1ccba74d5f8cf2831654.jpg","text":"TemporaryFile(/tmp/multipartBody6841222157398576145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125653102,"filename":"image_06012025_02_06_02_463789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbdced114e796d94e1d5be627954aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody1922585316598911252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125653102,"filename":"image_06012025_02_05_02_957598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e140943d2813768c179e79274ad26df9.jpg","text":"TemporaryFile(/tmp/multipartBody7924883104460256720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125653102,"filename":"image_06012025_02_06_02_463789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5dd18090524b11ee10e0dc8225a7938.jpg","text":"TemporaryFile(/tmp/multipartBody6652304870589566789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125653102,"filename":"image_06012025_02_06_02_463789_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921449","file1":"1326921446","file0":"1326921444","file3":"1326921548"},"map_files_photo_id_array":[{"photo_id":"1326921449","filename":"file2"},{"photo_id":"1326921446","filename":"file1"},{"photo_id":"1326921444","filename":"file0"},{"photo_id":"1326921548","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921446":["hashtag1","hashtag2"]},{"1326921444":["hashtag1","hashtag2"]},{"1326921548":["hashtag1","hashtag2"]},{"1326921449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921446, 1326921444, 1326921548, 1326921449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.04565715789795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:07:22.145761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0003.jpg', '/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0000.jpg', '/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0001.jpg', '/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/06/image_06012025_02_06_02_463789_0003.jpg
/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0000.jpg
/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0001.jpg
/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921563","1326921565","1326921561","1326921567"],"photo_ids_order":["1326921561","1326921563","1326921565","1326921567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/def235da186a913db224fa6065643515.jpg","text":"TemporaryFile(/tmp/multipartBody4610797003251973813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125712563,"filename":"image_06012025_02_07_02_987271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c95c0d2ecd3ad27bcf9bc481fb5288e.jpg","text":"TemporaryFile(/tmp/multipartBody1568772282213991205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125712563,"filename":"image_06012025_02_07_02_987271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/604865814bf0d29c2a39b668cd684d31.jpg","text":"TemporaryFile(/tmp/multipartBody1666146227581686666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125712563,"filename":"image_06012025_02_06_02_463789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16d417d112dfe98874a50df078a98be4.jpg","text":"TemporaryFile(/tmp/multipartBody3230182261639268555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125712563,"filename":"image_06012025_02_07_02_987271_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921565","file1":"1326921563","file0":"1326921561","file3":"1326921567"},"map_files_photo_id_array":[{"photo_id":"1326921565","filename":"file2"},{"photo_id":"1326921563","filename":"file1"},{"photo_id":"1326921561","filename":"file0"},{"photo_id":"1326921567","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921563":["hashtag1","hashtag2"]},{"1326921565":["hashtag1","hashtag2"]},{"1326921561":["hashtag1","hashtag2"]},{"1326921567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921563, 1326921565, 1326921561, 1326921567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43923997879028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:08:21.787148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0003.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0000.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0001.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0003.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0000.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0001.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_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.94909930229187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:09:02.837691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0003.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0000.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0001.jpg', '/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/07/image_06012025_02_07_02_987271_0003.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0000.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0001.jpg
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921611","1326921628","1326921610","1326921627"],"photo_ids_order":["1326921610","1326921611","1326921627","1326921628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76507f24a36ef14a80853343b8ba068c.jpg","text":"TemporaryFile(/tmp/multipartBody2438874265372321517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125813264,"filename":"image_06012025_02_08_02_644628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0dd9a107366f9cfe4ab1078255f64fba.jpg","text":"TemporaryFile(/tmp/multipartBody2858528338660860389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125813264,"filename":"image_06012025_02_08_02_644628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fdc2072cb09630f63d0608d9e4d8011.jpg","text":"TemporaryFile(/tmp/multipartBody4184003820688270523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125813264,"filename":"image_06012025_02_07_02_987271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ea6a54d5b2d46452896a623bb9964a6.jpg","text":"TemporaryFile(/tmp/multipartBody8337584600915078850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125813264,"filename":"image_06012025_02_08_02_644628_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921627","file1":"1326921611","file0":"1326921610","file3":"1326921628"},"map_files_photo_id_array":[{"photo_id":"1326921627","filename":"file2"},{"photo_id":"1326921611","filename":"file1"},{"photo_id":"1326921610","filename":"file0"},{"photo_id":"1326921628","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921611":["hashtag1","hashtag2"]},{"1326921628":["hashtag1","hashtag2"]},{"1326921610":["hashtag1","hashtag2"]},{"1326921627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921611, 1326921628, 1326921610, 1326921627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14182233810425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:10:02.445403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0003.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0000.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0001.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0003.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0000.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0001.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_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.94894814491272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:10:21.997329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0003.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0000.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0001.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0002.jpg', '/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0003.jpg', '/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/08/image_06012025_02_08_02_644628_0003.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0000.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0001.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0002.jpg
/home/pi/Desktop/images/06012025/02/09/image_06012025_02_09_02_207721_0003.jpg
/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921673","1326921667","1326921748","1326921669","1326921671","1326921665"],"photo_ids_order":["1326921665","1326921667","1326921669","1326921671","1326921673","1326921748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c947203f2c150296fea713cda9cd9fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8087860351947544200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_09_02_207721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cee8eca3acabff14022774b1be147540.jpg","text":"TemporaryFile(/tmp/multipartBody2806155166331639003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_09_02_207721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1256812dd7661054a2547db677449c92.jpg","text":"TemporaryFile(/tmp/multipartBody6021360064312591783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_10_02_726164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c12e7a11c3986d49579614e8f6c0dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4848274830107305148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_09_02_207721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a31cffd98b9eb373eea9387a01c20719.jpg","text":"TemporaryFile(/tmp/multipartBody9144638805139296984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_09_02_207721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a7bbafea3b196d962fd0f36aca37e10.jpg","text":"TemporaryFile(/tmp/multipartBody803763814054177783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125897169,"filename":"image_06012025_02_08_02_644628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921669","file1":"1326921667","file0":"1326921665","file4":"1326921673","file5":"1326921748","file3":"1326921671"},"map_files_photo_id_array":[{"photo_id":"1326921748","filename":"file5"},{"photo_id":"1326921669","filename":"file2"},{"photo_id":"1326921673","filename":"file4"},{"photo_id":"1326921667","filename":"file1"},{"photo_id":"1326921665","filename":"file0"},{"photo_id":"1326921671","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921673":["hashtag1","hashtag2"]},{"1326921667":["hashtag1","hashtag2"]},{"1326921748":["hashtag1","hashtag2"]},{"1326921669":["hashtag1","hashtag2"]},{"1326921671":["hashtag1","hashtag2"]},{"1326921665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921673, 1326921667, 1326921748, 1326921669, 1326921671, 1326921665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31789755821228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:11:22.533329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0001.jpg', '/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0002.jpg', '/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0003.jpg', '/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0000.jpg', '/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0001.jpg', '/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0001.jpg
/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0002.jpg
/home/pi/Desktop/images/06012025/02/10/image_06012025_02_10_02_726164_0003.jpg
/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0000.jpg
/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0001.jpg
/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921827","1326921821","1326921823","1326921825","1326921819","1326921828"],"photo_ids_order":["1326921819","1326921821","1326921823","1326921825","1326921827","1326921828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/681d5b90c3bfa5ec491d8bb08394ae02.jpg","text":"TemporaryFile(/tmp/multipartBody5555592597418654228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_11_02_431196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f23618f971e59230d69641d02dd0321c.jpg","text":"TemporaryFile(/tmp/multipartBody4849687724161545107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_10_02_726164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3a0fdef65050920dd51e5b9c38a1069.jpg","text":"TemporaryFile(/tmp/multipartBody4822020756194770488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_10_02_726164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17065dc8ebe566aebdcbe4bb7caec05a.jpg","text":"TemporaryFile(/tmp/multipartBody4857393574721587020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_11_02_431196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ec09446514f7dbdcfa34fd8733cd9be.jpg","text":"TemporaryFile(/tmp/multipartBody2532664255729511688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_10_02_726164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60ec1c2a7e8286125800b1fbb9c7c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody8711998857214174385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736125957577,"filename":"image_06012025_02_11_02_431196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921823","file1":"1326921821","file0":"1326921819","file4":"1326921827","file5":"1326921828","file3":"1326921825"},"map_files_photo_id_array":[{"photo_id":"1326921828","filename":"file5"},{"photo_id":"1326921823","filename":"file2"},{"photo_id":"1326921827","filename":"file4"},{"photo_id":"1326921821","filename":"file1"},{"photo_id":"1326921819","filename":"file0"},{"photo_id":"1326921825","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921827":["hashtag1","hashtag2"]},{"1326921821":["hashtag1","hashtag2"]},{"1326921823":["hashtag1","hashtag2"]},{"1326921825":["hashtag1","hashtag2"]},{"1326921819":["hashtag1","hashtag2"]},{"1326921828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921827, 1326921821, 1326921823, 1326921825, 1326921819, 1326921828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45044541358948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:12:22.088728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0003.jpg', '/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0000.jpg', '/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0001.jpg', '/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/11/image_06012025_02_11_02_431196_0003.jpg
/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0000.jpg
/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0001.jpg
/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921830","1326921838","1326921832","1326921835"],"photo_ids_order":["1326921830","1326921832","1326921835","1326921838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/806d799704bad1ba69a2b6c8852e22fc.jpg","text":"TemporaryFile(/tmp/multipartBody7171498877122171104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126012244,"filename":"image_06012025_02_11_02_431196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6338bfb3b4255adc651c977c710e3dba.jpg","text":"TemporaryFile(/tmp/multipartBody8391358916971565256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126012244,"filename":"image_06012025_02_12_02_904781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06cd684821929e5b306dc98a109f05c8.jpg","text":"TemporaryFile(/tmp/multipartBody4491823404412568733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126012244,"filename":"image_06012025_02_12_02_904781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62311a559905d93c76934609f96bffbb.jpg","text":"TemporaryFile(/tmp/multipartBody8195826279555454115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126012244,"filename":"image_06012025_02_12_02_904781_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921835","file1":"1326921832","file0":"1326921830","file3":"1326921838"},"map_files_photo_id_array":[{"photo_id":"1326921835","filename":"file2"},{"photo_id":"1326921832","filename":"file1"},{"photo_id":"1326921830","filename":"file0"},{"photo_id":"1326921838","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921830":["hashtag1","hashtag2"]},{"1326921838":["hashtag1","hashtag2"]},{"1326921832":["hashtag1","hashtag2"]},{"1326921835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921830, 1326921838, 1326921832, 1326921835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85823941230774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:13:03.069587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:13:22.590365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0003.jpg', '/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0000.jpg', '/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0001.jpg', '/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/12/image_06012025_02_12_02_904781_0003.jpg
/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0000.jpg
/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0001.jpg
/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921889","1326921883","1326921885","1326921887"],"photo_ids_order":["1326921883","1326921885","1326921887","1326921889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e697d29ddb9be12819290c92cd3ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody1634942032705508035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126072761,"filename":"image_06012025_02_13_02_451277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9d03cc63a4e3043972e7a0c8d6118dd.jpg","text":"TemporaryFile(/tmp/multipartBody4780072594582183104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126072761,"filename":"image_06012025_02_12_02_904781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4160df07836caee2ed890674e0f3aad3.jpg","text":"TemporaryFile(/tmp/multipartBody6126803741655988880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126072761,"filename":"image_06012025_02_13_02_451277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e584ae9b6d95e880ac871c085ea9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3266183280124080550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126072761,"filename":"image_06012025_02_13_02_451277_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921887","file1":"1326921885","file0":"1326921883","file3":"1326921889"},"map_files_photo_id_array":[{"photo_id":"1326921887","filename":"file2"},{"photo_id":"1326921885","filename":"file1"},{"photo_id":"1326921883","filename":"file0"},{"photo_id":"1326921889","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921889":["hashtag1","hashtag2"]},{"1326921883":["hashtag1","hashtag2"]},{"1326921885":["hashtag1","hashtag2"]},{"1326921887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921889, 1326921883, 1326921885, 1326921887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.459994316101074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:14:22.414225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0003.jpg', '/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0000.jpg', '/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0001.jpg', '/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/13/image_06012025_02_13_02_451277_0003.jpg
/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0000.jpg
/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0001.jpg
/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921905","1326921907","1326921901","1326921903"],"photo_ids_order":["1326921901","1326921903","1326921905","1326921907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efb1bb1cd3998fdd9b3ce7a5ab21aeb3.jpg","text":"TemporaryFile(/tmp/multipartBody8059449848930451801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126132781,"filename":"image_06012025_02_14_03_029881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca9914e987978d38cc88008c0268e4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6141158051483096035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126132781,"filename":"image_06012025_02_14_03_029881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b5f0934f357cbdc51fa34dc2d9d2ec5.jpg","text":"TemporaryFile(/tmp/multipartBody8226651421541630112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126132781,"filename":"image_06012025_02_13_02_451277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35a0e4c285da1c5dd1ab2dbb510b890e.jpg","text":"TemporaryFile(/tmp/multipartBody2703816620218258709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126132781,"filename":"image_06012025_02_14_03_029881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921905","file1":"1326921903","file0":"1326921901","file3":"1326921907"},"map_files_photo_id_array":[{"photo_id":"1326921905","filename":"file2"},{"photo_id":"1326921903","filename":"file1"},{"photo_id":"1326921901","filename":"file0"},{"photo_id":"1326921907","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921905":["hashtag1","hashtag2"]},{"1326921907":["hashtag1","hashtag2"]},{"1326921901":["hashtag1","hashtag2"]},{"1326921903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921905, 1326921907, 1326921901, 1326921903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54665207862854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:15:21.995265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0003.jpg', '/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0000.jpg', '/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0001.jpg', '/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/14/image_06012025_02_14_03_029881_0003.jpg
/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0000.jpg
/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0001.jpg
/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326921953","1326921949","1326921951","1326921959"],"photo_ids_order":["1326921949","1326921951","1326921953","1326921959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a6da83b6b93627f0db3c5a9ed549f13.jpg","text":"TemporaryFile(/tmp/multipartBody7788545781166937036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126192256,"filename":"image_06012025_02_15_02_821725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/980e9658c574febbf9b76ba819ae9daa.jpg","text":"TemporaryFile(/tmp/multipartBody5254538114814799255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126192256,"filename":"image_06012025_02_14_03_029881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a1635af9e9a108261d5936629edd186.jpg","text":"TemporaryFile(/tmp/multipartBody8881419229399383043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126192256,"filename":"image_06012025_02_15_02_821725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32c72f8c602ed3250979ee5eed581dce.jpg","text":"TemporaryFile(/tmp/multipartBody6334343102503568105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126192256,"filename":"image_06012025_02_15_02_821725_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326921953","file1":"1326921951","file0":"1326921949","file3":"1326921959"},"map_files_photo_id_array":[{"photo_id":"1326921953","filename":"file2"},{"photo_id":"1326921951","filename":"file1"},{"photo_id":"1326921949","filename":"file0"},{"photo_id":"1326921959","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326921953":["hashtag1","hashtag2"]},{"1326921949":["hashtag1","hashtag2"]},{"1326921951":["hashtag1","hashtag2"]},{"1326921959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326921953, 1326921949, 1326921951, 1326921959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65470218658447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:16:22.477668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0003.jpg', '/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0000.jpg', '/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0001.jpg', '/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/15/image_06012025_02_15_02_821725_0003.jpg
/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0000.jpg
/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0001.jpg
/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922121","1326922119","1326922124","1326922127"],"photo_ids_order":["1326922119","1326922121","1326922124","1326922127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ef1bdfe949ca501646d747434cfad1e.jpg","text":"TemporaryFile(/tmp/multipartBody6618109790753629130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126252761,"filename":"image_06012025_02_16_02_322772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/859f2047afd88f1e5c1d67f8c494c28f.jpg","text":"TemporaryFile(/tmp/multipartBody7164683619741183891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126252761,"filename":"image_06012025_02_15_02_821725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9cc40c83c796de41abd42fcc967ea77.jpg","text":"TemporaryFile(/tmp/multipartBody2461018559856584203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126252761,"filename":"image_06012025_02_16_02_322772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/212e3a1d3c552c86ee0575e10e16c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody8817256785600390534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126252761,"filename":"image_06012025_02_16_02_322772_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922124","file1":"1326922121","file0":"1326922119","file3":"1326922127"},"map_files_photo_id_array":[{"photo_id":"1326922124","filename":"file2"},{"photo_id":"1326922121","filename":"file1"},{"photo_id":"1326922119","filename":"file0"},{"photo_id":"1326922127","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922121":["hashtag1","hashtag2"]},{"1326922119":["hashtag1","hashtag2"]},{"1326922124":["hashtag1","hashtag2"]},{"1326922127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922121, 1326922119, 1326922124, 1326922127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.146857023239136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:17:02.663565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:17:21.970729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0003.jpg', '/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0000.jpg', '/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0001.jpg', '/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/16/image_06012025_02_16_02_322772_0003.jpg
/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0000.jpg
/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0001.jpg
/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922135","1326922140","1326922137","1326922142"],"photo_ids_order":["1326922135","1326922137","1326922140","1326922142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbbb2a2807b4e44ca40fac36a4c51643.jpg","text":"TemporaryFile(/tmp/multipartBody7539949302698632682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126312154,"filename":"image_06012025_02_16_02_322772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9afecd4ce6aacbed37dd30d083c56232.jpg","text":"TemporaryFile(/tmp/multipartBody2166585120062446148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126312154,"filename":"image_06012025_02_17_02_883866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdd6e226233caaf5c17094249bd102d9.jpg","text":"TemporaryFile(/tmp/multipartBody3419005284418374835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126312154,"filename":"image_06012025_02_17_02_883866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41155eee0b288acb69a954b3abc10291.jpg","text":"TemporaryFile(/tmp/multipartBody6967505935845642316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126312154,"filename":"image_06012025_02_17_02_883866_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922140","file1":"1326922137","file0":"1326922135","file3":"1326922142"},"map_files_photo_id_array":[{"photo_id":"1326922140","filename":"file2"},{"photo_id":"1326922137","filename":"file1"},{"photo_id":"1326922135","filename":"file0"},{"photo_id":"1326922142","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922135":["hashtag1","hashtag2"]},{"1326922140":["hashtag1","hashtag2"]},{"1326922137":["hashtag1","hashtag2"]},{"1326922142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922135, 1326922140, 1326922137, 1326922142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35496163368225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:18:22.733846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0003.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0000.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0001.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0003.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0000.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0001.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_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.748044490814209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:19:02.831276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0003.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0000.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0001.jpg', '/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/17/image_06012025_02_17_02_883866_0003.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0000.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0001.jpg
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922228","1326922230","1326922233","1326922232"],"photo_ids_order":["1326922228","1326922230","1326922232","1326922233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2322f3b02193e984412b2ffa4c310f6.jpg","text":"TemporaryFile(/tmp/multipartBody4700236088891461385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126413122,"filename":"image_06012025_02_17_02_883866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b48974969daf5e49b3dcb62cdf012330.jpg","text":"TemporaryFile(/tmp/multipartBody6708570474596584960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126413122,"filename":"image_06012025_02_18_02_449024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0dc6720b732ab2c761cae7d51d29e71a.jpg","text":"TemporaryFile(/tmp/multipartBody6650919442403654370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126413122,"filename":"image_06012025_02_18_02_449024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6151ddea6b9c79393e76062be9761e69.jpg","text":"TemporaryFile(/tmp/multipartBody8325986513222690017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126413122,"filename":"image_06012025_02_18_02_449024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922232","file1":"1326922230","file0":"1326922228","file3":"1326922233"},"map_files_photo_id_array":[{"photo_id":"1326922232","filename":"file2"},{"photo_id":"1326922230","filename":"file1"},{"photo_id":"1326922228","filename":"file0"},{"photo_id":"1326922233","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922228":["hashtag1","hashtag2"]},{"1326922230":["hashtag1","hashtag2"]},{"1326922233":["hashtag1","hashtag2"]},{"1326922232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922228, 1326922230, 1326922233, 1326922232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.627540588378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:20:02.423375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0003.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0000.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0001.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0003.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0000.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0001.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_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.848210334777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:20:21.980435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0003.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0000.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0001.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0002.jpg', '/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0003.jpg', '/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/18/image_06012025_02_18_02_449024_0003.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0000.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0001.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0002.jpg
/home/pi/Desktop/images/06012025/02/19/image_06012025_02_19_03_135363_0003.jpg
/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922282","1326922291","1326922285","1326922287","1326922284","1326922289"],"photo_ids_order":["1326922282","1326922284","1326922285","1326922287","1326922289","1326922291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a5c818799c5f9fc5467f01f3c9cec6e.jpg","text":"TemporaryFile(/tmp/multipartBody5637159710552049229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_18_02_449024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c9396aa477a61620d29fdb22ae9cf32.jpg","text":"TemporaryFile(/tmp/multipartBody7337340491747116585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_20_02_664823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7369a4f8c69b733cc4041655ad7c47da.jpg","text":"TemporaryFile(/tmp/multipartBody7598721960166057544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_19_03_135363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfc8e134c9c906f9b4e8165392b79956.jpg","text":"TemporaryFile(/tmp/multipartBody3780283489915404052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_19_03_135363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6eb547c3700f77679727b50711973ec2.jpg","text":"TemporaryFile(/tmp/multipartBody6347617529847857593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_19_03_135363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fd135773fd53aeb2efce75e153fa716.jpg","text":"TemporaryFile(/tmp/multipartBody5518064161138738942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126497023,"filename":"image_06012025_02_19_03_135363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922285","file1":"1326922284","file0":"1326922282","file4":"1326922289","file5":"1326922291","file3":"1326922287"},"map_files_photo_id_array":[{"photo_id":"1326922291","filename":"file5"},{"photo_id":"1326922285","filename":"file2"},{"photo_id":"1326922289","filename":"file4"},{"photo_id":"1326922284","filename":"file1"},{"photo_id":"1326922282","filename":"file0"},{"photo_id":"1326922287","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922282":["hashtag1","hashtag2"]},{"1326922291":["hashtag1","hashtag2"]},{"1326922285":["hashtag1","hashtag2"]},{"1326922287":["hashtag1","hashtag2"]},{"1326922284":["hashtag1","hashtag2"]},{"1326922289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922282, 1326922291, 1326922285, 1326922287, 1326922284, 1326922289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.059980392456055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:21:22.507823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0001.jpg', '/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0002.jpg', '/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0003.jpg', '/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0000.jpg', '/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0001.jpg', '/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0001.jpg
/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0002.jpg
/home/pi/Desktop/images/06012025/02/20/image_06012025_02_20_02_664823_0003.jpg
/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0000.jpg
/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0001.jpg
/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922294","1326922300","1326922296","1326922298","1326922391","1326922302"],"photo_ids_order":["1326922294","1326922296","1326922298","1326922300","1326922302","1326922391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56c48d57a265ec1b888fdf83261880c8.jpg","text":"TemporaryFile(/tmp/multipartBody7005634944163841193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_20_02_664823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e48b2bbe98a6e4e5eaa4cea7a71fb370.jpg","text":"TemporaryFile(/tmp/multipartBody4726684432334105943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_21_02_358332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0a8282ea9dc0ac93b436038d8bf289e.jpg","text":"TemporaryFile(/tmp/multipartBody5404891315878702251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_20_02_664823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbb51e7736ebf264a884547c93562a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8829590817063799668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_20_02_664823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3467970ff3178c6b07a10ada6e57afc.jpg","text":"TemporaryFile(/tmp/multipartBody7462197705414871650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_21_02_358332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f5068cbbf08713c53ea93155facbcff.jpg","text":"TemporaryFile(/tmp/multipartBody4371936571530328854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126557567,"filename":"image_06012025_02_21_02_358332_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922298","file1":"1326922296","file0":"1326922294","file4":"1326922302","file5":"1326922391","file3":"1326922300"},"map_files_photo_id_array":[{"photo_id":"1326922391","filename":"file5"},{"photo_id":"1326922298","filename":"file2"},{"photo_id":"1326922302","filename":"file4"},{"photo_id":"1326922296","filename":"file1"},{"photo_id":"1326922294","filename":"file0"},{"photo_id":"1326922300","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922294":["hashtag1","hashtag2"]},{"1326922300":["hashtag1","hashtag2"]},{"1326922296":["hashtag1","hashtag2"]},{"1326922298":["hashtag1","hashtag2"]},{"1326922391":["hashtag1","hashtag2"]},{"1326922302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922294, 1326922300, 1326922296, 1326922298, 1326922391, 1326922302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.844568729400635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:22:22.105794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0003.jpg', '/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0000.jpg', '/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0001.jpg', '/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/21/image_06012025_02_21_02_358332_0003.jpg
/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0000.jpg
/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0001.jpg
/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922395","1326922436","1326922439","1326922393"],"photo_ids_order":["1326922393","1326922395","1326922436","1326922439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04559a0ac3eedc485ae3bf56d0ce313a.jpg","text":"TemporaryFile(/tmp/multipartBody799269513775021764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126612487,"filename":"image_06012025_02_22_02_869246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c476ae3d72dc14ec5f40078b85f27b3.jpg","text":"TemporaryFile(/tmp/multipartBody2593000066152927579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126612487,"filename":"image_06012025_02_22_02_869246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc2c32855921a773161b163a39eb60f8.jpg","text":"TemporaryFile(/tmp/multipartBody5574739643232039616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126612487,"filename":"image_06012025_02_22_02_869246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12ef6c8773e51dbadb16b32b7de84276.jpg","text":"TemporaryFile(/tmp/multipartBody6113779080290345017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126612487,"filename":"image_06012025_02_21_02_358332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922436","file1":"1326922395","file0":"1326922393","file3":"1326922439"},"map_files_photo_id_array":[{"photo_id":"1326922436","filename":"file2"},{"photo_id":"1326922395","filename":"file1"},{"photo_id":"1326922393","filename":"file0"},{"photo_id":"1326922439","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922395":["hashtag1","hashtag2"]},{"1326922436":["hashtag1","hashtag2"]},{"1326922439":["hashtag1","hashtag2"]},{"1326922393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922395, 1326922436, 1326922439, 1326922393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14586424827576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:23:22.540959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0003.jpg', '/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0000.jpg', '/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0001.jpg', '/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/22/image_06012025_02_22_02_869246_0003.jpg
/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0000.jpg
/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0001.jpg
/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922450","1326922452","1326922446","1326922448"],"photo_ids_order":["1326922446","1326922448","1326922450","1326922452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b29687453eddeb4743a0a7fc975dfb08.jpg","text":"TemporaryFile(/tmp/multipartBody8985339866823794964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126672829,"filename":"image_06012025_02_23_02_413398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76eb5cc233200037eb544e538f3eedc4.jpg","text":"TemporaryFile(/tmp/multipartBody2832235699040194920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126672829,"filename":"image_06012025_02_23_02_413398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31531fa59d92c8e3d4460b02b5a0a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody4742318448481785215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126672829,"filename":"image_06012025_02_22_02_869246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25dd95f12c6bb841f7b11b377fe92e78.jpg","text":"TemporaryFile(/tmp/multipartBody3348447103537567669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126672829,"filename":"image_06012025_02_23_02_413398_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922450","file1":"1326922448","file0":"1326922446","file3":"1326922452"},"map_files_photo_id_array":[{"photo_id":"1326922450","filename":"file2"},{"photo_id":"1326922448","filename":"file1"},{"photo_id":"1326922446","filename":"file0"},{"photo_id":"1326922452","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922450":["hashtag1","hashtag2"]},{"1326922452":["hashtag1","hashtag2"]},{"1326922446":["hashtag1","hashtag2"]},{"1326922448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922450, 1326922452, 1326922446, 1326922448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28559422492981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:24:02.472709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:24:22.025884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0003.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0000.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0001.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0003.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0000.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0001.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_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.847060680389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:25:03.239534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0003.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0000.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0001.jpg', '/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/23/image_06012025_02_23_02_413398_0003.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0000.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0001.jpg
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922511","1326922590","1326922512","1326922634"],"photo_ids_order":["1326922511","1326922512","1326922590","1326922634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ea0158c4b9f2126fc07dcf6f73d7631.jpg","text":"TemporaryFile(/tmp/multipartBody4562687393317786055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126773516,"filename":"image_06012025_02_23_02_413398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0cb7e1dd72454a84d0543cb399968eb.jpg","text":"TemporaryFile(/tmp/multipartBody2928770268596225153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126773516,"filename":"image_06012025_02_24_02_930639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/145aac042ec08db2bcca34bf2912c747.jpg","text":"TemporaryFile(/tmp/multipartBody5087274191544911893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126773516,"filename":"image_06012025_02_24_02_930639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1675c0baf3f112e3529f36511db22b1.jpg","text":"TemporaryFile(/tmp/multipartBody332304213176391345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126773516,"filename":"image_06012025_02_24_02_930639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922590","file1":"1326922512","file0":"1326922511","file3":"1326922634"},"map_files_photo_id_array":[{"photo_id":"1326922590","filename":"file2"},{"photo_id":"1326922512","filename":"file1"},{"photo_id":"1326922511","filename":"file0"},{"photo_id":"1326922634","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922511":["hashtag1","hashtag2"]},{"1326922590":["hashtag1","hashtag2"]},{"1326922512":["hashtag1","hashtag2"]},{"1326922634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922511, 1326922590, 1326922512, 1326922634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56496334075928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:26:02.739762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0003.jpg', '/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0000.jpg', '/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0001.jpg', '/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/24/image_06012025_02_24_02_930639_0003.jpg
/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0000.jpg
/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0001.jpg
/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922642","1326922641","1326922644","1326922643"],"photo_ids_order":["1326922641","1326922642","1326922643","1326922644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/930c73f5bb9351203a049404d2d90d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7050485051305150141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126832985,"filename":"image_06012025_02_25_02_376919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f0071aa54da10128d8a66551c9f09ca.jpg","text":"TemporaryFile(/tmp/multipartBody3889073822985830254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126832985,"filename":"image_06012025_02_24_02_930639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/432b0301e9adeb517a2b61d1c0c40886.jpg","text":"TemporaryFile(/tmp/multipartBody692101775977371569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126832985,"filename":"image_06012025_02_25_02_376919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5b24d11ed7234849b31515a49cdf42b.jpg","text":"TemporaryFile(/tmp/multipartBody4317630338263726423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126832985,"filename":"image_06012025_02_25_02_376919_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922643","file1":"1326922642","file0":"1326922641","file3":"1326922644"},"map_files_photo_id_array":[{"photo_id":"1326922643","filename":"file2"},{"photo_id":"1326922642","filename":"file1"},{"photo_id":"1326922641","filename":"file0"},{"photo_id":"1326922644","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922642":["hashtag1","hashtag2"]},{"1326922641":["hashtag1","hashtag2"]},{"1326922644":["hashtag1","hashtag2"]},{"1326922643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922642, 1326922641, 1326922644, 1326922643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.54172611236572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:27:03.150592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0003.jpg', '/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0000.jpg', '/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0001.jpg', '/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/25/image_06012025_02_25_02_376919_0003.jpg
/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0000.jpg
/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0001.jpg
/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922654","1326922651","1326922653","1326922652"],"photo_ids_order":["1326922651","1326922652","1326922653","1326922654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cba0ce60cf8f4575b0d06f85ab1f91bf.jpg","text":"TemporaryFile(/tmp/multipartBody6914583015083614780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126893416,"filename":"image_06012025_02_26_02_981469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81575bc73a0cc0a543fd22a1f94dd33e.jpg","text":"TemporaryFile(/tmp/multipartBody5689250015555868654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126893416,"filename":"image_06012025_02_25_02_376919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/433bfa4708878dac61580262b31f2d23.jpg","text":"TemporaryFile(/tmp/multipartBody6960116962237996624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126893416,"filename":"image_06012025_02_26_02_981469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49f2d94e7632ff013c2406c2a2cc3286.jpg","text":"TemporaryFile(/tmp/multipartBody2242828338013103351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126893416,"filename":"image_06012025_02_26_02_981469_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922653","file1":"1326922652","file0":"1326922651","file3":"1326922654"},"map_files_photo_id_array":[{"photo_id":"1326922653","filename":"file2"},{"photo_id":"1326922652","filename":"file1"},{"photo_id":"1326922651","filename":"file0"},{"photo_id":"1326922654","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922654":["hashtag1","hashtag2"]},{"1326922651":["hashtag1","hashtag2"]},{"1326922653":["hashtag1","hashtag2"]},{"1326922652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922654, 1326922651, 1326922653, 1326922652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53237843513489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:28:02.812523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0003.jpg', '/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0000.jpg', '/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0001.jpg', '/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/26/image_06012025_02_26_02_981469_0003.jpg
/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0000.jpg
/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0001.jpg
/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922703","1326922702","1326922701","1326922700"],"photo_ids_order":["1326922700","1326922701","1326922702","1326922703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ad01c0f9547f36760e0e52741996222.jpg","text":"TemporaryFile(/tmp/multipartBody7490244821813090703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126953103,"filename":"image_06012025_02_27_02_554956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3dbd2d2e2f24a898ebf04b285b481bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7232793087937980003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126953103,"filename":"image_06012025_02_27_02_554956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/200c147b55f0d8eb0ed913674ec18f12.jpg","text":"TemporaryFile(/tmp/multipartBody4739550917126179004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126953103,"filename":"image_06012025_02_27_02_554956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f95511050e9c04a150761bfebee5293.jpg","text":"TemporaryFile(/tmp/multipartBody8954807673788002921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736126953103,"filename":"image_06012025_02_26_02_981469_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922702","file1":"1326922701","file0":"1326922700","file3":"1326922703"},"map_files_photo_id_array":[{"photo_id":"1326922702","filename":"file2"},{"photo_id":"1326922701","filename":"file1"},{"photo_id":"1326922700","filename":"file0"},{"photo_id":"1326922703","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922703":["hashtag1","hashtag2"]},{"1326922702":["hashtag1","hashtag2"]},{"1326922701":["hashtag1","hashtag2"]},{"1326922700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922703, 1326922702, 1326922701, 1326922700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.198652505874634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:29:02.533172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0003.jpg', '/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0000.jpg', '/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0001.jpg', '/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/27/image_06012025_02_27_02_554956_0003.jpg
/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0000.jpg
/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0001.jpg
/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922753","1326922735","1326922744","1326922779"],"photo_ids_order":["1326922735","1326922744","1326922753","1326922779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2be0bdb5f60a4370da5122c919a6ad13.jpg","text":"TemporaryFile(/tmp/multipartBody3133972991912637027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127012900,"filename":"image_06012025_02_28_03_087891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bec34ee10bebd989005e0813500f6c50.jpg","text":"TemporaryFile(/tmp/multipartBody2981792045587680226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127012900,"filename":"image_06012025_02_27_02_554956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f954d5663073a7f3406fdae2ca790d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6285658114830689483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127012900,"filename":"image_06012025_02_28_03_087891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59c85a7c21a5e35e19f71c288d475718.jpg","text":"TemporaryFile(/tmp/multipartBody2873613153668507580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127012900,"filename":"image_06012025_02_28_03_087891_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922753","file1":"1326922744","file0":"1326922735","file3":"1326922779"},"map_files_photo_id_array":[{"photo_id":"1326922753","filename":"file2"},{"photo_id":"1326922744","filename":"file1"},{"photo_id":"1326922735","filename":"file0"},{"photo_id":"1326922779","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922753":["hashtag1","hashtag2"]},{"1326922735":["hashtag1","hashtag2"]},{"1326922744":["hashtag1","hashtag2"]},{"1326922779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922753, 1326922735, 1326922744, 1326922779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49226641654968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:30:03.002173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0003.jpg', '/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0000.jpg', '/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0001.jpg', '/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/28/image_06012025_02_28_03_087891_0003.jpg
/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0000.jpg
/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0001.jpg
/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922969","1326922971","1326922973","1326922967"],"photo_ids_order":["1326922967","1326922969","1326922971","1326922973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ed25274845cc4845c60b874811e545b.jpg","text":"TemporaryFile(/tmp/multipartBody8269491592272681331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127073198,"filename":"image_06012025_02_29_02_825217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/509bbd72c453d4898e331bd0bfce6943.jpg","text":"TemporaryFile(/tmp/multipartBody209698415256081767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127073198,"filename":"image_06012025_02_29_02_825217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f76941c0db31c95944c5b2a079b1eb3.jpg","text":"TemporaryFile(/tmp/multipartBody86675249120996110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127073198,"filename":"image_06012025_02_29_02_825217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60d8a10c441661308c3ed369bac8e912.jpg","text":"TemporaryFile(/tmp/multipartBody9160237652812801258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127073198,"filename":"image_06012025_02_28_03_087891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326922971","file1":"1326922969","file0":"1326922967","file3":"1326922973"},"map_files_photo_id_array":[{"photo_id":"1326922971","filename":"file2"},{"photo_id":"1326922969","filename":"file1"},{"photo_id":"1326922967","filename":"file0"},{"photo_id":"1326922973","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922969":["hashtag1","hashtag2"]},{"1326922971":["hashtag1","hashtag2"]},{"1326922973":["hashtag1","hashtag2"]},{"1326922967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922969, 1326922971, 1326922973, 1326922967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.387723207473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:31:02.844833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0003.jpg', '/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0000.jpg', '/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0001.jpg', '/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/29/image_06012025_02_29_02_825217_0003.jpg
/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0000.jpg
/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0001.jpg
/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326922995","1326922998","1326923001","1326923036"],"photo_ids_order":["1326922995","1326922998","1326923001","1326923036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d395406603aa7ed942e1597fccefa4d.jpg","text":"TemporaryFile(/tmp/multipartBody2982264997884639220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127133198,"filename":"image_06012025_02_29_02_825217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a6690e4a4326230dc209bdcecdf58f6.jpg","text":"TemporaryFile(/tmp/multipartBody5487493328983099281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127133198,"filename":"image_06012025_02_30_02_363309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1461384e3d180611475353286a2ca259.jpg","text":"TemporaryFile(/tmp/multipartBody4882699246215894188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127133198,"filename":"image_06012025_02_30_02_363309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9b8c6cc54a47f2d126058e003494162.jpg","text":"TemporaryFile(/tmp/multipartBody1629412908884619622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127133198,"filename":"image_06012025_02_30_02_363309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923001","file1":"1326922998","file0":"1326922995","file3":"1326923036"},"map_files_photo_id_array":[{"photo_id":"1326923001","filename":"file2"},{"photo_id":"1326922998","filename":"file1"},{"photo_id":"1326922995","filename":"file0"},{"photo_id":"1326923036","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326922995":["hashtag1","hashtag2"]},{"1326922998":["hashtag1","hashtag2"]},{"1326923001":["hashtag1","hashtag2"]},{"1326923036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326922995, 1326922998, 1326923001, 1326923036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67040705680847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:32:02.309548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0003.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0000.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0001.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0003.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0000.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0001.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_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.84679365158081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:32:21.942552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0003.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0000.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0001.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0002.jpg', '/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0003.jpg', '/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/30/image_06012025_02_30_02_363309_0003.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0000.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0001.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0002.jpg
/home/pi/Desktop/images/06012025/02/31/image_06012025_02_31_03_025148_0003.jpg
/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923056","1326923058","1326923052","1326923054","1326923048","1326923050"],"photo_ids_order":["1326923048","1326923050","1326923052","1326923054","1326923056","1326923058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b617a14c93597c5bb5fe37339e0b4eac.jpg","text":"TemporaryFile(/tmp/multipartBody6300775996918580060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_31_03_025148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f345bcbadc4f2a24f2c8c5626811d74.jpg","text":"TemporaryFile(/tmp/multipartBody6961519741082595880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_32_02_618695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f10ebe18c8002580a09172229c5d88e9.jpg","text":"TemporaryFile(/tmp/multipartBody6262212685658273853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_31_03_025148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/696450aa68636f89d8e22f945c7f0df2.jpg","text":"TemporaryFile(/tmp/multipartBody4777969152421838987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_31_03_025148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26ee5d96d312bc4dc627c855fbe435b5.jpg","text":"TemporaryFile(/tmp/multipartBody959617880648088695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_30_02_363309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c48b8c07b2c4d46314f70f2f02cfd0de.jpg","text":"TemporaryFile(/tmp/multipartBody3295615631894989943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127216964,"filename":"image_06012025_02_31_03_025148_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923052","file1":"1326923050","file0":"1326923048","file4":"1326923056","file5":"1326923058","file3":"1326923054"},"map_files_photo_id_array":[{"photo_id":"1326923058","filename":"file5"},{"photo_id":"1326923052","filename":"file2"},{"photo_id":"1326923056","filename":"file4"},{"photo_id":"1326923050","filename":"file1"},{"photo_id":"1326923048","filename":"file0"},{"photo_id":"1326923054","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923056":["hashtag1","hashtag2"]},{"1326923058":["hashtag1","hashtag2"]},{"1326923052":["hashtag1","hashtag2"]},{"1326923054":["hashtag1","hashtag2"]},{"1326923048":["hashtag1","hashtag2"]},{"1326923050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923056, 1326923058, 1326923052, 1326923054, 1326923048, 1326923050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24252486228943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:33:22.451975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0001.jpg', '/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0002.jpg', '/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0003.jpg', '/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0000.jpg', '/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0001.jpg', '/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0001.jpg
/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0002.jpg
/home/pi/Desktop/images/06012025/02/32/image_06012025_02_32_02_618695_0003.jpg
/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0000.jpg
/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0001.jpg
/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923113","1326923119","1326923115","1326923109","1326923117","1326923111"],"photo_ids_order":["1326923109","1326923111","1326923113","1326923115","1326923117","1326923119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f70a1f2cd5e4a3762174837e0f1f43a.jpg","text":"TemporaryFile(/tmp/multipartBody4010671827527670150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_32_02_618695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/322677695a5115938fe181b5885381cc.jpg","text":"TemporaryFile(/tmp/multipartBody7572977344962154678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_33_02_293435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/852b5ef5f5d6c93a3c889faaf6e5270f.jpg","text":"TemporaryFile(/tmp/multipartBody5433812698789801744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_33_02_293435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c4e2542aa7c89b24a26a705ce74a96b.jpg","text":"TemporaryFile(/tmp/multipartBody5560077122655682545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_32_02_618695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/778277ba9cc29b34db99115eeeb5064d.jpg","text":"TemporaryFile(/tmp/multipartBody5910242306782778435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_33_02_293435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f759fcf48127cdc6bae69ff7d4549ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6912612911326451622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127277591,"filename":"image_06012025_02_32_02_618695_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923113","file1":"1326923111","file0":"1326923109","file4":"1326923117","file5":"1326923119","file3":"1326923115"},"map_files_photo_id_array":[{"photo_id":"1326923119","filename":"file5"},{"photo_id":"1326923113","filename":"file2"},{"photo_id":"1326923117","filename":"file4"},{"photo_id":"1326923111","filename":"file1"},{"photo_id":"1326923109","filename":"file0"},{"photo_id":"1326923115","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923113":["hashtag1","hashtag2"]},{"1326923119":["hashtag1","hashtag2"]},{"1326923115":["hashtag1","hashtag2"]},{"1326923109":["hashtag1","hashtag2"]},{"1326923117":["hashtag1","hashtag2"]},{"1326923111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923113, 1326923119, 1326923115, 1326923109, 1326923117, 1326923111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.93532180786133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:34:22.042347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0003.jpg', '/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0000.jpg', '/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0001.jpg', '/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/33/image_06012025_02_33_02_293435_0003.jpg
/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0000.jpg
/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0001.jpg
/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923131","1326923134","1326923137","1326923129"],"photo_ids_order":["1326923129","1326923131","1326923134","1326923137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e79a6b2ed3edd85ba38578e1cbfc9752.jpg","text":"TemporaryFile(/tmp/multipartBody4747308689952264437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127332411,"filename":"image_06012025_02_34_02_852901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72205c286691d99c26ca8236995ca40f.jpg","text":"TemporaryFile(/tmp/multipartBody8759164697872327506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127332411,"filename":"image_06012025_02_34_02_852901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbc47d6dc976c66640cee5acdc3ef6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2518654287356034939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127332411,"filename":"image_06012025_02_34_02_852901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee02f7843f3a8d4f75f175819306d7a1.jpg","text":"TemporaryFile(/tmp/multipartBody1133058053463282071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127332411,"filename":"image_06012025_02_33_02_293435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923134","file1":"1326923131","file0":"1326923129","file3":"1326923137"},"map_files_photo_id_array":[{"photo_id":"1326923134","filename":"file2"},{"photo_id":"1326923131","filename":"file1"},{"photo_id":"1326923129","filename":"file0"},{"photo_id":"1326923137","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923131":["hashtag1","hashtag2"]},{"1326923134":["hashtag1","hashtag2"]},{"1326923137":["hashtag1","hashtag2"]},{"1326923129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923131, 1326923134, 1326923137, 1326923129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.004517793655396 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-06 02:35:22.612486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0003.jpg', '/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0000.jpg', '/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0001.jpg', '/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/34/image_06012025_02_34_02_852901_0003.jpg
/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0000.jpg
/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0001.jpg
/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923178","1326923180","1326923182","1326923176"],"photo_ids_order":["1326923176","1326923178","1326923180","1326923182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2b7006fd5721d794f8e1eb19885e444.jpg","text":"TemporaryFile(/tmp/multipartBody5769234339687619281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127392937,"filename":"image_06012025_02_35_02_466443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1884179ff642c86db43b19498ae46dc.jpg","text":"TemporaryFile(/tmp/multipartBody3166078588016530705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127392937,"filename":"image_06012025_02_35_02_466443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34c6090e263ba519f0f48dda8dd18858.jpg","text":"TemporaryFile(/tmp/multipartBody3312247322109686280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127392937,"filename":"image_06012025_02_35_02_466443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4680d3d846709ec7de2f02e7cecdb2d.jpg","text":"TemporaryFile(/tmp/multipartBody7189531781235622635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127392937,"filename":"image_06012025_02_34_02_852901_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923180","file1":"1326923178","file0":"1326923176","file3":"1326923182"},"map_files_photo_id_array":[{"photo_id":"1326923180","filename":"file2"},{"photo_id":"1326923178","filename":"file1"},{"photo_id":"1326923176","filename":"file0"},{"photo_id":"1326923182","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923178":["hashtag1","hashtag2"]},{"1326923180":["hashtag1","hashtag2"]},{"1326923182":["hashtag1","hashtag2"]},{"1326923176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923178, 1326923180, 1326923182, 1326923176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26385807991028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:36:22.212459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0003.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0000.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0001.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0003.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0000.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0001.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_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.822309017181396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:37:03.268789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0003.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0000.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0001.jpg', '/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/35/image_06012025_02_35_02_466443_0003.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0000.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0001.jpg
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923209","1326923205","1326923208","1326923210"],"photo_ids_order":["1326923205","1326923208","1326923209","1326923210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b8bcf0966cd5d15f7c6d6ee3d1506b1.jpg","text":"TemporaryFile(/tmp/multipartBody1810490169247203789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127493637,"filename":"image_06012025_02_36_03_005804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcd8be93f9136022cae736ccc7975db3.jpg","text":"TemporaryFile(/tmp/multipartBody8536924546281078100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127493637,"filename":"image_06012025_02_35_02_466443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e58059372149cc9d6858a2aaf5a16d30.jpg","text":"TemporaryFile(/tmp/multipartBody6710155464126927971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127493637,"filename":"image_06012025_02_36_03_005804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b3162334f480e08d8481635e743e506.jpg","text":"TemporaryFile(/tmp/multipartBody4253420054529161656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127493637,"filename":"image_06012025_02_36_03_005804_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923209","file1":"1326923208","file0":"1326923205","file3":"1326923210"},"map_files_photo_id_array":[{"photo_id":"1326923209","filename":"file2"},{"photo_id":"1326923208","filename":"file1"},{"photo_id":"1326923205","filename":"file0"},{"photo_id":"1326923210","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923209":["hashtag1","hashtag2"]},{"1326923205":["hashtag1","hashtag2"]},{"1326923208":["hashtag1","hashtag2"]},{"1326923210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923209, 1326923205, 1326923208, 1326923210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.157352924346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:38:02.671809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0003.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0000.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0001.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0003.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0000.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0001.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_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.82134747505188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:38:22.292225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0003.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0000.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0001.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0002.jpg', '/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0003.jpg', '/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/36/image_06012025_02_36_03_005804_0003.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0000.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0001.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0002.jpg
/home/pi/Desktop/images/06012025/02/37/image_06012025_02_37_02_544850_0003.jpg
/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923298","1326923292","1326923294","1326923288","1326923296","1326923290"],"photo_ids_order":["1326923288","1326923290","1326923292","1326923294","1326923296","1326923298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78ecd68dab92197ce741688b68ba0127.jpg","text":"TemporaryFile(/tmp/multipartBody1044505140056513825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_38_03_049601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/861b155d9f4545b6cd9e2c6ff95202fe.jpg","text":"TemporaryFile(/tmp/multipartBody4534016751252850081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_37_02_544850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9acd7fb3eb59d2b1665815532116a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody5333100367445524309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_37_02_544850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b32008a7dc0a96d994e121bf7e7ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody1677567923117465696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_36_03_005804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19df4b3b49317e79a988d7b8f9a83a95.jpg","text":"TemporaryFile(/tmp/multipartBody7342819980548034389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_37_02_544850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2febc7b138c3350675f63fbdb227ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody6145381496728160610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127577298,"filename":"image_06012025_02_37_02_544850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923292","file1":"1326923290","file0":"1326923288","file4":"1326923296","file5":"1326923298","file3":"1326923294"},"map_files_photo_id_array":[{"photo_id":"1326923298","filename":"file5"},{"photo_id":"1326923292","filename":"file2"},{"photo_id":"1326923296","filename":"file4"},{"photo_id":"1326923290","filename":"file1"},{"photo_id":"1326923288","filename":"file0"},{"photo_id":"1326923294","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923298":["hashtag1","hashtag2"]},{"1326923292":["hashtag1","hashtag2"]},{"1326923294":["hashtag1","hashtag2"]},{"1326923288":["hashtag1","hashtag2"]},{"1326923296":["hashtag1","hashtag2"]},{"1326923290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923298, 1326923292, 1326923294, 1326923288, 1326923296, 1326923290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19319987297058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:39:21.738840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0001.jpg', '/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0002.jpg', '/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0003.jpg', '/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0000.jpg', '/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0001.jpg', '/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0001.jpg
/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0002.jpg
/home/pi/Desktop/images/06012025/02/38/image_06012025_02_38_03_049601_0003.jpg
/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0000.jpg
/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0001.jpg
/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923329","1326923331","1326923325","1326923333","1326923327","1326923318"],"photo_ids_order":["1326923318","1326923325","1326923327","1326923329","1326923331","1326923333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3dd87edf699298cf7d67f8631cafed2d.jpg","text":"TemporaryFile(/tmp/multipartBody8569802261162574310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_39_02_635939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/914cee3924b5562cac8da87a34be0e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8617794883417830649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_39_02_635939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/47be7b81ec0ea67972a3332b59b0782a.jpg","text":"TemporaryFile(/tmp/multipartBody5639640317794149923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_38_03_049601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e918778d1369ac59ec1990da0da31d4.jpg","text":"TemporaryFile(/tmp/multipartBody2369247824958033319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_39_02_635939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33d2b5395feac7684cb8ba3005b4566c.jpg","text":"TemporaryFile(/tmp/multipartBody6406884902968196651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_38_03_049601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6a10b1a8afdfc114b5cad7dad850835.jpg","text":"TemporaryFile(/tmp/multipartBody7981898296753238378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127636840,"filename":"image_06012025_02_38_03_049601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923327","file1":"1326923325","file0":"1326923318","file4":"1326923331","file5":"1326923333","file3":"1326923329"},"map_files_photo_id_array":[{"photo_id":"1326923333","filename":"file5"},{"photo_id":"1326923327","filename":"file2"},{"photo_id":"1326923331","filename":"file4"},{"photo_id":"1326923325","filename":"file1"},{"photo_id":"1326923318","filename":"file0"},{"photo_id":"1326923329","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923329":["hashtag1","hashtag2"]},{"1326923331":["hashtag1","hashtag2"]},{"1326923325":["hashtag1","hashtag2"]},{"1326923333":["hashtag1","hashtag2"]},{"1326923327":["hashtag1","hashtag2"]},{"1326923318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923329, 1326923331, 1326923325, 1326923333, 1326923327, 1326923318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09583830833435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:40:22.425455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0003.jpg', '/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0000.jpg', '/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0001.jpg', '/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/39/image_06012025_02_39_02_635939_0003.jpg
/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0000.jpg
/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0001.jpg
/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923589","1326923591","1326923585","1326923587"],"photo_ids_order":["1326923585","1326923587","1326923589","1326923591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e29c54572327f9194c83753e3db9dc96.jpg","text":"TemporaryFile(/tmp/multipartBody4595886811953643824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127692724,"filename":"image_06012025_02_40_02_257155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/679c94509931a617f53b96843f4ca201.jpg","text":"TemporaryFile(/tmp/multipartBody2421181548247336663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127692724,"filename":"image_06012025_02_40_02_257155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb793fae8b12955b0bc5fad3faf577a4.jpg","text":"TemporaryFile(/tmp/multipartBody3877884483833303744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127692724,"filename":"image_06012025_02_39_02_635939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93da1a709653dd33a0c35beeccacc485.jpg","text":"TemporaryFile(/tmp/multipartBody9140625452087829463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127692724,"filename":"image_06012025_02_40_02_257155_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923589","file1":"1326923587","file0":"1326923585","file3":"1326923591"},"map_files_photo_id_array":[{"photo_id":"1326923589","filename":"file2"},{"photo_id":"1326923587","filename":"file1"},{"photo_id":"1326923585","filename":"file0"},{"photo_id":"1326923591","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923589":["hashtag1","hashtag2"]},{"1326923591":["hashtag1","hashtag2"]},{"1326923585":["hashtag1","hashtag2"]},{"1326923587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923589, 1326923591, 1326923585, 1326923587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.506572246551514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:41:21.937192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0003.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0000.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0001.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0003.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0000.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0001.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_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.778243780136108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:42:02.946253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0003.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0000.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0001.jpg', '/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/40/image_06012025_02_40_02_257155_0003.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0000.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0001.jpg
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923635","1326923634","1326923637","1326923636"],"photo_ids_order":["1326923634","1326923635","1326923636","1326923637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48244dc23374ff9b2618d1fdbf871bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1398717021863904761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127793192,"filename":"image_06012025_02_41_02_772362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a48cfaf3fcfbad8768b5d21212e6bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody798138149369879658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127793192,"filename":"image_06012025_02_40_02_257155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d24515967f7fba57ffeedb5b543b8937.jpg","text":"TemporaryFile(/tmp/multipartBody3914296966915880257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127793192,"filename":"image_06012025_02_41_02_772362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/969895327f7b19b7114bfbd69fae62b5.jpg","text":"TemporaryFile(/tmp/multipartBody8007766814080048563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127793192,"filename":"image_06012025_02_41_02_772362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923636","file1":"1326923635","file0":"1326923634","file3":"1326923637"},"map_files_photo_id_array":[{"photo_id":"1326923636","filename":"file2"},{"photo_id":"1326923635","filename":"file1"},{"photo_id":"1326923634","filename":"file0"},{"photo_id":"1326923637","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923635":["hashtag1","hashtag2"]},{"1326923634":["hashtag1","hashtag2"]},{"1326923637":["hashtag1","hashtag2"]},{"1326923636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923635, 1326923634, 1326923637, 1326923636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.55560326576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:43:02.568785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0003.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0000.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0001.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0003.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0000.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0001.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_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.992064476013184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:43:21.916275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0003.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0000.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0001.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0002.jpg', '/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0003.jpg', '/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/41/image_06012025_02_41_02_772362_0003.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0000.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0001.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0002.jpg
/home/pi/Desktop/images/06012025/02/42/image_06012025_02_42_02_323237_0003.jpg
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923694","1326923691","1326923685","1326923687","1326923683","1326923689"],"photo_ids_order":["1326923683","1326923685","1326923687","1326923689","1326923691","1326923694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1592d1ac1597d273a28a07bd019c1a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6351349088415807519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_43_02_804311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e975bfaed01fe30f235efb40145dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody8622366354088536693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_42_02_323237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/300550cbd98def9d1ad39865e82381cd.jpg","text":"TemporaryFile(/tmp/multipartBody8062274352142112920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_42_02_323237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cd082eda08db0e0212a76980af5cc24.jpg","text":"TemporaryFile(/tmp/multipartBody4820206987347609682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_42_02_323237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/751d5567924316424a1c04be5bdbf4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2324836555565218091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_41_02_772362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a131c49380627eddd65e13a4598e397c.jpg","text":"TemporaryFile(/tmp/multipartBody2006488377603691800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127877045,"filename":"image_06012025_02_42_02_323237_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923687","file1":"1326923685","file0":"1326923683","file4":"1326923691","file5":"1326923694","file3":"1326923689"},"map_files_photo_id_array":[{"photo_id":"1326923694","filename":"file5"},{"photo_id":"1326923687","filename":"file2"},{"photo_id":"1326923691","filename":"file4"},{"photo_id":"1326923685","filename":"file1"},{"photo_id":"1326923683","filename":"file0"},{"photo_id":"1326923689","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923694":["hashtag1","hashtag2"]},{"1326923691":["hashtag1","hashtag2"]},{"1326923685":["hashtag1","hashtag2"]},{"1326923687":["hashtag1","hashtag2"]},{"1326923683":["hashtag1","hashtag2"]},{"1326923689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923694, 1326923691, 1326923685, 1326923687, 1326923683, 1326923689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.32252621650696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:44:22.604201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0001.jpg', '/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0002.jpg', '/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0003.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0000.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0001.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0001.jpg
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0002.jpg
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0003.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0000.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0001.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_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.658416986465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:45:02.857850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0001.jpg', '/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0002.jpg', '/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0003.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0000.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0001.jpg', '/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0001.jpg
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0002.jpg
/home/pi/Desktop/images/06012025/02/43/image_06012025_02_43_02_804311_0003.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0000.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0001.jpg
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326923848","1326923818","1326923820","1326923855","1326923858","1326923851"],"photo_ids_order":["1326923818","1326923820","1326923848","1326923851","1326923855","1326923858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d90ed5e608b82a3572465bba725be077.jpg","text":"TemporaryFile(/tmp/multipartBody3064242067532714111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_43_02_804311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92316642726dffad19dc59c47fc0d2b3.jpg","text":"TemporaryFile(/tmp/multipartBody173900073647861135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_43_02_804311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b271098f8d74cf77e7150a50a6d20726.jpg","text":"TemporaryFile(/tmp/multipartBody3901523390595592852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_43_02_804311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17adf02c01b55202bd065fa9996ea519.jpg","text":"TemporaryFile(/tmp/multipartBody1838177015387322888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_44_02_388607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/057b4b452139142854c85ab11f4451e6.jpg","text":"TemporaryFile(/tmp/multipartBody8979561712824580652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_44_02_388607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3af4d8c4ecb76a18cdaeb17c7b0997e.jpg","text":"TemporaryFile(/tmp/multipartBody6682065954812684769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736127977957,"filename":"image_06012025_02_44_02_388607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923848","file1":"1326923820","file0":"1326923818","file4":"1326923855","file5":"1326923858","file3":"1326923851"},"map_files_photo_id_array":[{"photo_id":"1326923858","filename":"file5"},{"photo_id":"1326923848","filename":"file2"},{"photo_id":"1326923855","filename":"file4"},{"photo_id":"1326923820","filename":"file1"},{"photo_id":"1326923818","filename":"file0"},{"photo_id":"1326923851","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923848":["hashtag1","hashtag2"]},{"1326923818":["hashtag1","hashtag2"]},{"1326923820":["hashtag1","hashtag2"]},{"1326923855":["hashtag1","hashtag2"]},{"1326923858":["hashtag1","hashtag2"]},{"1326923851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923848, 1326923818, 1326923820, 1326923855, 1326923858, 1326923851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84239912033081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:46:03.085285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0003.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0000.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0001.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0003.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0000.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0001.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_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.896960496902466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:46:22.754658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0003.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0000.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0001.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0002.jpg', '/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0003.jpg', '/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/44/image_06012025_02_44_02_388607_0003.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0000.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0001.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0002.jpg
/home/pi/Desktop/images/06012025/02/45/image_06012025_02_45_02_895982_0003.jpg
/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_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":["1326923911","1326924027","1326923913","1326924029","1326923909","1326923924"],"photo_ids_order":["1326923909","1326923911","1326923913","1326923924","1326924027","1326924029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e5b4dbe0ce6990abbafe8074a498a52.jpg","text":"TemporaryFile(/tmp/multipartBody8218663124479255321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_45_02_895982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b870d2611905c6135c3e7b58d15a403.jpg","text":"TemporaryFile(/tmp/multipartBody2659552794434169535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_45_02_895982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bcdc1646c6e35db4f9d02eeb76bb5289.jpg","text":"TemporaryFile(/tmp/multipartBody6279355665917713926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_45_02_895982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e8c33c168d6a4857a35ff9f9e429b2d.jpg","text":"TemporaryFile(/tmp/multipartBody291191420756477426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_46_02_412499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8255add2cc734db091b8f886d8361fed.jpg","text":"TemporaryFile(/tmp/multipartBody6630692228539386558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_44_02_388607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a67614174649091ac511dd1ce8993471.jpg","text":"TemporaryFile(/tmp/multipartBody7041478740914751655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128057831,"filename":"image_06012025_02_45_02_895982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326923913","file1":"1326923911","file0":"1326923909","file4":"1326924027","file5":"1326924029","file3":"1326923924"},"map_files_photo_id_array":[{"photo_id":"1326924029","filename":"file5"},{"photo_id":"1326923913","filename":"file2"},{"photo_id":"1326924027","filename":"file4"},{"photo_id":"1326923911","filename":"file1"},{"photo_id":"1326923909","filename":"file0"},{"photo_id":"1326923924","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326923911":["hashtag1","hashtag2"]},{"1326924027":["hashtag1","hashtag2"]},{"1326923913":["hashtag1","hashtag2"]},{"1326924029":["hashtag1","hashtag2"]},{"1326923909":["hashtag1","hashtag2"]},{"1326923924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326923911, 1326924027, 1326923913, 1326924029, 1326923909, 1326923924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.53423500061035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:48:02.316466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0001.jpg', '/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0002.jpg', '/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0003.jpg', '/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0000.jpg', '/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0001.jpg', '/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0001.jpg
/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0002.jpg
/home/pi/Desktop/images/06012025/02/46/image_06012025_02_46_02_412499_0003.jpg
/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0000.jpg
/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0001.jpg
/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924042","1326924036","1326924045","1326924039","1326924038","1326924037"],"photo_ids_order":["1326924036","1326924037","1326924038","1326924039","1326924042","1326924045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af0cec1ba15dcb23f56a698164c52448.jpg","text":"TemporaryFile(/tmp/multipartBody5984237179222577998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_47_03_110955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77f99d0a293a565ead0ea07408beef1a.jpg","text":"TemporaryFile(/tmp/multipartBody3041252229115134823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_46_02_412499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fdc89a75a8e636b84d60c19109b54dec.jpg","text":"TemporaryFile(/tmp/multipartBody6843434298300487713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_47_03_110955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/731cb37d1109d7700f19e7c08f4c03cf.jpg","text":"TemporaryFile(/tmp/multipartBody721936344722870466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_47_03_110955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d6b06dc237530c4c46fde9949b8dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody5256570091198461280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_46_02_412499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9bcd578d83a7a7b3c16303316c173141.jpg","text":"TemporaryFile(/tmp/multipartBody5936522748827933328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128157362,"filename":"image_06012025_02_46_02_412499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924038","file1":"1326924037","file0":"1326924036","file4":"1326924042","file5":"1326924045","file3":"1326924039"},"map_files_photo_id_array":[{"photo_id":"1326924045","filename":"file5"},{"photo_id":"1326924038","filename":"file2"},{"photo_id":"1326924042","filename":"file4"},{"photo_id":"1326924037","filename":"file1"},{"photo_id":"1326924036","filename":"file0"},{"photo_id":"1326924039","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924042":["hashtag1","hashtag2"]},{"1326924036":["hashtag1","hashtag2"]},{"1326924045":["hashtag1","hashtag2"]},{"1326924039":["hashtag1","hashtag2"]},{"1326924038":["hashtag1","hashtag2"]},{"1326924037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924042, 1326924036, 1326924045, 1326924039, 1326924038, 1326924037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.951570987701416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:49:02.958322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0003.jpg', '/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0000.jpg', '/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0001.jpg', '/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/47/image_06012025_02_47_03_110955_0003.jpg
/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0000.jpg
/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0001.jpg
/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924069","1326924062","1326924094","1326924070"],"photo_ids_order":["1326924062","1326924069","1326924070","1326924094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7815a4c15f070d5f9489d9a8d29edac1.jpg","text":"TemporaryFile(/tmp/multipartBody8117203038547921187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128213133,"filename":"image_06012025_02_48_02_649006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5b6f2be61003494bc4c51c297b9ca94.jpg","text":"TemporaryFile(/tmp/multipartBody319064697925219422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128213133,"filename":"image_06012025_02_47_03_110955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f18185d37c2b8f61ff1c5ca0fc69d613.jpg","text":"TemporaryFile(/tmp/multipartBody550128084837761208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128213133,"filename":"image_06012025_02_48_02_649006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f429f2b064a89cd7489602370baf417f.jpg","text":"TemporaryFile(/tmp/multipartBody5427295378226997914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128213133,"filename":"image_06012025_02_48_02_649006_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924070","file1":"1326924069","file0":"1326924062","file3":"1326924094"},"map_files_photo_id_array":[{"photo_id":"1326924070","filename":"file2"},{"photo_id":"1326924069","filename":"file1"},{"photo_id":"1326924062","filename":"file0"},{"photo_id":"1326924094","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924069":["hashtag1","hashtag2"]},{"1326924062":["hashtag1","hashtag2"]},{"1326924094":["hashtag1","hashtag2"]},{"1326924070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924069, 1326924062, 1326924094, 1326924070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12490749359131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:50:02.438129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0003.jpg', '/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0000.jpg', '/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0001.jpg', '/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/48/image_06012025_02_48_02_649006_0003.jpg
/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0000.jpg
/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0001.jpg
/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924214","1326924213","1326924212","1326924211"],"photo_ids_order":["1326924211","1326924212","1326924213","1326924214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/102e151f7169730fc9e944a06c6f9684.jpg","text":"TemporaryFile(/tmp/multipartBody1893750686002807799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128272645,"filename":"image_06012025_02_49_02_154305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c8693fe9c2ba32c9c176e2f452f57b2.jpg","text":"TemporaryFile(/tmp/multipartBody6282608327851231817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128272645,"filename":"image_06012025_02_49_02_154305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d3e769f55f1b2d82c063b911f4527cc.jpg","text":"TemporaryFile(/tmp/multipartBody4609931678626004732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128272645,"filename":"image_06012025_02_49_02_154305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc5e819fc33252aa2a78fdd7085bf3eb.jpg","text":"TemporaryFile(/tmp/multipartBody997847853326959280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128272645,"filename":"image_06012025_02_48_02_649006_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924213","file1":"1326924212","file0":"1326924211","file3":"1326924214"},"map_files_photo_id_array":[{"photo_id":"1326924213","filename":"file2"},{"photo_id":"1326924212","filename":"file1"},{"photo_id":"1326924211","filename":"file0"},{"photo_id":"1326924214","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924214":["hashtag1","hashtag2"]},{"1326924213":["hashtag1","hashtag2"]},{"1326924212":["hashtag1","hashtag2"]},{"1326924211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924214, 1326924213, 1326924212, 1326924211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03181457519531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:51:03.133966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0003.jpg', '/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0000.jpg', '/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0001.jpg', '/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/49/image_06012025_02_49_02_154305_0003.jpg
/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0000.jpg
/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0001.jpg
/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924228","1326924225","1326924227","1326924229"],"photo_ids_order":["1326924225","1326924227","1326924228","1326924229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa5e1d3c3de40625650990a7ed569103.jpg","text":"TemporaryFile(/tmp/multipartBody5879392213280947416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128333526,"filename":"image_06012025_02_50_02_646681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e42b8793792fdbc0f76fad09dbce104b.jpg","text":"TemporaryFile(/tmp/multipartBody7057927351048058999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128333526,"filename":"image_06012025_02_49_02_154305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8acaab6e715c2ab594e6036207872631.jpg","text":"TemporaryFile(/tmp/multipartBody8062391942948301497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128333526,"filename":"image_06012025_02_50_02_646681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2939f0a665a7beacd09e2e0bc5e2f2bc.jpg","text":"TemporaryFile(/tmp/multipartBody2496691343214776839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128333526,"filename":"image_06012025_02_50_02_646681_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924228","file1":"1326924227","file0":"1326924225","file3":"1326924229"},"map_files_photo_id_array":[{"photo_id":"1326924228","filename":"file2"},{"photo_id":"1326924227","filename":"file1"},{"photo_id":"1326924225","filename":"file0"},{"photo_id":"1326924229","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924228":["hashtag1","hashtag2"]},{"1326924225":["hashtag1","hashtag2"]},{"1326924227":["hashtag1","hashtag2"]},{"1326924229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924228, 1326924225, 1326924227, 1326924229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.139615297317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:52:02.593759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0003.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0000.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0001.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0003.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0000.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0001.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_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.955934762954712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:52:22.140582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0003.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0000.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0001.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0002.jpg', '/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0003.jpg', '/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/50/image_06012025_02_50_02_646681_0003.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0000.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0001.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0002.jpg
/home/pi/Desktop/images/06012025/02/51/image_06012025_02_51_02_339649_0003.jpg
/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924291","1326924285","1326924293","1326924287","1326924295","1326924289"],"photo_ids_order":["1326924285","1326924287","1326924289","1326924291","1326924293","1326924295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ceb54204f3d2cf7e0cba956d0992da6b.jpg","text":"TemporaryFile(/tmp/multipartBody5892597945648333901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_51_02_339649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11f425ee91d766592c62880f068c21b4.jpg","text":"TemporaryFile(/tmp/multipartBody1498978313413337755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_50_02_646681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9cd28fc085cc0b5a1f905a407aba099.jpg","text":"TemporaryFile(/tmp/multipartBody9052920317819932918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_51_02_339649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/189d475a50a449c79ba195c2aad3284d.jpg","text":"TemporaryFile(/tmp/multipartBody2821760967729408824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_51_02_339649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfbb0158dd710d7164abe818288c4cc6.jpg","text":"TemporaryFile(/tmp/multipartBody37549157985945408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_52_02_882771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01ccdb5f08a93fdd5733147619d31396.jpg","text":"TemporaryFile(/tmp/multipartBody4200295583262027610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128417962,"filename":"image_06012025_02_51_02_339649_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924289","file1":"1326924287","file0":"1326924285","file4":"1326924293","file5":"1326924295","file3":"1326924291"},"map_files_photo_id_array":[{"photo_id":"1326924295","filename":"file5"},{"photo_id":"1326924289","filename":"file2"},{"photo_id":"1326924293","filename":"file4"},{"photo_id":"1326924287","filename":"file1"},{"photo_id":"1326924285","filename":"file0"},{"photo_id":"1326924291","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924291":["hashtag1","hashtag2"]},{"1326924285":["hashtag1","hashtag2"]},{"1326924293":["hashtag1","hashtag2"]},{"1326924287":["hashtag1","hashtag2"]},{"1326924295":["hashtag1","hashtag2"]},{"1326924289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924291, 1326924285, 1326924293, 1326924287, 1326924295, 1326924289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97166442871094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:53:21.791314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0001.jpg', '/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0002.jpg', '/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0003.jpg', '/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0000.jpg', '/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0001.jpg', '/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0001.jpg
/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0002.jpg
/home/pi/Desktop/images/06012025/02/52/image_06012025_02_52_02_882771_0003.jpg
/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0000.jpg
/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0001.jpg
/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924297","1326924301","1326924312","1326924303","1326924299","1326924314"],"photo_ids_order":["1326924297","1326924299","1326924301","1326924303","1326924312","1326924314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd236aab32124856effa75dbedf0d784.jpg","text":"TemporaryFile(/tmp/multipartBody6212849649640731652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_52_02_882771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb7813d627988a29806f42e10c4ee2d1.jpg","text":"TemporaryFile(/tmp/multipartBody5925222163349287174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_52_02_882771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06a488dd3b8d9a248f977473cb21c30f.jpg","text":"TemporaryFile(/tmp/multipartBody6038787126917509871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_53_02_629350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79b8975dc5a8c5c558d10b8eea8ed73a.jpg","text":"TemporaryFile(/tmp/multipartBody893215783108549196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_53_02_629350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d08c725ae231c90ad0bd611475dfaff5.jpg","text":"TemporaryFile(/tmp/multipartBody6381761446193777116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_52_02_882771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/820de69922be379c03c4443a54d2e8a8.jpg","text":"TemporaryFile(/tmp/multipartBody7853747002110402460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128476824,"filename":"image_06012025_02_53_02_629350_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924301","file1":"1326924299","file0":"1326924297","file4":"1326924312","file5":"1326924314","file3":"1326924303"},"map_files_photo_id_array":[{"photo_id":"1326924314","filename":"file5"},{"photo_id":"1326924301","filename":"file2"},{"photo_id":"1326924312","filename":"file4"},{"photo_id":"1326924299","filename":"file1"},{"photo_id":"1326924297","filename":"file0"},{"photo_id":"1326924303","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924297":["hashtag1","hashtag2"]},{"1326924301":["hashtag1","hashtag2"]},{"1326924312":["hashtag1","hashtag2"]},{"1326924303":["hashtag1","hashtag2"]},{"1326924299":["hashtag1","hashtag2"]},{"1326924314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924297, 1326924301, 1326924312, 1326924303, 1326924299, 1326924314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.05381155014038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 02:54:22.247368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0003.jpg', '/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0000.jpg', '/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0001.jpg', '/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/53/image_06012025_02_53_02_629350_0003.jpg
/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0000.jpg
/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0001.jpg
/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924348","1326924342","1326924344","1326924346"],"photo_ids_order":["1326924342","1326924344","1326924346","1326924348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0e278eb599db357c608869afede676b.jpg","text":"TemporaryFile(/tmp/multipartBody2063641740223699946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128532529,"filename":"image_06012025_02_54_02_120042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad722456bf562e7ce7b224a0cbc5a0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7587716120791283824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128532529,"filename":"image_06012025_02_53_02_629350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/676db250d893296780272123d763b3e3.jpg","text":"TemporaryFile(/tmp/multipartBody976219961558368485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128532529,"filename":"image_06012025_02_54_02_120042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99924bdc2fbebb5448127c48edc4e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody552597561571930552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128532529,"filename":"image_06012025_02_54_02_120042_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924346","file1":"1326924344","file0":"1326924342","file3":"1326924348"},"map_files_photo_id_array":[{"photo_id":"1326924346","filename":"file2"},{"photo_id":"1326924344","filename":"file1"},{"photo_id":"1326924342","filename":"file0"},{"photo_id":"1326924348","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924348":["hashtag1","hashtag2"]},{"1326924342":["hashtag1","hashtag2"]},{"1326924344":["hashtag1","hashtag2"]},{"1326924346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924348, 1326924342, 1326924344, 1326924346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01511240005493 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-06 02:55:21.783949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0003.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0000.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0001.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0003.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0000.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0001.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_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.726297855377197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:56:02.751958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0003.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0000.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0001.jpg', '/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/54/image_06012025_02_54_02_120042_0003.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0000.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0001.jpg
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326924648","1326924645","1326924647","1326924646"],"photo_ids_order":["1326924645","1326924646","1326924647","1326924648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e048daccbe83178a8caaf808b432fff.jpg","text":"TemporaryFile(/tmp/multipartBody3447106272163057014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128632873,"filename":"image_06012025_02_55_02_632271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64dff7ea1969027016b6a9aaa123d9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4340282831835150371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128632873,"filename":"image_06012025_02_54_02_120042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef9a7536af9806d76db1661ac39999b6.jpg","text":"TemporaryFile(/tmp/multipartBody6483087451103526647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128632873,"filename":"image_06012025_02_55_02_632271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f3f3d7d571a8eab01294c9a8706d8011.jpg","text":"TemporaryFile(/tmp/multipartBody5331798155997576927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128632873,"filename":"image_06012025_02_55_02_632271_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326924647","file1":"1326924646","file0":"1326924645","file3":"1326924648"},"map_files_photo_id_array":[{"photo_id":"1326924647","filename":"file2"},{"photo_id":"1326924646","filename":"file1"},{"photo_id":"1326924645","filename":"file0"},{"photo_id":"1326924648","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326924648":["hashtag1","hashtag2"]},{"1326924645":["hashtag1","hashtag2"]},{"1326924647":["hashtag1","hashtag2"]},{"1326924646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326924648, 1326924645, 1326924647, 1326924646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23740577697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:57:02.447504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0003.jpg', '/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0000.jpg', '/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0001.jpg', '/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/55/image_06012025_02_55_02_632271_0003.jpg
/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0000.jpg
/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0001.jpg
/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925037","1326925310","1326925081","1326925036"],"photo_ids_order":["1326925036","1326925037","1326925081","1326925310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b09470b19616150f94089ad202e390f6.jpg","text":"TemporaryFile(/tmp/multipartBody5225131709074021750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128692532,"filename":"image_06012025_02_56_02_147144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95aa288b6a52466dc18766b56377dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody8045736943043017535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128692532,"filename":"image_06012025_02_56_02_147144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27c6bef9a6552af101fb51c6cf074b39.jpg","text":"TemporaryFile(/tmp/multipartBody3358302496688734945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128692532,"filename":"image_06012025_02_56_02_147144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7663c26dfeeb1e55c14dce70e118367.jpg","text":"TemporaryFile(/tmp/multipartBody7977465026728784908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128692532,"filename":"image_06012025_02_55_02_632271_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925081","file1":"1326925037","file0":"1326925036","file3":"1326925310"},"map_files_photo_id_array":[{"photo_id":"1326925081","filename":"file2"},{"photo_id":"1326925037","filename":"file1"},{"photo_id":"1326925036","filename":"file0"},{"photo_id":"1326925310","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925037":["hashtag1","hashtag2"]},{"1326925310":["hashtag1","hashtag2"]},{"1326925081":["hashtag1","hashtag2"]},{"1326925036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925037, 1326925310, 1326925081, 1326925036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25643229484558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 02:59:03.161321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0003.jpg', '/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0000.jpg', '/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0001.jpg', '/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0003.jpg', '/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0000.jpg', '/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/56/image_06012025_02_56_02_147144_0003.jpg
/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0000.jpg
/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0001.jpg
/home/pi/Desktop/images/06012025/02/57/image_06012025_02_57_02_634369_0003.jpg
/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0000.jpg
/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925563","1326925571","1326925568","1326925555","1326925570","1326925560"],"photo_ids_order":["1326925555","1326925560","1326925563","1326925568","1326925570","1326925571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37209a67c2026f4cf255e95709f5244d.jpg","text":"TemporaryFile(/tmp/multipartBody5026236011801568485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_57_02_634369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2709dd1d7ec432e80c223c0691b3e6da.jpg","text":"TemporaryFile(/tmp/multipartBody8707255419350534483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_58_02_120476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eab9226ce1a6f8325cbf8d7c830e334a.jpg","text":"TemporaryFile(/tmp/multipartBody2890432417003480582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_57_02_634369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c98f50a52f6694e0ef1c44b1ef62809.jpg","text":"TemporaryFile(/tmp/multipartBody8552234914958824650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_56_02_147144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd4fce3d311927bf357ecf1338d77373.jpg","text":"TemporaryFile(/tmp/multipartBody953163495477846313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_58_02_120476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f8b6fd921468d251581b54d05ddf371.jpg","text":"TemporaryFile(/tmp/multipartBody3907072992481899726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128817874,"filename":"image_06012025_02_57_02_634369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925563","file1":"1326925560","file0":"1326925555","file4":"1326925570","file5":"1326925571","file3":"1326925568"},"map_files_photo_id_array":[{"photo_id":"1326925571","filename":"file5"},{"photo_id":"1326925563","filename":"file2"},{"photo_id":"1326925570","filename":"file4"},{"photo_id":"1326925560","filename":"file1"},{"photo_id":"1326925555","filename":"file0"},{"photo_id":"1326925568","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925563":["hashtag1","hashtag2"]},{"1326925571":["hashtag1","hashtag2"]},{"1326925568":["hashtag1","hashtag2"]},{"1326925555":["hashtag1","hashtag2"]},{"1326925570":["hashtag1","hashtag2"]},{"1326925560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925563, 1326925571, 1326925568, 1326925555, 1326925570, 1326925560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54499316215515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:00:02.710738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0003.jpg', '/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0000.jpg', '/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0001.jpg', '/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/58/image_06012025_02_58_02_120476_0003.jpg
/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0000.jpg
/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0001.jpg
/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925667","1326925663","1326925665","1326925668"],"photo_ids_order":["1326925663","1326925665","1326925667","1326925668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/981121756d8c22b5f104929f26f1ca38.jpg","text":"TemporaryFile(/tmp/multipartBody6286132015231569930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128872630,"filename":"image_06012025_02_59_02_847428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8533ed9ed31f38815f7b0dff5a6c295.jpg","text":"TemporaryFile(/tmp/multipartBody6618599049876019660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128872630,"filename":"image_06012025_02_58_02_120476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c392b38872adf97d4a55f381bd1da7f.jpg","text":"TemporaryFile(/tmp/multipartBody5631908264110475918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128872630,"filename":"image_06012025_02_59_02_847428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ef77d25cdcf6fd49f20a2ff8313faec.jpg","text":"TemporaryFile(/tmp/multipartBody4368594153107153750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128872630,"filename":"image_06012025_02_59_02_847428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925667","file1":"1326925665","file0":"1326925663","file3":"1326925668"},"map_files_photo_id_array":[{"photo_id":"1326925667","filename":"file2"},{"photo_id":"1326925665","filename":"file1"},{"photo_id":"1326925663","filename":"file0"},{"photo_id":"1326925668","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925667":["hashtag1","hashtag2"]},{"1326925663":["hashtag1","hashtag2"]},{"1326925665":["hashtag1","hashtag2"]},{"1326925668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925667, 1326925663, 1326925665, 1326925668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21291995048523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:01:02.417804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0003.jpg', '/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0000.jpg', '/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0001.jpg', '/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/02/59/image_06012025_02_59_02_847428_0003.jpg
/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0000.jpg
/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0001.jpg
/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925685","1326925684","1326925683","1326925686"],"photo_ids_order":["1326925683","1326925684","1326925685","1326925686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f9a0df575792b868ca4e5912f71676a.jpg","text":"TemporaryFile(/tmp/multipartBody7325825615385236747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128932556,"filename":"image_06012025_03_00_03_012722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b432fb42da0d654d85b559929690c038.jpg","text":"TemporaryFile(/tmp/multipartBody6846221238035873244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128932556,"filename":"image_06012025_03_00_03_012722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdb6e133c90ca2f65c0c961338f7e596.jpg","text":"TemporaryFile(/tmp/multipartBody3990835138108707182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128932556,"filename":"image_06012025_02_59_02_847428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c59ee78c7eb6eacdb2231b918398ba7.jpg","text":"TemporaryFile(/tmp/multipartBody297957264717106173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128932556,"filename":"image_06012025_03_00_03_012722_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925685","file1":"1326925684","file0":"1326925683","file3":"1326925686"},"map_files_photo_id_array":[{"photo_id":"1326925685","filename":"file2"},{"photo_id":"1326925684","filename":"file1"},{"photo_id":"1326925683","filename":"file0"},{"photo_id":"1326925686","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925685":["hashtag1","hashtag2"]},{"1326925684":["hashtag1","hashtag2"]},{"1326925683":["hashtag1","hashtag2"]},{"1326925686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925685, 1326925684, 1326925683, 1326925686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89268493652344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:02:03.069924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0003.jpg', '/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0000.jpg', '/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/00/image_06012025_03_00_03_012722_0003.jpg
/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0000.jpg
/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925730","1326925732","1326925731"],"photo_ids_order":["1326925730","1326925731","1326925732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83cf9d0708ca1fbd5443e4a6f04b80a3.jpg","text":"TemporaryFile(/tmp/multipartBody2645632369830199039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128990795,"filename":"image_06012025_03_00_03_012722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0b100a7f41e843b16bfaca66f16ee86.jpg","text":"TemporaryFile(/tmp/multipartBody6853660408514492090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128990795,"filename":"image_06012025_03_01_02_752437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27bebd4a133dc17cded68a4bd5ea71db.jpg","text":"TemporaryFile(/tmp/multipartBody8707390359839446215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736128990795,"filename":"image_06012025_03_01_02_752437_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925732","file1":"1326925731","file0":"1326925730"},"map_files_photo_id_array":[{"photo_id":"1326925732","filename":"file2"},{"photo_id":"1326925731","filename":"file1"},{"photo_id":"1326925730","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925730":["hashtag1","hashtag2"]},{"1326925732":["hashtag1","hashtag2"]},{"1326925731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925730, 1326925732, 1326925731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.522953748703003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:03:02.960947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0003.jpg', '/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0000.jpg', '/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0001.jpg', '/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/01/image_06012025_03_01_02_752437_0003.jpg
/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0000.jpg
/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0001.jpg
/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925751","1326925753","1326925750","1326925752"],"photo_ids_order":["1326925750","1326925751","1326925752","1326925753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c538d7a3dda18881bb86a5211220e050.jpg","text":"TemporaryFile(/tmp/multipartBody1247052075011426305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129053104,"filename":"image_06012025_03_02_02_367645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7bb9b8e73922f4229d1cbbe1be394d21.jpg","text":"TemporaryFile(/tmp/multipartBody3380881288793401708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129053104,"filename":"image_06012025_03_02_02_367645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/242eeda71f875f1e7a9f191c8fadb154.jpg","text":"TemporaryFile(/tmp/multipartBody2157242607033439556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129053104,"filename":"image_06012025_03_01_02_752437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7ede4724683f9f2b40dcb4e9fef8b56.jpg","text":"TemporaryFile(/tmp/multipartBody2115025938037184727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129053104,"filename":"image_06012025_03_02_02_367645_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925752","file1":"1326925751","file0":"1326925750","file3":"1326925753"},"map_files_photo_id_array":[{"photo_id":"1326925752","filename":"file2"},{"photo_id":"1326925751","filename":"file1"},{"photo_id":"1326925750","filename":"file0"},{"photo_id":"1326925753","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925751":["hashtag1","hashtag2"]},{"1326925753":["hashtag1","hashtag2"]},{"1326925750":["hashtag1","hashtag2"]},{"1326925752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925751, 1326925753, 1326925750, 1326925752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.947383403778076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:04:02.268439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0003.jpg', '/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0000.jpg', '/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0001.jpg', '/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/02/image_06012025_03_02_02_367645_0003.jpg
/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0000.jpg
/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0001.jpg
/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925824","1326925823","1326925822","1326925825"],"photo_ids_order":["1326925822","1326925823","1326925824","1326925825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c67dae8ec3803294c30b41cdd8f51ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6016494915574948515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129112474,"filename":"image_06012025_03_03_03_118388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a8a8d7fb4bb8a3a9c915fb71a6a9f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5404573723063366135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129112474,"filename":"image_06012025_03_03_03_118388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddeb8803f377f2ff55ec3e3db2afb1da.jpg","text":"TemporaryFile(/tmp/multipartBody3282795044148534079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129112474,"filename":"image_06012025_03_02_02_367645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d3e629072b3db1b15177bac68bb8798.jpg","text":"TemporaryFile(/tmp/multipartBody4064643623616820110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129112474,"filename":"image_06012025_03_03_03_118388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925824","file1":"1326925823","file0":"1326925822","file3":"1326925825"},"map_files_photo_id_array":[{"photo_id":"1326925824","filename":"file2"},{"photo_id":"1326925823","filename":"file1"},{"photo_id":"1326925822","filename":"file0"},{"photo_id":"1326925825","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925824":["hashtag1","hashtag2"]},{"1326925823":["hashtag1","hashtag2"]},{"1326925822":["hashtag1","hashtag2"]},{"1326925825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925824, 1326925823, 1326925822, 1326925825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.997727155685425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:05:03.023462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0003.jpg', '/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0000.jpg', '/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0001.jpg', '/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/03/image_06012025_03_03_03_118388_0003.jpg
/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0000.jpg
/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0001.jpg
/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925985","1326925889","1326925903","1326925890"],"photo_ids_order":["1326925889","1326925890","1326925903","1326925985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d33ee297d18f21c4f687d2ef9b3dc694.jpg","text":"TemporaryFile(/tmp/multipartBody8206818591637560201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129173370,"filename":"image_06012025_03_04_02_625441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c89a0df7f47ac8c41d2662fa68387b93.jpg","text":"TemporaryFile(/tmp/multipartBody7894772671164038156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129173370,"filename":"image_06012025_03_03_03_118388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e169eefc15ac186deed1af8a55217817.jpg","text":"TemporaryFile(/tmp/multipartBody2698393393927239590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129173370,"filename":"image_06012025_03_04_02_625441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2167709371b3ba97b55ba404ee0d4c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8267691751613618884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129173370,"filename":"image_06012025_03_04_02_625441_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925903","file1":"1326925890","file0":"1326925889","file3":"1326925985"},"map_files_photo_id_array":[{"photo_id":"1326925903","filename":"file2"},{"photo_id":"1326925890","filename":"file1"},{"photo_id":"1326925889","filename":"file0"},{"photo_id":"1326925985","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925985":["hashtag1","hashtag2"]},{"1326925889":["hashtag1","hashtag2"]},{"1326925903":["hashtag1","hashtag2"]},{"1326925890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925985, 1326925889, 1326925903, 1326925890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56817889213562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:06:02.485257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0003.jpg', '/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0000.jpg', '/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0001.jpg', '/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/04/image_06012025_03_04_02_625441_0003.jpg
/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0000.jpg
/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0001.jpg
/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326925994","1326925993","1326925992","1326925995"],"photo_ids_order":["1326925992","1326925993","1326925994","1326925995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28304d98c6617e3f24392eea7df7cb6b.jpg","text":"TemporaryFile(/tmp/multipartBody2529226064556688501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129232742,"filename":"image_06012025_03_05_02_282720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b4a53721530b75eab06dd854733da8b.jpg","text":"TemporaryFile(/tmp/multipartBody8487137723368670206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129232742,"filename":"image_06012025_03_05_02_282720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/452408a1c415a56c36ba19806802b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody253276562168985657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129232742,"filename":"image_06012025_03_04_02_625441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc04cbaec8004e34269c40cc05916dab.jpg","text":"TemporaryFile(/tmp/multipartBody7878880022902548246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129232742,"filename":"image_06012025_03_05_02_282720_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326925994","file1":"1326925993","file0":"1326925992","file3":"1326925995"},"map_files_photo_id_array":[{"photo_id":"1326925994","filename":"file2"},{"photo_id":"1326925993","filename":"file1"},{"photo_id":"1326925992","filename":"file0"},{"photo_id":"1326925995","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326925994":["hashtag1","hashtag2"]},{"1326925993":["hashtag1","hashtag2"]},{"1326925992":["hashtag1","hashtag2"]},{"1326925995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326925994, 1326925993, 1326925992, 1326925995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42089653015137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:07:03.212514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0003.jpg', '/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0000.jpg', '/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0001.jpg', '/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/05/image_06012025_03_05_02_282720_0003.jpg
/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0000.jpg
/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0001.jpg
/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926012","1326926002","1326926005","1326926013"],"photo_ids_order":["1326926002","1326926005","1326926012","1326926013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf1158e7e375e90896a83c6059c32791.jpg","text":"TemporaryFile(/tmp/multipartBody2314169409272907099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129293563,"filename":"image_06012025_03_06_02_833165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ba72f83fbf9d2023d31624f14c08fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1988634840913724249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129293563,"filename":"image_06012025_03_05_02_282720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dff43f2200e4c348d4ad2b319972b98a.jpg","text":"TemporaryFile(/tmp/multipartBody4943339221131849028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129293563,"filename":"image_06012025_03_06_02_833165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9e18f64fd1166cc2e0bd6e4f42711de.jpg","text":"TemporaryFile(/tmp/multipartBody1755412399097637223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129293563,"filename":"image_06012025_03_06_02_833165_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926012","file1":"1326926005","file0":"1326926002","file3":"1326926013"},"map_files_photo_id_array":[{"photo_id":"1326926012","filename":"file2"},{"photo_id":"1326926005","filename":"file1"},{"photo_id":"1326926002","filename":"file0"},{"photo_id":"1326926013","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926012":["hashtag1","hashtag2"]},{"1326926002":["hashtag1","hashtag2"]},{"1326926005":["hashtag1","hashtag2"]},{"1326926013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926012, 1326926002, 1326926005, 1326926013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63912749290466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:08:03.105193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0003.jpg', '/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0000.jpg', '/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0001.jpg', '/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/06/image_06012025_03_06_02_833165_0003.jpg
/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0000.jpg
/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0001.jpg
/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926054","1326926057","1326926056","1326926055"],"photo_ids_order":["1326926054","1326926055","1326926056","1326926057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4b3664b90b1fd5ed84f01809c536733.jpg","text":"TemporaryFile(/tmp/multipartBody2396825267606203865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129353565,"filename":"image_06012025_03_06_02_833165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/199bbf8a61384fd3647e60767904b695.jpg","text":"TemporaryFile(/tmp/multipartBody8320702401246393609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129353565,"filename":"image_06012025_03_07_02_462891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/578460e3231b427d6ad3c400b6b34ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6640135925514668297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129353565,"filename":"image_06012025_03_07_02_462891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1dd474ffb5ba91a7d0b16e52cb3511e.jpg","text":"TemporaryFile(/tmp/multipartBody7056289004373663706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129353565,"filename":"image_06012025_03_07_02_462891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926056","file1":"1326926055","file0":"1326926054","file3":"1326926057"},"map_files_photo_id_array":[{"photo_id":"1326926056","filename":"file2"},{"photo_id":"1326926055","filename":"file1"},{"photo_id":"1326926054","filename":"file0"},{"photo_id":"1326926057","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926054":["hashtag1","hashtag2"]},{"1326926057":["hashtag1","hashtag2"]},{"1326926056":["hashtag1","hashtag2"]},{"1326926055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926054, 1326926057, 1326926056, 1326926055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13996076583862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:09:02.675989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0003.jpg', '/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0000.jpg', '/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0001.jpg', '/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/07/image_06012025_03_07_02_462891_0003.jpg
/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0000.jpg
/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0001.jpg
/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926066","1326926065","1326926067","1326926064"],"photo_ids_order":["1326926064","1326926065","1326926066","1326926067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/403ac5d53bcff05b43fd5517888aa8fb.jpg","text":"TemporaryFile(/tmp/multipartBody6378819684027119243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129413011,"filename":"image_06012025_03_08_03_069372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/150c459988afd45a9947c494c427368f.jpg","text":"TemporaryFile(/tmp/multipartBody7952347798723012628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129413011,"filename":"image_06012025_03_08_03_069372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7d8fb207db92881b67037f4573d721e.jpg","text":"TemporaryFile(/tmp/multipartBody4837222445356413104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129413011,"filename":"image_06012025_03_08_03_069372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49dbf7cab686efc723afcd4caeec9c28.jpg","text":"TemporaryFile(/tmp/multipartBody3395218857287494435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129413011,"filename":"image_06012025_03_07_02_462891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926066","file1":"1326926065","file0":"1326926064","file3":"1326926067"},"map_files_photo_id_array":[{"photo_id":"1326926066","filename":"file2"},{"photo_id":"1326926065","filename":"file1"},{"photo_id":"1326926064","filename":"file0"},{"photo_id":"1326926067","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926066":["hashtag1","hashtag2"]},{"1326926065":["hashtag1","hashtag2"]},{"1326926067":["hashtag1","hashtag2"]},{"1326926064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926066, 1326926065, 1326926067, 1326926064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.117246866226196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:10:02.255793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0003.jpg', '/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0000.jpg', '/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0001.jpg', '/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/08/image_06012025_03_08_03_069372_0003.jpg
/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0000.jpg
/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0001.jpg
/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926115","1326926116","1326926112","1326926106"],"photo_ids_order":["1326926106","1326926112","1326926115","1326926116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d09d4d2e0cc0029617226c31b53ceea9.jpg","text":"TemporaryFile(/tmp/multipartBody4524117301195813149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129472598,"filename":"image_06012025_03_09_02_952436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e42b76cb9eeefcc5174116414772e15.jpg","text":"TemporaryFile(/tmp/multipartBody7482303618933444757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129472598,"filename":"image_06012025_03_09_02_952436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be92453f32da3a669055e42ceb427f89.jpg","text":"TemporaryFile(/tmp/multipartBody7962309302977452962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129472598,"filename":"image_06012025_03_09_02_952436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2828ac6866fd01fd30d1a9d697a32f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5835649865835936913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129472598,"filename":"image_06012025_03_08_03_069372_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926115","file1":"1326926112","file0":"1326926106","file3":"1326926116"},"map_files_photo_id_array":[{"photo_id":"1326926115","filename":"file2"},{"photo_id":"1326926112","filename":"file1"},{"photo_id":"1326926106","filename":"file0"},{"photo_id":"1326926116","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926115":["hashtag1","hashtag2"]},{"1326926116":["hashtag1","hashtag2"]},{"1326926112":["hashtag1","hashtag2"]},{"1326926106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926115, 1326926116, 1326926112, 1326926106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7017080783844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:11:03.057285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0003.jpg', '/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0000.jpg', '/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0001.jpg', '/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/09/image_06012025_03_09_02_952436_0003.jpg
/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0000.jpg
/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0001.jpg
/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926276","1326926278","1326926274","1326926277"],"photo_ids_order":["1326926274","1326926276","1326926277","1326926278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e68c6c1a3f74c5a1c44e7d1cbabbb9de.jpg","text":"TemporaryFile(/tmp/multipartBody4697785223627833487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129533430,"filename":"image_06012025_03_10_02_465430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/146800c6f3dd5e80bdf1223d0815c11d.jpg","text":"TemporaryFile(/tmp/multipartBody4120323394997823813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129533430,"filename":"image_06012025_03_10_02_465430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60b3cdcb8d0025120537dba5f998546f.jpg","text":"TemporaryFile(/tmp/multipartBody3641725075284839175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129533430,"filename":"image_06012025_03_09_02_952436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ab65a7c151f68d87844f1b91a015647.jpg","text":"TemporaryFile(/tmp/multipartBody4547250376861387912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129533430,"filename":"image_06012025_03_10_02_465430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926277","file1":"1326926276","file0":"1326926274","file3":"1326926278"},"map_files_photo_id_array":[{"photo_id":"1326926277","filename":"file2"},{"photo_id":"1326926276","filename":"file1"},{"photo_id":"1326926274","filename":"file0"},{"photo_id":"1326926278","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926276":["hashtag1","hashtag2"]},{"1326926278":["hashtag1","hashtag2"]},{"1326926274":["hashtag1","hashtag2"]},{"1326926277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926276, 1326926278, 1326926274, 1326926277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74952435493469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:12:02.606899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0003.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0000.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0001.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0003.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0000.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0001.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_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.915009260177612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:12:22.051540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0003.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0000.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0001.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0002.jpg', '/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0003.jpg', '/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/10/image_06012025_03_10_02_465430_0003.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0000.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0001.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0002.jpg
/home/pi/Desktop/images/06012025/03/11/image_06012025_03_11_02_207478_0003.jpg
/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926291","1326926300","1326926293","1326926295","1326926289","1326926304"],"photo_ids_order":["1326926289","1326926291","1326926293","1326926295","1326926300","1326926304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/260a89a45e231dec33b91210f9fb2a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6538558646537883579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_11_02_207478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f27d9566a43999d83da031c709c54c2.jpg","text":"TemporaryFile(/tmp/multipartBody491375038201918643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_11_02_207478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a041e29b91aaf2b56b0d2258a9369f62.jpg","text":"TemporaryFile(/tmp/multipartBody3467781233761882035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_11_02_207478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0efcd0b183112ee39f51a651d9a4fe79.jpg","text":"TemporaryFile(/tmp/multipartBody3043411338890121503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_11_02_207478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b17f089a7ac5b675286a8461fd444a6e.jpg","text":"TemporaryFile(/tmp/multipartBody9074069675922699268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_10_02_465430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a429df36bdc8e2b01b4ddf4d8497acee.jpg","text":"TemporaryFile(/tmp/multipartBody2073008334987780913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129617090,"filename":"image_06012025_03_12_02_747038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926293","file1":"1326926291","file0":"1326926289","file4":"1326926300","file5":"1326926304","file3":"1326926295"},"map_files_photo_id_array":[{"photo_id":"1326926304","filename":"file5"},{"photo_id":"1326926293","filename":"file2"},{"photo_id":"1326926300","filename":"file4"},{"photo_id":"1326926291","filename":"file1"},{"photo_id":"1326926289","filename":"file0"},{"photo_id":"1326926295","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926291":["hashtag1","hashtag2"]},{"1326926300":["hashtag1","hashtag2"]},{"1326926293":["hashtag1","hashtag2"]},{"1326926295":["hashtag1","hashtag2"]},{"1326926289":["hashtag1","hashtag2"]},{"1326926304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926291, 1326926300, 1326926293, 1326926295, 1326926289, 1326926304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27371025085449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:13:22.596567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0001.jpg', '/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0002.jpg', '/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0003.jpg', '/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0000.jpg', '/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0001.jpg', '/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0001.jpg
/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0002.jpg
/home/pi/Desktop/images/06012025/03/12/image_06012025_03_12_02_747038_0003.jpg
/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0000.jpg
/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0001.jpg
/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926381","1326926375","1326926383","1326926377","1326926379","1326926387"],"photo_ids_order":["1326926375","1326926377","1326926379","1326926381","1326926383","1326926387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2517fbab8bcc1072f1cc72eb735d6469.jpg","text":"TemporaryFile(/tmp/multipartBody5986717829525154787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_13_02_458338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f67deee139954f19ef36ff7a54c444b.jpg","text":"TemporaryFile(/tmp/multipartBody1445217906620857735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_12_02_747038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aaeb3b9db7c2d753755e73bd89fca3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3514411114916772156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_13_02_458338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b590ef617bc27ac13f59831d806c0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6604091991264463266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_12_02_747038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4aff6b528a69f352671469a04869c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6271077649155471112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_12_02_747038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b1c5a4c88c381c5ca35f12f4cf82ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1834035175866350330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129677613,"filename":"image_06012025_03_13_02_458338_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926379","file1":"1326926377","file0":"1326926375","file4":"1326926383","file5":"1326926387","file3":"1326926381"},"map_files_photo_id_array":[{"photo_id":"1326926387","filename":"file5"},{"photo_id":"1326926379","filename":"file2"},{"photo_id":"1326926383","filename":"file4"},{"photo_id":"1326926377","filename":"file1"},{"photo_id":"1326926375","filename":"file0"},{"photo_id":"1326926381","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926381":["hashtag1","hashtag2"]},{"1326926375":["hashtag1","hashtag2"]},{"1326926383":["hashtag1","hashtag2"]},{"1326926377":["hashtag1","hashtag2"]},{"1326926379":["hashtag1","hashtag2"]},{"1326926387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926381, 1326926375, 1326926383, 1326926377, 1326926379, 1326926387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.49425506591797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:14:22.152729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0003.jpg', '/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0000.jpg', '/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0001.jpg', '/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/13/image_06012025_03_13_02_458338_0003.jpg
/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0000.jpg
/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0001.jpg
/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926395","1326926434","1326926436","1326926430"],"photo_ids_order":["1326926395","1326926430","1326926434","1326926436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dc4b4c59e2fefba0b906c5858420ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4392592245153179014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129732519,"filename":"image_06012025_03_13_02_458338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb14fb8f34a2cc708cad617355410a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2538578548422383059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129732519,"filename":"image_06012025_03_14_02_981189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1f351fbc986856e147700b45c5b6eec.jpg","text":"TemporaryFile(/tmp/multipartBody6349629671088296862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129732519,"filename":"image_06012025_03_14_02_981189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7aac4068ab140ccd473cc528635650a6.jpg","text":"TemporaryFile(/tmp/multipartBody8331476979944472797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129732519,"filename":"image_06012025_03_14_02_981189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926434","file1":"1326926430","file0":"1326926395","file3":"1326926436"},"map_files_photo_id_array":[{"photo_id":"1326926434","filename":"file2"},{"photo_id":"1326926430","filename":"file1"},{"photo_id":"1326926395","filename":"file0"},{"photo_id":"1326926436","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926395":["hashtag1","hashtag2"]},{"1326926434":["hashtag1","hashtag2"]},{"1326926436":["hashtag1","hashtag2"]},{"1326926430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926395, 1326926434, 1326926436, 1326926430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19782114028931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:15:22.617727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0003.jpg', '/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0000.jpg', '/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0001.jpg', '/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/14/image_06012025_03_14_02_981189_0003.jpg
/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0000.jpg
/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0001.jpg
/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926636","1326926630","1326926632","1326926634"],"photo_ids_order":["1326926630","1326926632","1326926634","1326926636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c538315e8a01a4bc4949af15cc40cb07.jpg","text":"TemporaryFile(/tmp/multipartBody1952461145827166393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129792830,"filename":"image_06012025_03_15_02_532390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb87b5057fbaf684376a0c33624e11b4.jpg","text":"TemporaryFile(/tmp/multipartBody3157295112994590842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129792830,"filename":"image_06012025_03_14_02_981189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b74a1d2adfe11816f1e7fc9648a8579.jpg","text":"TemporaryFile(/tmp/multipartBody2988923534549981858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129792830,"filename":"image_06012025_03_15_02_532390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98197349b6480b3f270853a7e9a7ae83.jpg","text":"TemporaryFile(/tmp/multipartBody7405153725602633980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129792830,"filename":"image_06012025_03_15_02_532390_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926634","file1":"1326926632","file0":"1326926630","file3":"1326926636"},"map_files_photo_id_array":[{"photo_id":"1326926634","filename":"file2"},{"photo_id":"1326926632","filename":"file1"},{"photo_id":"1326926630","filename":"file0"},{"photo_id":"1326926636","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926636":["hashtag1","hashtag2"]},{"1326926630":["hashtag1","hashtag2"]},{"1326926632":["hashtag1","hashtag2"]},{"1326926634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926636, 1326926630, 1326926632, 1326926634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30738282203674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:16:22.247023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0003.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0000.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0001.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0003.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0000.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0001.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_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.010713815689087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:17:02.308812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0003.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0000.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0001.jpg', '/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/15/image_06012025_03_15_02_532390_0003.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0000.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0001.jpg
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926689","1326926692","1326926691","1326926690"],"photo_ids_order":["1326926689","1326926690","1326926691","1326926692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d05d4976975c80fd96158c1bf307eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5178090692142217571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129892797,"filename":"image_06012025_03_15_02_532390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65a0bfa56833671744b5e3af1ad60bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8868605306163438992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129892797,"filename":"image_06012025_03_16_03_075730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e0ce102c7a67b101b222c5af9507c6b.jpg","text":"TemporaryFile(/tmp/multipartBody279851414315715267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129892797,"filename":"image_06012025_03_16_03_075730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4ff33dc21eb3ee873d7d52ffd8ae58f.jpg","text":"TemporaryFile(/tmp/multipartBody6218865823288796393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129892797,"filename":"image_06012025_03_16_03_075730_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926691","file1":"1326926690","file0":"1326926689","file3":"1326926692"},"map_files_photo_id_array":[{"photo_id":"1326926691","filename":"file2"},{"photo_id":"1326926690","filename":"file1"},{"photo_id":"1326926689","filename":"file0"},{"photo_id":"1326926692","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926689":["hashtag1","hashtag2"]},{"1326926692":["hashtag1","hashtag2"]},{"1326926691":["hashtag1","hashtag2"]},{"1326926690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926689, 1326926692, 1326926691, 1326926690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73651194572449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:18:02.942000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0003.jpg', '/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0000.jpg', '/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0001.jpg', '/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/16/image_06012025_03_16_03_075730_0003.jpg
/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0000.jpg
/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0001.jpg
/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926702","1326926701","1326926700","1326926699"],"photo_ids_order":["1326926699","1326926700","1326926701","1326926702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5da0ead4d8f96b65692cc235b19f75d3.jpg","text":"TemporaryFile(/tmp/multipartBody2732060721933940509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129953134,"filename":"image_06012025_03_17_02_608353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd7f4fef45f0a4e639d52c5b05568c14.jpg","text":"TemporaryFile(/tmp/multipartBody8004680264378736890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129953134,"filename":"image_06012025_03_17_02_608353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/483aece6767c1bea05b47fb934e7b61f.jpg","text":"TemporaryFile(/tmp/multipartBody444840216600912555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129953134,"filename":"image_06012025_03_17_02_608353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83086a2df1f1e155ed6c52ff3b3cae2e.jpg","text":"TemporaryFile(/tmp/multipartBody4784978910779921509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736129953134,"filename":"image_06012025_03_16_03_075730_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926701","file1":"1326926700","file0":"1326926699","file3":"1326926702"},"map_files_photo_id_array":[{"photo_id":"1326926701","filename":"file2"},{"photo_id":"1326926700","filename":"file1"},{"photo_id":"1326926699","filename":"file0"},{"photo_id":"1326926702","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926702":["hashtag1","hashtag2"]},{"1326926701":["hashtag1","hashtag2"]},{"1326926700":["hashtag1","hashtag2"]},{"1326926699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926702, 1326926701, 1326926700, 1326926699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50035238265991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:19:02.633722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0003.jpg', '/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0000.jpg', '/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0001.jpg', '/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/17/image_06012025_03_17_02_608353_0003.jpg
/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0000.jpg
/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0001.jpg
/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926716","1326926719","1326926718","1326926709"],"photo_ids_order":["1326926709","1326926716","1326926718","1326926719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efdd500954920e98c2732c216d4c6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody474980208858584085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130012890,"filename":"image_06012025_03_18_02_155279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95c6e5d3f1323c825b44829993addbe1.jpg","text":"TemporaryFile(/tmp/multipartBody6537593652951087795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130012890,"filename":"image_06012025_03_18_02_155279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/235bcf41d43bc4b1d595c70d4494c694.jpg","text":"TemporaryFile(/tmp/multipartBody3088252207510729002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130012890,"filename":"image_06012025_03_18_02_155279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf6923498d5950e6ce073dd844594ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5790669111996470172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130012890,"filename":"image_06012025_03_17_02_608353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926718","file1":"1326926716","file0":"1326926709","file3":"1326926719"},"map_files_photo_id_array":[{"photo_id":"1326926718","filename":"file2"},{"photo_id":"1326926716","filename":"file1"},{"photo_id":"1326926709","filename":"file0"},{"photo_id":"1326926719","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926716":["hashtag1","hashtag2"]},{"1326926719":["hashtag1","hashtag2"]},{"1326926718":["hashtag1","hashtag2"]},{"1326926709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926716, 1326926719, 1326926718, 1326926709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03473234176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:20:03.152118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0003.jpg', '/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0000.jpg', '/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0001.jpg', '/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/18/image_06012025_03_18_02_155279_0003.jpg
/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0000.jpg
/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0001.jpg
/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926797","1326926799","1326926796","1326926798"],"photo_ids_order":["1326926796","1326926797","1326926798","1326926799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7419c8535239906d66e83eaa0ff4c54f.jpg","text":"TemporaryFile(/tmp/multipartBody5126320158554269117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130073321,"filename":"image_06012025_03_19_02_846302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bfccbe66132a6d53e7bbb69a0897688.jpg","text":"TemporaryFile(/tmp/multipartBody5396919263207120612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130073321,"filename":"image_06012025_03_19_02_846302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4577a74d8bdd2387d3308c25c78716c.jpg","text":"TemporaryFile(/tmp/multipartBody3416500491690841530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130073321,"filename":"image_06012025_03_18_02_155279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0ddc1261e81546559d9f2784a342bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5912347990997834606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130073321,"filename":"image_06012025_03_19_02_846302_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926798","file1":"1326926797","file0":"1326926796","file3":"1326926799"},"map_files_photo_id_array":[{"photo_id":"1326926798","filename":"file2"},{"photo_id":"1326926797","filename":"file1"},{"photo_id":"1326926796","filename":"file0"},{"photo_id":"1326926799","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926797":["hashtag1","hashtag2"]},{"1326926799":["hashtag1","hashtag2"]},{"1326926796":["hashtag1","hashtag2"]},{"1326926798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926797, 1326926799, 1326926796, 1326926798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63295292854309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:21:02.766700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0003.jpg', '/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0000.jpg', '/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0001.jpg', '/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/19/image_06012025_03_19_02_846302_0003.jpg
/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0000.jpg
/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0001.jpg
/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926933","1326926905","1326926908","1326926904"],"photo_ids_order":["1326926904","1326926905","1326926908","1326926933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a266413217dec8998745b70d59275bb.jpg","text":"TemporaryFile(/tmp/multipartBody7779038661405881076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130133103,"filename":"image_06012025_03_20_02_367990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87e199625ab24b8d9097d43eec774b21.jpg","text":"TemporaryFile(/tmp/multipartBody5457575811754214513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130133103,"filename":"image_06012025_03_20_02_367990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef6053609eb4088ec5e280f70407f10b.jpg","text":"TemporaryFile(/tmp/multipartBody3687020489831148185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130133103,"filename":"image_06012025_03_20_02_367990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89a6a4af0a1f5301b194b250efab30c5.jpg","text":"TemporaryFile(/tmp/multipartBody7380600087223574715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130133103,"filename":"image_06012025_03_19_02_846302_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926908","file1":"1326926905","file0":"1326926904","file3":"1326926933"},"map_files_photo_id_array":[{"photo_id":"1326926908","filename":"file2"},{"photo_id":"1326926905","filename":"file1"},{"photo_id":"1326926904","filename":"file0"},{"photo_id":"1326926933","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926933":["hashtag1","hashtag2"]},{"1326926905":["hashtag1","hashtag2"]},{"1326926908":["hashtag1","hashtag2"]},{"1326926904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926933, 1326926905, 1326926908, 1326926904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.882973432540894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:22:02.199247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0003.jpg', '/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0000.jpg', '/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0001.jpg', '/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/20/image_06012025_03_20_02_367990_0003.jpg
/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0000.jpg
/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0001.jpg
/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326926945","1326926944","1326926947","1326926946"],"photo_ids_order":["1326926944","1326926945","1326926946","1326926947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0aba16f0286eb1e7894512e4528bac6b.jpg","text":"TemporaryFile(/tmp/multipartBody7007638590226983443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130192416,"filename":"image_06012025_03_21_03_064760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3250a577d9f6e699db48322f958e0738.jpg","text":"TemporaryFile(/tmp/multipartBody4759268278087852586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130192416,"filename":"image_06012025_03_20_02_367990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f59af311a9ef831cd2185a9282b32932.jpg","text":"TemporaryFile(/tmp/multipartBody629938878590237342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130192416,"filename":"image_06012025_03_21_03_064760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02594dbe47427b32941c6da13efe8d23.jpg","text":"TemporaryFile(/tmp/multipartBody645560534213192522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130192416,"filename":"image_06012025_03_21_03_064760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326926946","file1":"1326926945","file0":"1326926944","file3":"1326926947"},"map_files_photo_id_array":[{"photo_id":"1326926946","filename":"file2"},{"photo_id":"1326926945","filename":"file1"},{"photo_id":"1326926944","filename":"file0"},{"photo_id":"1326926947","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326926945":["hashtag1","hashtag2"]},{"1326926944":["hashtag1","hashtag2"]},{"1326926947":["hashtag1","hashtag2"]},{"1326926946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326926945, 1326926944, 1326926947, 1326926946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.224021673202515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:23:02.726160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0003.jpg', '/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0000.jpg', '/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0001.jpg', '/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/21/image_06012025_03_21_03_064760_0003.jpg
/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0000.jpg
/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0001.jpg
/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927058","1326927060","1326927057","1326927059"],"photo_ids_order":["1326927057","1326927058","1326927059","1326927060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7e013d51504919742e63899e7cbcac7.jpg","text":"TemporaryFile(/tmp/multipartBody5536775400359794586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130253046,"filename":"image_06012025_03_22_02_588890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e69483c7bbdedb092f10d9cc1fb6032.jpg","text":"TemporaryFile(/tmp/multipartBody8536268521957619169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130253046,"filename":"image_06012025_03_22_02_588890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a40579b75232d09dcb0677cb5445970e.jpg","text":"TemporaryFile(/tmp/multipartBody5612711547347749183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130253046,"filename":"image_06012025_03_21_03_064760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0180f8ce676de7cdfa14f37a5e3e3dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6965508301224299639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130253046,"filename":"image_06012025_03_22_02_588890_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927059","file1":"1326927058","file0":"1326927057","file3":"1326927060"},"map_files_photo_id_array":[{"photo_id":"1326927059","filename":"file2"},{"photo_id":"1326927058","filename":"file1"},{"photo_id":"1326927057","filename":"file0"},{"photo_id":"1326927060","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927058":["hashtag1","hashtag2"]},{"1326927060":["hashtag1","hashtag2"]},{"1326927057":["hashtag1","hashtag2"]},{"1326927059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927058, 1326927060, 1326927057, 1326927059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.164886713027954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:24:02.203665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0003.jpg', '/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0000.jpg', '/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0001.jpg', '/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/22/image_06012025_03_22_02_588890_0003.jpg
/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0000.jpg
/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0001.jpg
/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927068","1326927067","1326927070","1326927069"],"photo_ids_order":["1326927067","1326927068","1326927069","1326927070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4b6e8aca348a8fe3216dd80868051ca.jpg","text":"TemporaryFile(/tmp/multipartBody4855985676814737065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130312333,"filename":"image_06012025_03_23_02_119539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96df0da4c4c8ee79a48597e9b1708b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8244753017846572524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130312333,"filename":"image_06012025_03_22_02_588890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3cdd8d50415a9641ba2ec9de9c419bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7297132858646477240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130312333,"filename":"image_06012025_03_23_02_119539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c142c13cc880c946ba8ae4c990988164.jpg","text":"TemporaryFile(/tmp/multipartBody8496214258064201527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130312333,"filename":"image_06012025_03_23_02_119539_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927069","file1":"1326927068","file0":"1326927067","file3":"1326927070"},"map_files_photo_id_array":[{"photo_id":"1326927069","filename":"file2"},{"photo_id":"1326927068","filename":"file1"},{"photo_id":"1326927067","filename":"file0"},{"photo_id":"1326927070","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927068":["hashtag1","hashtag2"]},{"1326927067":["hashtag1","hashtag2"]},{"1326927070":["hashtag1","hashtag2"]},{"1326927069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927068, 1326927067, 1326927070, 1326927069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.58177185058594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:25:02.924714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0003.jpg', '/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0000.jpg', '/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0001.jpg', '/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/23/image_06012025_03_23_02_119539_0003.jpg
/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0000.jpg
/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0001.jpg
/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927146","1326927199","1326927148","1326927147"],"photo_ids_order":["1326927146","1326927147","1326927148","1326927199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/933f270726460c81a79dca4be2cbffc5.jpg","text":"TemporaryFile(/tmp/multipartBody339577796607130654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130373222,"filename":"image_06012025_03_23_02_119539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/763e533a69eb5a5cb41f4253d9ca4175.jpg","text":"TemporaryFile(/tmp/multipartBody4196252363661645003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130373222,"filename":"image_06012025_03_24_02_583672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df7693aff68d31d0e2eab51880999916.jpg","text":"TemporaryFile(/tmp/multipartBody4278584238993715822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130373222,"filename":"image_06012025_03_24_02_583672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d677e008aaf10758a6f267ac9877b187.jpg","text":"TemporaryFile(/tmp/multipartBody5689541850304783249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130373222,"filename":"image_06012025_03_24_02_583672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927148","file1":"1326927147","file0":"1326927146","file3":"1326927199"},"map_files_photo_id_array":[{"photo_id":"1326927148","filename":"file2"},{"photo_id":"1326927147","filename":"file1"},{"photo_id":"1326927146","filename":"file0"},{"photo_id":"1326927199","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927146":["hashtag1","hashtag2"]},{"1326927199":["hashtag1","hashtag2"]},{"1326927148":["hashtag1","hashtag2"]},{"1326927147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927146, 1326927199, 1326927148, 1326927147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.898860931396484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:26:02.371382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0003.jpg', '/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0000.jpg', '/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0001.jpg', '/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/24/image_06012025_03_24_02_583672_0003.jpg
/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0000.jpg
/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0001.jpg
/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927245","1326927247","1326927244","1326927246"],"photo_ids_order":["1326927244","1326927245","1326927246","1326927247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adf76ec3be1492cd04ab734619db2a12.jpg","text":"TemporaryFile(/tmp/multipartBody4408507651713531564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130432420,"filename":"image_06012025_03_25_02_199868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9209d9748c40657144fcbbf3b5089dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7195652215390000732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130432420,"filename":"image_06012025_03_25_02_199868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61cdf41f1989378a6e7d947a3489690e.jpg","text":"TemporaryFile(/tmp/multipartBody6443999650041394752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130432420,"filename":"image_06012025_03_24_02_583672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b85fe4846b384b84f8eadf6752a8553f.jpg","text":"TemporaryFile(/tmp/multipartBody136294630302619047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130432420,"filename":"image_06012025_03_25_02_199868_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927246","file1":"1326927245","file0":"1326927244","file3":"1326927247"},"map_files_photo_id_array":[{"photo_id":"1326927246","filename":"file2"},{"photo_id":"1326927245","filename":"file1"},{"photo_id":"1326927244","filename":"file0"},{"photo_id":"1326927247","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927245":["hashtag1","hashtag2"]},{"1326927247":["hashtag1","hashtag2"]},{"1326927244":["hashtag1","hashtag2"]},{"1326927246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927245, 1326927247, 1326927244, 1326927246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.429710388183594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:27:03.155754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0003.jpg', '/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0000.jpg', '/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0001.jpg', '/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/25/image_06012025_03_25_02_199868_0003.jpg
/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0000.jpg
/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0001.jpg
/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927256","1326927255","1326927254","1326927257"],"photo_ids_order":["1326927254","1326927255","1326927256","1326927257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2110330b8b509d7c9cb3f7661d98fc5.jpg","text":"TemporaryFile(/tmp/multipartBody9029268226723764623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130493366,"filename":"image_06012025_03_26_02_693875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ff4abaa503e0f2dcbac6989f3c23e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7764955578780375078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130493366,"filename":"image_06012025_03_26_02_693875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8217053b2bf11365df11224fee7433bb.jpg","text":"TemporaryFile(/tmp/multipartBody3584358868302049079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130493366,"filename":"image_06012025_03_25_02_199868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07b86aac3021c4141893729c5e6040f3.jpg","text":"TemporaryFile(/tmp/multipartBody610072281744797244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130493366,"filename":"image_06012025_03_26_02_693875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927256","file1":"1326927255","file0":"1326927254","file3":"1326927257"},"map_files_photo_id_array":[{"photo_id":"1326927256","filename":"file2"},{"photo_id":"1326927255","filename":"file1"},{"photo_id":"1326927254","filename":"file0"},{"photo_id":"1326927257","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927256":["hashtag1","hashtag2"]},{"1326927255":["hashtag1","hashtag2"]},{"1326927254":["hashtag1","hashtag2"]},{"1326927257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927256, 1326927255, 1326927254, 1326927257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91484212875366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:28:02.538435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0003.jpg', '/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0000.jpg', '/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0001.jpg', '/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/26/image_06012025_03_26_02_693875_0003.jpg
/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0000.jpg
/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0001.jpg
/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927286","1326927285","1326927290","1326927287"],"photo_ids_order":["1326927285","1326927286","1326927287","1326927290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/571a24e78d13eb410290bfd96a54bbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1992343226001834135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130552784,"filename":"image_06012025_03_27_02_383480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e5fee82e34e855680f9b9bdee26933b.jpg","text":"TemporaryFile(/tmp/multipartBody6625525607222820827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130552784,"filename":"image_06012025_03_26_02_693875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25bed873cad13abfd055f98b826b77e7.jpg","text":"TemporaryFile(/tmp/multipartBody6652284916548186478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130552784,"filename":"image_06012025_03_27_02_383480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ec54f38ca34cd139b76bd68dcf7c672.jpg","text":"TemporaryFile(/tmp/multipartBody4137045511323614950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130552784,"filename":"image_06012025_03_27_02_383480_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927287","file1":"1326927286","file0":"1326927285","file3":"1326927290"},"map_files_photo_id_array":[{"photo_id":"1326927287","filename":"file2"},{"photo_id":"1326927286","filename":"file1"},{"photo_id":"1326927285","filename":"file0"},{"photo_id":"1326927290","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927286":["hashtag1","hashtag2"]},{"1326927285":["hashtag1","hashtag2"]},{"1326927290":["hashtag1","hashtag2"]},{"1326927287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927286, 1326927285, 1326927290, 1326927287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.525315284729004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:29:03.466351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0003.jpg', '/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0000.jpg', '/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0001.jpg', '/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/27/image_06012025_03_27_02_383480_0003.jpg
/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0000.jpg
/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0001.jpg
/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927431","1326927429","1326927434","1326927335"],"photo_ids_order":["1326927335","1326927429","1326927431","1326927434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5c1225ca900878f2afd41c7f13f6e20a.jpg","text":"TemporaryFile(/tmp/multipartBody1498974847278060424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130613731,"filename":"image_06012025_03_28_02_961534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8cf2701e72b5d1a26563ff814a7edc69.jpg","text":"TemporaryFile(/tmp/multipartBody9167735979541733372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130613731,"filename":"image_06012025_03_28_02_961534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/726a805e5c0e401f1f40b5db283a8510.jpg","text":"TemporaryFile(/tmp/multipartBody8101780072085885774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130613731,"filename":"image_06012025_03_28_02_961534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9377dd20e747d71d25e13b70627eb9d.jpg","text":"TemporaryFile(/tmp/multipartBody2597954722102323250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130613731,"filename":"image_06012025_03_27_02_383480_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927431","file1":"1326927429","file0":"1326927335","file3":"1326927434"},"map_files_photo_id_array":[{"photo_id":"1326927431","filename":"file2"},{"photo_id":"1326927429","filename":"file1"},{"photo_id":"1326927335","filename":"file0"},{"photo_id":"1326927434","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927431":["hashtag1","hashtag2"]},{"1326927429":["hashtag1","hashtag2"]},{"1326927434":["hashtag1","hashtag2"]},{"1326927335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927431, 1326927429, 1326927434, 1326927335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32757782936096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:30:02.829195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0003.jpg', '/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0000.jpg', '/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0001.jpg', '/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/28/image_06012025_03_28_02_961534_0003.jpg
/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0000.jpg
/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0001.jpg
/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927464","1326927448","1326927450","1326927447"],"photo_ids_order":["1326927447","1326927448","1326927450","1326927464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2a610db5595a5897a8a486b9f4af707.jpg","text":"TemporaryFile(/tmp/multipartBody7866262415489394167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130673096,"filename":"image_06012025_03_29_02_568926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/defc188e6d109fdb4c83c9862a76c5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6116254789958558330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130673096,"filename":"image_06012025_03_29_02_568926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/371255cb7e22acd43e7bbc9c3028ad58.jpg","text":"TemporaryFile(/tmp/multipartBody1178484155445809929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130673096,"filename":"image_06012025_03_29_02_568926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a859fd60ebc25aa1732015fe800816d9.jpg","text":"TemporaryFile(/tmp/multipartBody8703621375781974181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130673096,"filename":"image_06012025_03_28_02_961534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927450","file1":"1326927448","file0":"1326927447","file3":"1326927464"},"map_files_photo_id_array":[{"photo_id":"1326927450","filename":"file2"},{"photo_id":"1326927448","filename":"file1"},{"photo_id":"1326927447","filename":"file0"},{"photo_id":"1326927464","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927464":["hashtag1","hashtag2"]},{"1326927448":["hashtag1","hashtag2"]},{"1326927450":["hashtag1","hashtag2"]},{"1326927447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927464, 1326927448, 1326927450, 1326927447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01918387413025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:31:02.651661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0003.jpg', '/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0000.jpg', '/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0001.jpg', '/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/29/image_06012025_03_29_02_568926_0003.jpg
/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0000.jpg
/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0001.jpg
/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927509","1326927511","1326927508","1326927510"],"photo_ids_order":["1326927508","1326927509","1326927510","1326927511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/255a0f1f645f23f9cda1944a80c5b4ad.jpg","text":"TemporaryFile(/tmp/multipartBody3851235828067222679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130732904,"filename":"image_06012025_03_30_03_149174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/206485342d4ece7ffb66c16adfe1cd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4089476262365635422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130732904,"filename":"image_06012025_03_30_03_149174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5baf27832c4bbffef0ecf2b8858548aa.jpg","text":"TemporaryFile(/tmp/multipartBody4440436599613012299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130732904,"filename":"image_06012025_03_29_02_568926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35819a82c540ad07c4200c08b6b52cf9.jpg","text":"TemporaryFile(/tmp/multipartBody55562105353983894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130732904,"filename":"image_06012025_03_30_03_149174_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927510","file1":"1326927509","file0":"1326927508","file3":"1326927511"},"map_files_photo_id_array":[{"photo_id":"1326927510","filename":"file2"},{"photo_id":"1326927509","filename":"file1"},{"photo_id":"1326927508","filename":"file0"},{"photo_id":"1326927511","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927509":["hashtag1","hashtag2"]},{"1326927511":["hashtag1","hashtag2"]},{"1326927508":["hashtag1","hashtag2"]},{"1326927510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927509, 1326927511, 1326927508, 1326927510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38019847869873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:32:02.934071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0003.jpg', '/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0000.jpg', '/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0001.jpg', '/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/30/image_06012025_03_30_03_149174_0003.jpg
/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0000.jpg
/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0001.jpg
/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927605","1326927604","1326927603","1326927531"],"photo_ids_order":["1326927531","1326927603","1326927604","1326927605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d11d3b2a6d32e3eed6b807afaad46dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3739336842115760538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130793250,"filename":"image_06012025_03_31_02_823574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78498d5558ab442980722f5ca9a9829a.jpg","text":"TemporaryFile(/tmp/multipartBody4416491993629979309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130793250,"filename":"image_06012025_03_31_02_823574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6113fcd97e94183b108fc46d2bcc062c.jpg","text":"TemporaryFile(/tmp/multipartBody1500508400613557773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130793250,"filename":"image_06012025_03_31_02_823574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc7e158622eca43694e6a3efc6a44ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3843123003027729100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130793250,"filename":"image_06012025_03_30_03_149174_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927604","file1":"1326927603","file0":"1326927531","file3":"1326927605"},"map_files_photo_id_array":[{"photo_id":"1326927604","filename":"file2"},{"photo_id":"1326927603","filename":"file1"},{"photo_id":"1326927531","filename":"file0"},{"photo_id":"1326927605","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927605":["hashtag1","hashtag2"]},{"1326927604":["hashtag1","hashtag2"]},{"1326927603":["hashtag1","hashtag2"]},{"1326927531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927605, 1326927604, 1326927603, 1326927531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99528956413269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:33:02.677584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0003.jpg', '/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0000.jpg', '/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0001.jpg', '/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/31/image_06012025_03_31_02_823574_0003.jpg
/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0000.jpg
/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0001.jpg
/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927614","1326927613","1326927612","1326927615"],"photo_ids_order":["1326927612","1326927613","1326927614","1326927615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7a09fef8a967e904338fc35fabbc2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5842577688609597584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130852976,"filename":"image_06012025_03_32_02_319892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52a917238cc0553c8334e573dd33a8b6.jpg","text":"TemporaryFile(/tmp/multipartBody1149565331544871898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130852976,"filename":"image_06012025_03_32_02_319892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dca226c9264e8c19fc34dc524ff49d14.jpg","text":"TemporaryFile(/tmp/multipartBody4254766826525570807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130852976,"filename":"image_06012025_03_31_02_823574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7348aa10afaa315fb501d44204d271fd.jpg","text":"TemporaryFile(/tmp/multipartBody7505619032799281574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130852976,"filename":"image_06012025_03_32_02_319892_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927614","file1":"1326927613","file0":"1326927612","file3":"1326927615"},"map_files_photo_id_array":[{"photo_id":"1326927614","filename":"file2"},{"photo_id":"1326927613","filename":"file1"},{"photo_id":"1326927612","filename":"file0"},{"photo_id":"1326927615","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927614":["hashtag1","hashtag2"]},{"1326927613":["hashtag1","hashtag2"]},{"1326927612":["hashtag1","hashtag2"]},{"1326927615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927614, 1326927613, 1326927612, 1326927615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9249312877655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:34:03.054722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0003.jpg', '/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0000.jpg', '/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0001.jpg', '/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/32/image_06012025_03_32_02_319892_0003.jpg
/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0000.jpg
/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0001.jpg
/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927641","1326927643","1326927640","1326927642"],"photo_ids_order":["1326927640","1326927641","1326927642","1326927643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd6c93c702bd0dc8b2bb6c6bc08eebac.jpg","text":"TemporaryFile(/tmp/multipartBody8857414898348282217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130913218,"filename":"image_06012025_03_33_02_921007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14cf318bd167b08199098b45ca5972a6.jpg","text":"TemporaryFile(/tmp/multipartBody3592275278724336587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130913218,"filename":"image_06012025_03_33_02_921007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43bf3821cc355c26a4bbd5dbd405caee.jpg","text":"TemporaryFile(/tmp/multipartBody1785739672647618478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130913218,"filename":"image_06012025_03_32_02_319892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6d87c90678b7037d81e4e3cb180b35a.jpg","text":"TemporaryFile(/tmp/multipartBody6741712925664117673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130913218,"filename":"image_06012025_03_33_02_921007_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927642","file1":"1326927641","file0":"1326927640","file3":"1326927643"},"map_files_photo_id_array":[{"photo_id":"1326927642","filename":"file2"},{"photo_id":"1326927641","filename":"file1"},{"photo_id":"1326927640","filename":"file0"},{"photo_id":"1326927643","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927641":["hashtag1","hashtag2"]},{"1326927643":["hashtag1","hashtag2"]},{"1326927640":["hashtag1","hashtag2"]},{"1326927642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927641, 1326927643, 1326927640, 1326927642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96551752090454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:35:02.828774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0003.jpg', '/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0000.jpg', '/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0001.jpg', '/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/33/image_06012025_03_33_02_921007_0003.jpg
/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0000.jpg
/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0001.jpg
/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927682","1326927679","1326927681","1326927680"],"photo_ids_order":["1326927679","1326927680","1326927681","1326927682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4577cf9c68f17bde9ce5c7f2adab8566.jpg","text":"TemporaryFile(/tmp/multipartBody2582173759352085803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130973275,"filename":"image_06012025_03_34_02_409769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dba3fe789599677fd04c0d97affd9ad3.jpg","text":"TemporaryFile(/tmp/multipartBody8385950096151452867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130973275,"filename":"image_06012025_03_33_02_921007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23199fa2c789e7bf1251d903bff71878.jpg","text":"TemporaryFile(/tmp/multipartBody2690363421008120846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130973275,"filename":"image_06012025_03_34_02_409769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c1ed4ff7ca1e6a62fa566d11c7f3886.jpg","text":"TemporaryFile(/tmp/multipartBody3645293101257056891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736130973275,"filename":"image_06012025_03_34_02_409769_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927681","file1":"1326927680","file0":"1326927679","file3":"1326927682"},"map_files_photo_id_array":[{"photo_id":"1326927681","filename":"file2"},{"photo_id":"1326927680","filename":"file1"},{"photo_id":"1326927679","filename":"file0"},{"photo_id":"1326927682","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927682":["hashtag1","hashtag2"]},{"1326927679":["hashtag1","hashtag2"]},{"1326927681":["hashtag1","hashtag2"]},{"1326927680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927682, 1326927679, 1326927681, 1326927680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97677540779114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:36:02.340849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0003.jpg', '/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0000.jpg', '/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0001.jpg', '/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/34/image_06012025_03_34_02_409769_0003.jpg
/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0000.jpg
/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0001.jpg
/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927844","1326927834","1326927801","1326927845"],"photo_ids_order":["1326927801","1326927834","1326927844","1326927845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8f0c42203e51782a63d5dc1e2114514.jpg","text":"TemporaryFile(/tmp/multipartBody9080927689491903325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131032681,"filename":"image_06012025_03_35_03_084659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d453afc0f964dd7b80262af5c4402bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2791791580165596165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131032681,"filename":"image_06012025_03_35_03_084659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e1552615b2338a8cf094a432ee12589.jpg","text":"TemporaryFile(/tmp/multipartBody8838928675353198518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131032681,"filename":"image_06012025_03_34_02_409769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da1a1fcd1119ad6d2cf8a5d6057c1792.jpg","text":"TemporaryFile(/tmp/multipartBody4629783688923055947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131032681,"filename":"image_06012025_03_35_03_084659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927844","file1":"1326927834","file0":"1326927801","file3":"1326927845"},"map_files_photo_id_array":[{"photo_id":"1326927844","filename":"file2"},{"photo_id":"1326927834","filename":"file1"},{"photo_id":"1326927801","filename":"file0"},{"photo_id":"1326927845","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927844":["hashtag1","hashtag2"]},{"1326927834":["hashtag1","hashtag2"]},{"1326927801":["hashtag1","hashtag2"]},{"1326927845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927844, 1326927834, 1326927801, 1326927845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.239991426467896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:37:02.995985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0003.jpg', '/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0000.jpg', '/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0001.jpg', '/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/35/image_06012025_03_35_03_084659_0003.jpg
/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0000.jpg
/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0001.jpg
/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927935","1326927940","1326927942","1326927941"],"photo_ids_order":["1326927935","1326927940","1326927941","1326927942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e70f1dda052902d6c6a2975053052146.jpg","text":"TemporaryFile(/tmp/multipartBody3007420779708907117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131093309,"filename":"image_06012025_03_35_03_084659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65e6aa96ac1db3220a54c3dc49e23e52.jpg","text":"TemporaryFile(/tmp/multipartBody4614725843718961414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131093309,"filename":"image_06012025_03_36_02_625288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92b8a8449dfc4b817c8b1dd6985e5aba.jpg","text":"TemporaryFile(/tmp/multipartBody1392078932608880136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131093309,"filename":"image_06012025_03_36_02_625288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5726246dd440da861fbfbfa31613322e.jpg","text":"TemporaryFile(/tmp/multipartBody9109114670197863918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131093309,"filename":"image_06012025_03_36_02_625288_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927941","file1":"1326927940","file0":"1326927935","file3":"1326927942"},"map_files_photo_id_array":[{"photo_id":"1326927941","filename":"file2"},{"photo_id":"1326927940","filename":"file1"},{"photo_id":"1326927935","filename":"file0"},{"photo_id":"1326927942","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927935":["hashtag1","hashtag2"]},{"1326927940":["hashtag1","hashtag2"]},{"1326927942":["hashtag1","hashtag2"]},{"1326927941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927935, 1326927940, 1326927942, 1326927941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50826835632324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:38:02.292186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0003.jpg', '/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0000.jpg', '/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0001.jpg', '/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/36/image_06012025_03_36_02_625288_0003.jpg
/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0000.jpg
/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0001.jpg
/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927985","1326927979","1326927978","1326927980"],"photo_ids_order":["1326927978","1326927979","1326927980","1326927985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06870bf97d61852b41c062d04aa19f46.jpg","text":"TemporaryFile(/tmp/multipartBody2890548789815142534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131152550,"filename":"image_06012025_03_37_02_191227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/157fdee1b1350e2e320c66b708aa5e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7618014175172211923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131152550,"filename":"image_06012025_03_37_02_191227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6eb04e0dc5fec2f61628f7b907b612f1.jpg","text":"TemporaryFile(/tmp/multipartBody818490116254870664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131152550,"filename":"image_06012025_03_36_02_625288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3bea5ed3b28e0d2e500bf25d5f6a0a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7724621441729203949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131152550,"filename":"image_06012025_03_37_02_191227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927980","file1":"1326927979","file0":"1326927978","file3":"1326927985"},"map_files_photo_id_array":[{"photo_id":"1326927980","filename":"file2"},{"photo_id":"1326927979","filename":"file1"},{"photo_id":"1326927978","filename":"file0"},{"photo_id":"1326927985","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927985":["hashtag1","hashtag2"]},{"1326927979":["hashtag1","hashtag2"]},{"1326927978":["hashtag1","hashtag2"]},{"1326927980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927985, 1326927979, 1326927978, 1326927980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.981361627578735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:39:02.958387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0003.jpg', '/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0000.jpg', '/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0001.jpg', '/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/37/image_06012025_03_37_02_191227_0003.jpg
/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0000.jpg
/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0001.jpg
/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326927994","1326927993","1326927992","1326927995"],"photo_ids_order":["1326927992","1326927993","1326927994","1326927995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65cffc4bc2b10376b6bfb5667edcca62.jpg","text":"TemporaryFile(/tmp/multipartBody6764090339357128524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131213297,"filename":"image_06012025_03_38_02_790909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04b1fff74dac925cd94f197ffb86d444.jpg","text":"TemporaryFile(/tmp/multipartBody120196511802278956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131213297,"filename":"image_06012025_03_38_02_790909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/694b87159223a30ac6a8de84a7efaa81.jpg","text":"TemporaryFile(/tmp/multipartBody659599676443139117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131213297,"filename":"image_06012025_03_37_02_191227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5cfada7ab32fb04bccf77354818ab7a5.jpg","text":"TemporaryFile(/tmp/multipartBody6697763089296455045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131213297,"filename":"image_06012025_03_38_02_790909_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326927994","file1":"1326927993","file0":"1326927992","file3":"1326927995"},"map_files_photo_id_array":[{"photo_id":"1326927994","filename":"file2"},{"photo_id":"1326927993","filename":"file1"},{"photo_id":"1326927992","filename":"file0"},{"photo_id":"1326927995","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326927994":["hashtag1","hashtag2"]},{"1326927993":["hashtag1","hashtag2"]},{"1326927992":["hashtag1","hashtag2"]},{"1326927995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326927994, 1326927993, 1326927992, 1326927995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90258717536926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:40:02.449927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0003.jpg', '/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0000.jpg', '/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0001.jpg', '/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/38/image_06012025_03_38_02_790909_0003.jpg
/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0000.jpg
/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0001.jpg
/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928072","1326928074","1326928071","1326928073"],"photo_ids_order":["1326928071","1326928072","1326928073","1326928074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af3d6372516492760e0caa7fc0f11e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1398700325233161831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131272793,"filename":"image_06012025_03_39_02_313966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52f299db2bc56ec763f88fa30b5e000a.jpg","text":"TemporaryFile(/tmp/multipartBody3335135076125800209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131272793,"filename":"image_06012025_03_39_02_313966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c22403925562ca69e877a0816af6065a.jpg","text":"TemporaryFile(/tmp/multipartBody4013261174108486403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131272793,"filename":"image_06012025_03_38_02_790909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/868d1d19c39ac9e682ba2e6858ee43ab.jpg","text":"TemporaryFile(/tmp/multipartBody890153744528335415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131272793,"filename":"image_06012025_03_39_02_313966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928073","file1":"1326928072","file0":"1326928071","file3":"1326928074"},"map_files_photo_id_array":[{"photo_id":"1326928073","filename":"file2"},{"photo_id":"1326928072","filename":"file1"},{"photo_id":"1326928071","filename":"file0"},{"photo_id":"1326928074","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928072":["hashtag1","hashtag2"]},{"1326928074":["hashtag1","hashtag2"]},{"1326928071":["hashtag1","hashtag2"]},{"1326928073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928072, 1326928074, 1326928071, 1326928073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45538520812988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:41:03.328099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0003.jpg', '/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0000.jpg', '/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0001.jpg', '/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/39/image_06012025_03_39_02_313966_0003.jpg
/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0000.jpg
/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0001.jpg
/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928198","1326928197","1326928200","1326928199"],"photo_ids_order":["1326928197","1326928198","1326928199","1326928200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fd2e3d4883ce4fb37f79200bd461c46.jpg","text":"TemporaryFile(/tmp/multipartBody125284529956352955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131333767,"filename":"image_06012025_03_40_02_835853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69f09aacb9272270c135a1c7fab82be7.jpg","text":"TemporaryFile(/tmp/multipartBody8280504999789781614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131333767,"filename":"image_06012025_03_39_02_313966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64d967c3c02c94fb94cfa864d148bff8.jpg","text":"TemporaryFile(/tmp/multipartBody6763830395885209584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131333767,"filename":"image_06012025_03_40_02_835853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74e3d22900154dd5ed55f213d3984710.jpg","text":"TemporaryFile(/tmp/multipartBody4109994282016743652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131333767,"filename":"image_06012025_03_40_02_835853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928199","file1":"1326928198","file0":"1326928197","file3":"1326928200"},"map_files_photo_id_array":[{"photo_id":"1326928199","filename":"file2"},{"photo_id":"1326928198","filename":"file1"},{"photo_id":"1326928197","filename":"file0"},{"photo_id":"1326928200","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928198":["hashtag1","hashtag2"]},{"1326928197":["hashtag1","hashtag2"]},{"1326928200":["hashtag1","hashtag2"]},{"1326928199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928198, 1326928197, 1326928200, 1326928199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.37300968170166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:42:02.680898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0003.jpg', '/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0000.jpg', '/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0001.jpg', '/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/40/image_06012025_03_40_02_835853_0003.jpg
/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0000.jpg
/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0001.jpg
/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928208","1326928210","1326928212","1326928209"],"photo_ids_order":["1326928208","1326928209","1326928210","1326928212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f976e9ed4edac265b7d5365b06da377.jpg","text":"TemporaryFile(/tmp/multipartBody9133594054722789787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131393043,"filename":"image_06012025_03_40_02_835853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7376530a8a76e71620471a140b237c5.jpg","text":"TemporaryFile(/tmp/multipartBody1640124811233220702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131393043,"filename":"image_06012025_03_41_02_482764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cfd2ddf1f1e67c23bddcab6d125fa1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5344526164580455168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131393043,"filename":"image_06012025_03_41_02_482764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79d452516c8a1a56e55ca0e0a4779f63.jpg","text":"TemporaryFile(/tmp/multipartBody8055907771399862061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131393043,"filename":"image_06012025_03_41_02_482764_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928210","file1":"1326928209","file0":"1326928208","file3":"1326928212"},"map_files_photo_id_array":[{"photo_id":"1326928210","filename":"file2"},{"photo_id":"1326928209","filename":"file1"},{"photo_id":"1326928208","filename":"file0"},{"photo_id":"1326928212","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928208":["hashtag1","hashtag2"]},{"1326928210":["hashtag1","hashtag2"]},{"1326928212":["hashtag1","hashtag2"]},{"1326928209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928208, 1326928210, 1326928212, 1326928209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.285929918289185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:43:02.297514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0003.jpg', '/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0000.jpg', '/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0001.jpg', '/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/41/image_06012025_03_41_02_482764_0003.jpg
/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0000.jpg
/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0001.jpg
/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928246","1326928248","1326928247","1326928256"],"photo_ids_order":["1326928246","1326928247","1326928248","1326928256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/018cdf285c1e5b208069cd1687bc14a6.jpg","text":"TemporaryFile(/tmp/multipartBody1250831194889801644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131452765,"filename":"image_06012025_03_41_02_482764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc74321bcc82b0e5ae0605b849d9bbae.jpg","text":"TemporaryFile(/tmp/multipartBody839012581952706359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131452765,"filename":"image_06012025_03_42_03_062242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e5310694de980c3a1c2642f5d0524cc.jpg","text":"TemporaryFile(/tmp/multipartBody4387070964495449191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131452765,"filename":"image_06012025_03_42_03_062242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c69b054cc9820404a42fe38c733384f3.jpg","text":"TemporaryFile(/tmp/multipartBody1567524190495271097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131452765,"filename":"image_06012025_03_42_03_062242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928248","file1":"1326928247","file0":"1326928246","file3":"1326928256"},"map_files_photo_id_array":[{"photo_id":"1326928248","filename":"file2"},{"photo_id":"1326928247","filename":"file1"},{"photo_id":"1326928246","filename":"file0"},{"photo_id":"1326928256","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928246":["hashtag1","hashtag2"]},{"1326928248":["hashtag1","hashtag2"]},{"1326928247":["hashtag1","hashtag2"]},{"1326928256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928246, 1326928248, 1326928247, 1326928256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95679473876953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:44:02.840283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0003.jpg', '/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0000.jpg', '/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0001.jpg', '/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/42/image_06012025_03_42_03_062242_0003.jpg
/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0000.jpg
/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0001.jpg
/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928324","1326928321","1326928318","1326928325"],"photo_ids_order":["1326928318","1326928321","1326928324","1326928325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17ff114b85c633aef352518875133be9.jpg","text":"TemporaryFile(/tmp/multipartBody5294326964288783153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131513064,"filename":"image_06012025_03_43_02_625951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46f2f74c84fddc6e86f23ca3da8f0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody7455848892543901578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131513064,"filename":"image_06012025_03_43_02_625951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bc1aa62e5fdd144f66988e69abdfd76.jpg","text":"TemporaryFile(/tmp/multipartBody3243416716440672101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131513064,"filename":"image_06012025_03_42_03_062242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1411dd3e2014fc67a8d6455c84f6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2356378353416838623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131513064,"filename":"image_06012025_03_43_02_625951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928324","file1":"1326928321","file0":"1326928318","file3":"1326928325"},"map_files_photo_id_array":[{"photo_id":"1326928324","filename":"file2"},{"photo_id":"1326928321","filename":"file1"},{"photo_id":"1326928318","filename":"file0"},{"photo_id":"1326928325","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928324":["hashtag1","hashtag2"]},{"1326928321":["hashtag1","hashtag2"]},{"1326928318":["hashtag1","hashtag2"]},{"1326928325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928324, 1326928321, 1326928318, 1326928325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.706681966781616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:45:02.573186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0003.jpg', '/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0000.jpg', '/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0001.jpg', '/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/43/image_06012025_03_43_02_625951_0003.jpg
/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0000.jpg
/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0001.jpg
/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928406","1326928405","1326928408","1326928407"],"photo_ids_order":["1326928405","1326928406","1326928407","1326928408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd68515a38c909242bf44936a5df7b40.jpg","text":"TemporaryFile(/tmp/multipartBody5918063269708699573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131572964,"filename":"image_06012025_03_44_02_223005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7841e20b40381f0cbe5524d4863b25a8.jpg","text":"TemporaryFile(/tmp/multipartBody5193482888987870738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131572964,"filename":"image_06012025_03_43_02_625951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07aed218ee2530a36b9f5398e08e21c8.jpg","text":"TemporaryFile(/tmp/multipartBody3964499651787756763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131572964,"filename":"image_06012025_03_44_02_223005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b77bd4f01dddcb5fae09d6d0cf1bc8d8.jpg","text":"TemporaryFile(/tmp/multipartBody6762031428461465218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131572964,"filename":"image_06012025_03_44_02_223005_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928407","file1":"1326928406","file0":"1326928405","file3":"1326928408"},"map_files_photo_id_array":[{"photo_id":"1326928407","filename":"file2"},{"photo_id":"1326928406","filename":"file1"},{"photo_id":"1326928405","filename":"file0"},{"photo_id":"1326928408","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928406":["hashtag1","hashtag2"]},{"1326928405":["hashtag1","hashtag2"]},{"1326928408":["hashtag1","hashtag2"]},{"1326928407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928406, 1326928405, 1326928408, 1326928407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9991717338562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:46:03.097575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0003.jpg', '/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0000.jpg', '/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/44/image_06012025_03_44_02_223005_0003.jpg
/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0000.jpg
/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928531","1326928530","1326928532"],"photo_ids_order":["1326928530","1326928531","1326928532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0b998bd9e2f1e34c5a007a0b812e23c.jpg","text":"TemporaryFile(/tmp/multipartBody2964598013169395037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131630901,"filename":"image_06012025_03_45_02_883093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/910d3a25eea43ad613ad2e6137aaf40f.jpg","text":"TemporaryFile(/tmp/multipartBody6836807743617923330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131630901,"filename":"image_06012025_03_44_02_223005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac5527470e0e1ce7464cd98a70a5fbef.jpg","text":"TemporaryFile(/tmp/multipartBody9090187312583368531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131630901,"filename":"image_06012025_03_45_02_883093_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928532","file1":"1326928531","file0":"1326928530"},"map_files_photo_id_array":[{"photo_id":"1326928532","filename":"file2"},{"photo_id":"1326928531","filename":"file1"},{"photo_id":"1326928530","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928531":["hashtag1","hashtag2"]},{"1326928530":["hashtag1","hashtag2"]},{"1326928532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928531, 1326928530, 1326928532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.518139839172363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:47:02.790853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0003.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0000.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0001.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0003.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0000.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0001.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_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.779353618621826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:47:22.117055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0003.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0000.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0001.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0002.jpg', '/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0003.jpg', '/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/45/image_06012025_03_45_02_883093_0003.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0000.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0001.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0002.jpg
/home/pi/Desktop/images/06012025/03/46/image_06012025_03_46_02_394835_0003.jpg
/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928552","1326928546","1326928554","1326928548","1326928556","1326928550"],"photo_ids_order":["1326928546","1326928548","1326928550","1326928552","1326928554","1326928556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/543cef9cd639a48a51754098337a5cde.jpg","text":"TemporaryFile(/tmp/multipartBody876498489892268124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_46_02_394835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85ec412ac2a6cf96a70083fe25c90a04.jpg","text":"TemporaryFile(/tmp/multipartBody5202082885901930305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_45_02_883093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5710439445a9f0c749b5859230e081d.jpg","text":"TemporaryFile(/tmp/multipartBody4025851321210722428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_46_02_394835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88c52865947737609147490b1b5f7d86.jpg","text":"TemporaryFile(/tmp/multipartBody7408380898635824890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_46_02_394835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f957b0642833e598e9da5f283ca6a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7839322368030422617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_47_02_991314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9559209a034fee3362bf9a9983001dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4210418580807267020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131717060,"filename":"image_06012025_03_46_02_394835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928550","file1":"1326928548","file0":"1326928546","file4":"1326928554","file5":"1326928556","file3":"1326928552"},"map_files_photo_id_array":[{"photo_id":"1326928556","filename":"file5"},{"photo_id":"1326928550","filename":"file2"},{"photo_id":"1326928554","filename":"file4"},{"photo_id":"1326928548","filename":"file1"},{"photo_id":"1326928546","filename":"file0"},{"photo_id":"1326928552","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928552":["hashtag1","hashtag2"]},{"1326928546":["hashtag1","hashtag2"]},{"1326928554":["hashtag1","hashtag2"]},{"1326928548":["hashtag1","hashtag2"]},{"1326928556":["hashtag1","hashtag2"]},{"1326928550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928552, 1326928546, 1326928554, 1326928548, 1326928556, 1326928550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14472150802612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:48:21.843143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0001.jpg', '/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0002.jpg', '/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0003.jpg', '/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0000.jpg', '/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0001.jpg', '/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0001.jpg
/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0002.jpg
/home/pi/Desktop/images/06012025/03/47/image_06012025_03_47_02_991314_0003.jpg
/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0000.jpg
/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0001.jpg
/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928576","1326928570","1326928558","1326928596","1326928600","1326928598"],"photo_ids_order":["1326928558","1326928570","1326928576","1326928596","1326928598","1326928600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c51175d71ca3e2f4f6231fa0cddb18e4.jpg","text":"TemporaryFile(/tmp/multipartBody6071904605033307480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_47_02_991314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f70734cce24d0570ea52ec93b2dcae3a.jpg","text":"TemporaryFile(/tmp/multipartBody3250872210802568332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_47_02_991314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9630bd1e2c30fe0235a3d81fc2d373a7.jpg","text":"TemporaryFile(/tmp/multipartBody7163008166568922261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_47_02_991314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b528936ea3571a64c441b230359393c7.jpg","text":"TemporaryFile(/tmp/multipartBody2154430477805977045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_48_02_491310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fee6b58e51129278d12c4cef759f26f5.jpg","text":"TemporaryFile(/tmp/multipartBody5723823097447459468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_48_02_491310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9edcaee68403237bf2896f463a52eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6910375749267392383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131776820,"filename":"image_06012025_03_48_02_491310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928576","file1":"1326928570","file0":"1326928558","file4":"1326928598","file5":"1326928600","file3":"1326928596"},"map_files_photo_id_array":[{"photo_id":"1326928600","filename":"file5"},{"photo_id":"1326928576","filename":"file2"},{"photo_id":"1326928598","filename":"file4"},{"photo_id":"1326928570","filename":"file1"},{"photo_id":"1326928558","filename":"file0"},{"photo_id":"1326928596","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928576":["hashtag1","hashtag2"]},{"1326928570":["hashtag1","hashtag2"]},{"1326928558":["hashtag1","hashtag2"]},{"1326928596":["hashtag1","hashtag2"]},{"1326928600":["hashtag1","hashtag2"]},{"1326928598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928576, 1326928570, 1326928558, 1326928596, 1326928600, 1326928598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.573036670684814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:49:22.409854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0003.jpg', '/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0000.jpg', '/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0001.jpg', '/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/48/image_06012025_03_48_02_491310_0003.jpg
/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0000.jpg
/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0001.jpg
/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928603","1326928605","1326928607","1326928601"],"photo_ids_order":["1326928601","1326928603","1326928605","1326928607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37391e1e31f74c2a29394b54078fc4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2285980870568456306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131832837,"filename":"image_06012025_03_49_02_200657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ad27ad92aadb2ae7899607eb8d50e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3300203158022844662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131832837,"filename":"image_06012025_03_49_02_200657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad4440f282d64b678adcbaa95f677e58.jpg","text":"TemporaryFile(/tmp/multipartBody8394114237597354314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131832837,"filename":"image_06012025_03_49_02_200657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2e244b14ef02a52632e7aa35827ff91.jpg","text":"TemporaryFile(/tmp/multipartBody1313822651930565008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131832837,"filename":"image_06012025_03_48_02_491310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928605","file1":"1326928603","file0":"1326928601","file3":"1326928607"},"map_files_photo_id_array":[{"photo_id":"1326928605","filename":"file2"},{"photo_id":"1326928603","filename":"file1"},{"photo_id":"1326928601","filename":"file0"},{"photo_id":"1326928607","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928603":["hashtag1","hashtag2"]},{"1326928605":["hashtag1","hashtag2"]},{"1326928607":["hashtag1","hashtag2"]},{"1326928601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928603, 1326928605, 1326928607, 1326928601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86719226837158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:50:22.205353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0003.jpg', '/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0000.jpg', '/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0001.jpg', '/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/49/image_06012025_03_49_02_200657_0003.jpg
/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0000.jpg
/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0001.jpg
/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928636","1326928639","1326928641","1326928643"],"photo_ids_order":["1326928636","1326928639","1326928641","1326928643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e407cbe34df4ba89f42077d217f0fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody4355770181666635349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131892477,"filename":"image_06012025_03_49_02_200657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29e8d8d92f03cc6d6836ac7988be818c.jpg","text":"TemporaryFile(/tmp/multipartBody892224766933044732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131892477,"filename":"image_06012025_03_50_02_716477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eede14ec8f8644a9477537dae5608487.jpg","text":"TemporaryFile(/tmp/multipartBody7267182075078795504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131892477,"filename":"image_06012025_03_50_02_716477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbfebaa208448daacde8fa41f08a6daa.jpg","text":"TemporaryFile(/tmp/multipartBody2068778618019922153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131892477,"filename":"image_06012025_03_50_02_716477_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928641","file1":"1326928639","file0":"1326928636","file3":"1326928643"},"map_files_photo_id_array":[{"photo_id":"1326928641","filename":"file2"},{"photo_id":"1326928639","filename":"file1"},{"photo_id":"1326928636","filename":"file0"},{"photo_id":"1326928643","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928636":["hashtag1","hashtag2"]},{"1326928639":["hashtag1","hashtag2"]},{"1326928641":["hashtag1","hashtag2"]},{"1326928643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928636, 1326928639, 1326928641, 1326928643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.786888122558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:51:22.693791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0003.jpg', '/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0000.jpg', '/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0001.jpg', '/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/50/image_06012025_03_50_02_716477_0003.jpg
/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0000.jpg
/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0001.jpg
/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928749","1326928740","1326928742","1326928745"],"photo_ids_order":["1326928740","1326928742","1326928745","1326928749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fab241e78fc410cb7a88c675b0a1fe5.jpg","text":"TemporaryFile(/tmp/multipartBody706612875136152129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131952876,"filename":"image_06012025_03_51_02_584854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15c386cb6e099b2f54fe68abc8f89179.jpg","text":"TemporaryFile(/tmp/multipartBody2355743008028498211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131952876,"filename":"image_06012025_03_50_02_716477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc2e326079b704e32226c2ca225a704a.jpg","text":"TemporaryFile(/tmp/multipartBody6270422952389587667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131952876,"filename":"image_06012025_03_51_02_584854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e24a40da8eb3826bdaa9dc5006fa15d1.jpg","text":"TemporaryFile(/tmp/multipartBody3385965135419401224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736131952876,"filename":"image_06012025_03_51_02_584854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928745","file1":"1326928742","file0":"1326928740","file3":"1326928749"},"map_files_photo_id_array":[{"photo_id":"1326928745","filename":"file2"},{"photo_id":"1326928742","filename":"file1"},{"photo_id":"1326928740","filename":"file0"},{"photo_id":"1326928749","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928749":["hashtag1","hashtag2"]},{"1326928740":["hashtag1","hashtag2"]},{"1326928742":["hashtag1","hashtag2"]},{"1326928745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928749, 1326928740, 1326928742, 1326928745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86978268623352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:52:02.700075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:52:22.315022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0003.jpg', '/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0000.jpg', '/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0001.jpg', '/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/51/image_06012025_03_51_02_584854_0003.jpg
/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0000.jpg
/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0001.jpg
/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928780","1326928774","1326928776","1326928778"],"photo_ids_order":["1326928774","1326928776","1326928778","1326928780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2cc04de1faeacfac5fcce7099f1bbaff.jpg","text":"TemporaryFile(/tmp/multipartBody6952990777699287060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132012519,"filename":"image_06012025_03_52_03_173220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4943e8411b11a7570f5bdf1f0d3abf5d.jpg","text":"TemporaryFile(/tmp/multipartBody4512588603711878811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132012519,"filename":"image_06012025_03_51_02_584854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3736c62e93bd70ebda82c76666d9853d.jpg","text":"TemporaryFile(/tmp/multipartBody7489367527454599170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132012519,"filename":"image_06012025_03_52_03_173220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fdee724267d3dcf1ec84173363c1f52.jpg","text":"TemporaryFile(/tmp/multipartBody3892536512984065695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132012519,"filename":"image_06012025_03_52_03_173220_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928778","file1":"1326928776","file0":"1326928774","file3":"1326928780"},"map_files_photo_id_array":[{"photo_id":"1326928778","filename":"file2"},{"photo_id":"1326928776","filename":"file1"},{"photo_id":"1326928774","filename":"file0"},{"photo_id":"1326928780","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928780":["hashtag1","hashtag2"]},{"1326928774":["hashtag1","hashtag2"]},{"1326928776":["hashtag1","hashtag2"]},{"1326928778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928780, 1326928774, 1326928776, 1326928778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04705214500427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:53:02.502254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:53:21.852746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0003.jpg', '/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0000.jpg', '/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0001.jpg', '/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/52/image_06012025_03_52_03_173220_0003.jpg
/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0000.jpg
/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0001.jpg
/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928789","1326928791","1326928785","1326928787"],"photo_ids_order":["1326928785","1326928787","1326928789","1326928791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb59da18799b46fb0ea79082f61dda60.jpg","text":"TemporaryFile(/tmp/multipartBody6704143448972180981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132072003,"filename":"image_06012025_03_53_02_740129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6971e9774a30acf248d83753e7fef0b9.jpg","text":"TemporaryFile(/tmp/multipartBody9129967920229000307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132072003,"filename":"image_06012025_03_53_02_740129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39ee561df730ad58a9fa071547a3fffe.jpg","text":"TemporaryFile(/tmp/multipartBody3818246118364119432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132072003,"filename":"image_06012025_03_52_03_173220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe84aa18e189c9dc2db8002403d24f86.jpg","text":"TemporaryFile(/tmp/multipartBody3232703712470125826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132072003,"filename":"image_06012025_03_53_02_740129_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928789","file1":"1326928787","file0":"1326928785","file3":"1326928791"},"map_files_photo_id_array":[{"photo_id":"1326928789","filename":"file2"},{"photo_id":"1326928787","filename":"file1"},{"photo_id":"1326928785","filename":"file0"},{"photo_id":"1326928791","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928789":["hashtag1","hashtag2"]},{"1326928791":["hashtag1","hashtag2"]},{"1326928785":["hashtag1","hashtag2"]},{"1326928787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928789, 1326928791, 1326928785, 1326928787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3641619682312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:54:02.965550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:54:22.530826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0003.jpg', '/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0000.jpg', '/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0001.jpg', '/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/53/image_06012025_03_53_02_740129_0003.jpg
/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0000.jpg
/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0001.jpg
/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928797","1326928812","1326928799","1326928795"],"photo_ids_order":["1326928795","1326928797","1326928799","1326928812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcb06405fbe60a34fecbf4e346ba4843.jpg","text":"TemporaryFile(/tmp/multipartBody7481031740458178005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132132708,"filename":"image_06012025_03_54_02_289162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/505fbfa1e41a571ab013cf294700f911.jpg","text":"TemporaryFile(/tmp/multipartBody4693525232699097223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132132708,"filename":"image_06012025_03_54_02_289162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75e19a47290d787605c186c4bcc90d18.jpg","text":"TemporaryFile(/tmp/multipartBody1614882458496193028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132132708,"filename":"image_06012025_03_54_02_289162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5934483e445be7e562a270e9855358a.jpg","text":"TemporaryFile(/tmp/multipartBody5591135390278237299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132132708,"filename":"image_06012025_03_53_02_740129_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928799","file1":"1326928797","file0":"1326928795","file3":"1326928812"},"map_files_photo_id_array":[{"photo_id":"1326928799","filename":"file2"},{"photo_id":"1326928797","filename":"file1"},{"photo_id":"1326928795","filename":"file0"},{"photo_id":"1326928812","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928797":["hashtag1","hashtag2"]},{"1326928812":["hashtag1","hashtag2"]},{"1326928799":["hashtag1","hashtag2"]},{"1326928795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928797, 1326928812, 1326928799, 1326928795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0993115901947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:55:02.639263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:55:22.009134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0003.jpg', '/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0000.jpg', '/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0001.jpg', '/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/54/image_06012025_03_54_02_289162_0003.jpg
/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0000.jpg
/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0001.jpg
/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326928879","1326928873","1326928875","1326928877"],"photo_ids_order":["1326928873","1326928875","1326928877","1326928879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbd911ba42ac36414ba23e6053444165.jpg","text":"TemporaryFile(/tmp/multipartBody2729501655198186440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132192337,"filename":"image_06012025_03_55_02_898161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/910c93509d85329fd71f8d1cebbe89f7.jpg","text":"TemporaryFile(/tmp/multipartBody8488808937532463924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132192337,"filename":"image_06012025_03_54_02_289162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b4c8a4dc41267fb82168f365ffb4642.jpg","text":"TemporaryFile(/tmp/multipartBody2169886078372276529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132192337,"filename":"image_06012025_03_55_02_898161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e62f0b6daa9d08f53e4acd124e857c2.jpg","text":"TemporaryFile(/tmp/multipartBody5979271618339167319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132192337,"filename":"image_06012025_03_55_02_898161_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326928877","file1":"1326928875","file0":"1326928873","file3":"1326928879"},"map_files_photo_id_array":[{"photo_id":"1326928877","filename":"file2"},{"photo_id":"1326928875","filename":"file1"},{"photo_id":"1326928873","filename":"file0"},{"photo_id":"1326928879","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326928879":["hashtag1","hashtag2"]},{"1326928873":["hashtag1","hashtag2"]},{"1326928875":["hashtag1","hashtag2"]},{"1326928877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326928879, 1326928873, 1326928875, 1326928877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.293174505233765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 03:56:03.273877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:56:22.769791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0003.jpg', '/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0000.jpg', '/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0001.jpg', '/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/55/image_06012025_03_55_02_898161_0003.jpg
/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0000.jpg
/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0001.jpg
/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326929536","1326929454","1326929452","1326929362"],"photo_ids_order":["1326929362","1326929452","1326929454","1326929536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b254c5657ed2d88496fb01ab1b5234f.jpg","text":"TemporaryFile(/tmp/multipartBody8284287530319023441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132252982,"filename":"image_06012025_03_56_02_450562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d9f581e5f998254b97963bf1739be3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5119297903098328878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132252982,"filename":"image_06012025_03_56_02_450562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bbac92dc0b2ba4de2c456f2d5a0a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6081801795106847737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132252982,"filename":"image_06012025_03_56_02_450562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2531e919817d334c96c234b136482d93.jpg","text":"TemporaryFile(/tmp/multipartBody8201297580107405994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132252982,"filename":"image_06012025_03_55_02_898161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326929454","file1":"1326929452","file0":"1326929362","file3":"1326929536"},"map_files_photo_id_array":[{"photo_id":"1326929454","filename":"file2"},{"photo_id":"1326929452","filename":"file1"},{"photo_id":"1326929362","filename":"file0"},{"photo_id":"1326929536","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326929536":["hashtag1","hashtag2"]},{"1326929454":["hashtag1","hashtag2"]},{"1326929452":["hashtag1","hashtag2"]},{"1326929362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326929536, 1326929454, 1326929452, 1326929362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76176834106445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 03:57:22.319758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0003.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0000.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0001.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0003.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0000.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0001.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_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-06 03:59:02.649345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0003.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0000.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0001.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0002.jpg', '/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0003.jpg', '/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/56/image_06012025_03_56_02_450562_0003.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0000.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0001.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0002.jpg
/home/pi/Desktop/images/06012025/03/57/image_06012025_03_57_03_140311_0003.jpg
/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930121","1326930130","1326930083","1326930131","1326930125","1326930091"],"photo_ids_order":["1326930083","1326930091","1326930121","1326930125","1326930130","1326930131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0737d5ac40c1f27a54989e72cdcee09.jpg","text":"TemporaryFile(/tmp/multipartBody625731348090485624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_57_03_140311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56afc3722e1096619abc3fd3227807c2.jpg","text":"TemporaryFile(/tmp/multipartBody2499139828414902857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_57_03_140311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33b5ddad8945251ec075076dc0652cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8887158774732726625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_56_02_450562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53fb26b74c4fbd48129f20ef2dac9261.jpg","text":"TemporaryFile(/tmp/multipartBody3730921734610414658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_58_02_655963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/575d6e7763ae97001deb2f316d417c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4876504739494572314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_57_03_140311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75a91c7c6e65091c392134fda9412942.jpg","text":"TemporaryFile(/tmp/multipartBody6318617226858217322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132417845,"filename":"image_06012025_03_57_03_140311_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930121","file1":"1326930091","file0":"1326930083","file4":"1326930130","file5":"1326930131","file3":"1326930125"},"map_files_photo_id_array":[{"photo_id":"1326930131","filename":"file5"},{"photo_id":"1326930121","filename":"file2"},{"photo_id":"1326930130","filename":"file4"},{"photo_id":"1326930091","filename":"file1"},{"photo_id":"1326930083","filename":"file0"},{"photo_id":"1326930125","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930121":["hashtag1","hashtag2"]},{"1326930130":["hashtag1","hashtag2"]},{"1326930083":["hashtag1","hashtag2"]},{"1326930131":["hashtag1","hashtag2"]},{"1326930125":["hashtag1","hashtag2"]},{"1326930091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930121, 1326930130, 1326930083, 1326930131, 1326930125, 1326930091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.34166884422302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:00:03.060860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0001.jpg', '/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0002.jpg', '/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0003.jpg', '/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0000.jpg', '/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0001.jpg', '/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0001.jpg
/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0002.jpg
/home/pi/Desktop/images/06012025/03/58/image_06012025_03_58_02_655963_0003.jpg
/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0000.jpg
/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0001.jpg
/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930229","1326930223","1326930226","1326930231","1326930225","1326930239"],"photo_ids_order":["1326930223","1326930225","1326930226","1326930229","1326930231","1326930239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33ca95110f82111c9d9dc9f2de5f7e72.jpg","text":"TemporaryFile(/tmp/multipartBody7068023331262646753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_59_02_280527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e669bac1f61d8f8066b41b8e35e04de3.jpg","text":"TemporaryFile(/tmp/multipartBody2506240196503624270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_58_02_655963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a721fab03ec0531f76ed8f46cd3e74f2.jpg","text":"TemporaryFile(/tmp/multipartBody4356494075940363587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_58_02_655963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b491608cbdf08598123e2127c28a85bd.jpg","text":"TemporaryFile(/tmp/multipartBody4525212352256957785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_59_02_280527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73e06a871fa38cba1663b179f3a5c51b.jpg","text":"TemporaryFile(/tmp/multipartBody8100843235491066038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_58_02_655963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1b64779d6c1557952d0da090ff29e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4385580125431541149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132478073,"filename":"image_06012025_03_59_02_280527_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930226","file1":"1326930225","file0":"1326930223","file4":"1326930231","file5":"1326930239","file3":"1326930229"},"map_files_photo_id_array":[{"photo_id":"1326930239","filename":"file5"},{"photo_id":"1326930226","filename":"file2"},{"photo_id":"1326930231","filename":"file4"},{"photo_id":"1326930225","filename":"file1"},{"photo_id":"1326930223","filename":"file0"},{"photo_id":"1326930229","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930229":["hashtag1","hashtag2"]},{"1326930223":["hashtag1","hashtag2"]},{"1326930226":["hashtag1","hashtag2"]},{"1326930231":["hashtag1","hashtag2"]},{"1326930225":["hashtag1","hashtag2"]},{"1326930239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930229, 1326930223, 1326930226, 1326930231, 1326930225, 1326930239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23486375808716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:01:02.845797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0003.jpg', '/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0000.jpg', '/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0001.jpg', '/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/03/59/image_06012025_03_59_02_280527_0003.jpg
/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0000.jpg
/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0001.jpg
/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930265","1326930268","1326930269","1326930266"],"photo_ids_order":["1326930265","1326930266","1326930268","1326930269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ada8874c79e57b55c3b03642ecf2f63.jpg","text":"TemporaryFile(/tmp/multipartBody976924769739706348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132533179,"filename":"image_06012025_03_59_02_280527_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01874a7baaa97f8fa15e336a7e64eed8.jpg","text":"TemporaryFile(/tmp/multipartBody1836851371461102829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132533179,"filename":"image_06012025_04_00_02_485971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46920aa224b3c04c29e17eb7b4f47f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5840819954733144528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132533179,"filename":"image_06012025_04_00_02_485971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/118847e7c540d92d748249a81af11e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6933063695408979483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132533179,"filename":"image_06012025_04_00_02_485971_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930268","file1":"1326930266","file0":"1326930265","file3":"1326930269"},"map_files_photo_id_array":[{"photo_id":"1326930268","filename":"file2"},{"photo_id":"1326930266","filename":"file1"},{"photo_id":"1326930265","filename":"file0"},{"photo_id":"1326930269","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930265":["hashtag1","hashtag2"]},{"1326930268":["hashtag1","hashtag2"]},{"1326930269":["hashtag1","hashtag2"]},{"1326930266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930265, 1326930268, 1326930269, 1326930266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.390944957733154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:02:02.266023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0003.jpg', '/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0001.jpg', '/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/00/image_06012025_04_00_02_485971_0003.jpg
/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0001.jpg
/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930277","1326930276","1326930278"],"photo_ids_order":["1326930276","1326930277","1326930278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b04627fda9026b9fc607d178027d21d5.jpg","text":"TemporaryFile(/tmp/multipartBody1202180809077957631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132590202,"filename":"image_06012025_04_01_03_038366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e55859ed96863a995aa89ab7b71474c9.jpg","text":"TemporaryFile(/tmp/multipartBody5571464242640150319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132590202,"filename":"image_06012025_04_00_02_485971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55b0bd475bd6546c49d5802cebaaae3f.jpg","text":"TemporaryFile(/tmp/multipartBody6928631018434241418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132590202,"filename":"image_06012025_04_01_03_038366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930278","file1":"1326930277","file0":"1326930276"},"map_files_photo_id_array":[{"photo_id":"1326930278","filename":"file2"},{"photo_id":"1326930277","filename":"file1"},{"photo_id":"1326930276","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930277":["hashtag1","hashtag2"]},{"1326930276":["hashtag1","hashtag2"]},{"1326930278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930277, 1326930276, 1326930278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.496113300323486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:03:02.964798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0003.jpg', '/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0000.jpg', '/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0001.jpg', '/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/01/image_06012025_04_01_03_038366_0003.jpg
/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0000.jpg
/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0001.jpg
/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930286","1326930288","1326930285","1326930287"],"photo_ids_order":["1326930285","1326930286","1326930287","1326930288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afd612436958a12ec96685b3ad412677.jpg","text":"TemporaryFile(/tmp/multipartBody2038141855003359561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132653213,"filename":"image_06012025_04_02_02_554311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/305c28ef8fec9e6cfa7340d5372eed1e.jpg","text":"TemporaryFile(/tmp/multipartBody8194104866586047852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132653213,"filename":"image_06012025_04_02_02_554311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/665f198ec866ded4c7a1614119a5da5e.jpg","text":"TemporaryFile(/tmp/multipartBody6235827136806698460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132653213,"filename":"image_06012025_04_01_03_038366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcabf17cc06aa27af394da2514a4ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody1809694669968020821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132653213,"filename":"image_06012025_04_02_02_554311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930287","file1":"1326930286","file0":"1326930285","file3":"1326930288"},"map_files_photo_id_array":[{"photo_id":"1326930287","filename":"file2"},{"photo_id":"1326930286","filename":"file1"},{"photo_id":"1326930285","filename":"file0"},{"photo_id":"1326930288","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930286":["hashtag1","hashtag2"]},{"1326930288":["hashtag1","hashtag2"]},{"1326930285":["hashtag1","hashtag2"]},{"1326930287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930286, 1326930288, 1326930285, 1326930287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.191792011260986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:04:02.448415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0003.jpg', '/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0000.jpg', '/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0001.jpg', '/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/02/image_06012025_04_02_02_554311_0003.jpg
/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0000.jpg
/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0001.jpg
/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930328","1326930325","1326930327","1326930326"],"photo_ids_order":["1326930325","1326930326","1326930327","1326930328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c852d65978d9b34e5052bea04ad07304.jpg","text":"TemporaryFile(/tmp/multipartBody5012577538417724377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132712720,"filename":"image_06012025_04_03_02_162200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/346fc457e58743ef04886738f78802da.jpg","text":"TemporaryFile(/tmp/multipartBody1774852178935042354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132712720,"filename":"image_06012025_04_02_02_554311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e103980994433874bdf7ecc024045469.jpg","text":"TemporaryFile(/tmp/multipartBody3582030062122084656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132712720,"filename":"image_06012025_04_03_02_162200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b098cfd9be6588636ea8b66e02a887eb.jpg","text":"TemporaryFile(/tmp/multipartBody5532799228802142588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132712720,"filename":"image_06012025_04_03_02_162200_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930327","file1":"1326930326","file0":"1326930325","file3":"1326930328"},"map_files_photo_id_array":[{"photo_id":"1326930327","filename":"file2"},{"photo_id":"1326930326","filename":"file1"},{"photo_id":"1326930325","filename":"file0"},{"photo_id":"1326930328","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930328":["hashtag1","hashtag2"]},{"1326930325":["hashtag1","hashtag2"]},{"1326930327":["hashtag1","hashtag2"]},{"1326930326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930328, 1326930325, 1326930327, 1326930326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.012181997299194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:05:03.170301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0003.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0000.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0001.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0003.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0000.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0001.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_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.865232467651367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:05:22.499547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0003.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0000.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0001.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0002.jpg', '/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0003.jpg', '/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/03/image_06012025_04_03_02_162200_0003.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0000.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0001.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0002.jpg
/home/pi/Desktop/images/06012025/04/04/image_06012025_04_04_02_785473_0003.jpg
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930463","1326930469","1326930465","1326930459","1326930467","1326930461"],"photo_ids_order":["1326930459","1326930461","1326930463","1326930465","1326930467","1326930469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bd139ff49f080204faff3f0bacdb9289.jpg","text":"TemporaryFile(/tmp/multipartBody7711152923956142161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_04_02_785473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e694d8d534ebc2574c5b7a48d58c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody757094274838206136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_05_02_373051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/079b6a1c627760e6fa9e3bdccfc64a55.jpg","text":"TemporaryFile(/tmp/multipartBody403943442621813056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_04_02_785473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/543f3c549fd083faba883ff8cdb499f4.jpg","text":"TemporaryFile(/tmp/multipartBody1457043792788505203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_03_02_162200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2eae66b7854d8be050198cc78bc7860.jpg","text":"TemporaryFile(/tmp/multipartBody1599754462952106989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_04_02_785473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b843679b564f76f7d5e877b83ca82511.jpg","text":"TemporaryFile(/tmp/multipartBody5785250172697308860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132797397,"filename":"image_06012025_04_04_02_785473_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930463","file1":"1326930461","file0":"1326930459","file4":"1326930467","file5":"1326930469","file3":"1326930465"},"map_files_photo_id_array":[{"photo_id":"1326930469","filename":"file5"},{"photo_id":"1326930463","filename":"file2"},{"photo_id":"1326930467","filename":"file4"},{"photo_id":"1326930461","filename":"file1"},{"photo_id":"1326930459","filename":"file0"},{"photo_id":"1326930465","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930463":["hashtag1","hashtag2"]},{"1326930469":["hashtag1","hashtag2"]},{"1326930465":["hashtag1","hashtag2"]},{"1326930459":["hashtag1","hashtag2"]},{"1326930467":["hashtag1","hashtag2"]},{"1326930461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930463, 1326930469, 1326930465, 1326930459, 1326930467, 1326930461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95088291168213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:06:22.217013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0001.jpg', '/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0002.jpg', '/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0003.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0000.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0001.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0001.jpg
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0002.jpg
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0003.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0000.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0001.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_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.484486818313599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:07:02.288193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0001.jpg', '/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0002.jpg', '/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0003.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0000.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0001.jpg', '/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0001.jpg
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0002.jpg
/home/pi/Desktop/images/06012025/04/05/image_06012025_04_05_02_373051_0003.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0000.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0001.jpg
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930520","1326930514","1326930517","1326930519","1326930513","1326930515"],"photo_ids_order":["1326930513","1326930514","1326930515","1326930517","1326930519","1326930520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/898dfa4d8ab99e78d17b6a9cb375f1fb.jpg","text":"TemporaryFile(/tmp/multipartBody5334222245350929399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_06_02_903935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e609b39fcd3212714d67dde5e66707de.jpg","text":"TemporaryFile(/tmp/multipartBody5354191975444388469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_05_02_373051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29224e970b2764ca216210a901bdc919.jpg","text":"TemporaryFile(/tmp/multipartBody1046692004730086925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_06_02_903935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af9d2a9c140d30cba3d1d635a37a90c1.jpg","text":"TemporaryFile(/tmp/multipartBody245446946744083061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_06_02_903935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a69649c1d94878052c5e3b8dbd62ea0.jpg","text":"TemporaryFile(/tmp/multipartBody391512516996060849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_05_02_373051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df127acdc21817223c48dc4df6b5d0bd.jpg","text":"TemporaryFile(/tmp/multipartBody2082299205063072584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132897256,"filename":"image_06012025_04_05_02_373051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930515","file1":"1326930514","file0":"1326930513","file4":"1326930519","file5":"1326930520","file3":"1326930517"},"map_files_photo_id_array":[{"photo_id":"1326930520","filename":"file5"},{"photo_id":"1326930515","filename":"file2"},{"photo_id":"1326930519","filename":"file4"},{"photo_id":"1326930514","filename":"file1"},{"photo_id":"1326930513","filename":"file0"},{"photo_id":"1326930517","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930520":["hashtag1","hashtag2"]},{"1326930514":["hashtag1","hashtag2"]},{"1326930517":["hashtag1","hashtag2"]},{"1326930519":["hashtag1","hashtag2"]},{"1326930513":["hashtag1","hashtag2"]},{"1326930515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930520, 1326930514, 1326930517, 1326930519, 1326930513, 1326930515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76015520095825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:08:02.900245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0003.jpg', '/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0000.jpg', '/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0001.jpg', '/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/06/image_06012025_04_06_02_903935_0003.jpg
/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0000.jpg
/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0001.jpg
/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930526","1326930540","1326930525","1326930539"],"photo_ids_order":["1326930525","1326930526","1326930539","1326930540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0503bc70b3400dd26d510a11aa56d28.jpg","text":"TemporaryFile(/tmp/multipartBody199447283185378862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132952925,"filename":"image_06012025_04_07_02_644860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d0ecf71e88b268425a0949e233c200e.jpg","text":"TemporaryFile(/tmp/multipartBody472968898854809639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132952925,"filename":"image_06012025_04_07_02_644860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/735458ce7ecb9c6415a2cad3f68d6e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2307170430809307254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132952925,"filename":"image_06012025_04_06_02_903935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01a7fdc905b151124c31d1bb8bf1fa95.jpg","text":"TemporaryFile(/tmp/multipartBody5999393200954288609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736132952925,"filename":"image_06012025_04_07_02_644860_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930539","file1":"1326930526","file0":"1326930525","file3":"1326930540"},"map_files_photo_id_array":[{"photo_id":"1326930539","filename":"file2"},{"photo_id":"1326930526","filename":"file1"},{"photo_id":"1326930525","filename":"file0"},{"photo_id":"1326930540","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930526":["hashtag1","hashtag2"]},{"1326930540":["hashtag1","hashtag2"]},{"1326930525":["hashtag1","hashtag2"]},{"1326930539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930526, 1326930540, 1326930525, 1326930539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36908507347107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:09:02.553875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0003.jpg', '/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0000.jpg', '/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0001.jpg', '/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/07/image_06012025_04_07_02_644860_0003.jpg
/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0000.jpg
/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0001.jpg
/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930579","1326930578","1326930580","1326930574"],"photo_ids_order":["1326930574","1326930578","1326930579","1326930580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89657190dc0c59925269888f70341288.jpg","text":"TemporaryFile(/tmp/multipartBody6892393757451786630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133012745,"filename":"image_06012025_04_08_02_152160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1feb702ad6890ebcd2826b168a2e5173.jpg","text":"TemporaryFile(/tmp/multipartBody1496703879813551812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133012745,"filename":"image_06012025_04_08_02_152160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1254a5756ba401ea220d39a0684d15f0.jpg","text":"TemporaryFile(/tmp/multipartBody915397199214596264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133012745,"filename":"image_06012025_04_08_02_152160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b49a6fe543fa9bb56e43f4d2301bf15.jpg","text":"TemporaryFile(/tmp/multipartBody1317481431227042606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133012745,"filename":"image_06012025_04_07_02_644860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930579","file1":"1326930578","file0":"1326930574","file3":"1326930580"},"map_files_photo_id_array":[{"photo_id":"1326930579","filename":"file2"},{"photo_id":"1326930578","filename":"file1"},{"photo_id":"1326930574","filename":"file0"},{"photo_id":"1326930580","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930579":["hashtag1","hashtag2"]},{"1326930578":["hashtag1","hashtag2"]},{"1326930580":["hashtag1","hashtag2"]},{"1326930574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930579, 1326930578, 1326930580, 1326930574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08697748184204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:10:03.148451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0003.jpg', '/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0000.jpg', '/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0001.jpg', '/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/08/image_06012025_04_08_02_152160_0003.jpg
/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0000.jpg
/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0001.jpg
/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930661","1326930660","1326930659","1326930662"],"photo_ids_order":["1326930659","1326930660","1326930661","1326930662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f7d0656de2806a3d7f24680ee0c9aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8544563174599939749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133073372,"filename":"image_06012025_04_09_02_787812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac41f8f8f33dfcf2a8da1f891b2455cc.jpg","text":"TemporaryFile(/tmp/multipartBody7290657043286823169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133073372,"filename":"image_06012025_04_09_02_787812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52be66b8a0b1f31cdad6146e19594a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8007798230611189415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133073372,"filename":"image_06012025_04_08_02_152160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/277168fcd3dec330e1d016bf0d5e7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2049454102278235964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133073372,"filename":"image_06012025_04_09_02_787812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930661","file1":"1326930660","file0":"1326930659","file3":"1326930662"},"map_files_photo_id_array":[{"photo_id":"1326930661","filename":"file2"},{"photo_id":"1326930660","filename":"file1"},{"photo_id":"1326930659","filename":"file0"},{"photo_id":"1326930662","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930661":["hashtag1","hashtag2"]},{"1326930660":["hashtag1","hashtag2"]},{"1326930659":["hashtag1","hashtag2"]},{"1326930662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930661, 1326930660, 1326930659, 1326930662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0934898853302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:11:02.837547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0003.jpg', '/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0001.jpg', '/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/09/image_06012025_04_09_02_787812_0003.jpg
/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0001.jpg
/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930670","1326930672","1326930669"],"photo_ids_order":["1326930669","1326930670","1326930672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a20f9af016101d97046a4b2d11bf998c.jpg","text":"TemporaryFile(/tmp/multipartBody7751785363039902808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133130669,"filename":"image_06012025_04_10_02_366791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/324a725f58f352b3e6a6b826674d0e07.jpg","text":"TemporaryFile(/tmp/multipartBody3157183570444798800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133130669,"filename":"image_06012025_04_10_02_366791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8645582317998825649cc59f27ccd9e8.jpg","text":"TemporaryFile(/tmp/multipartBody8122304717911008034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133130669,"filename":"image_06012025_04_09_02_787812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930672","file1":"1326930670","file0":"1326930669"},"map_files_photo_id_array":[{"photo_id":"1326930672","filename":"file2"},{"photo_id":"1326930670","filename":"file1"},{"photo_id":"1326930669","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930670":["hashtag1","hashtag2"]},{"1326930672":["hashtag1","hashtag2"]},{"1326930669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930670, 1326930672, 1326930669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.816972255706787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:12:02.353615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0003.jpg', '/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0000.jpg', '/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0001.jpg', '/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/10/image_06012025_04_10_02_366791_0003.jpg
/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0000.jpg
/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0001.jpg
/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930682","1326930681","1326930683","1326930680"],"photo_ids_order":["1326930680","1326930681","1326930682","1326930683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1e1029bf969c41b3281ec9856286b85.jpg","text":"TemporaryFile(/tmp/multipartBody5845826324438080236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133192522,"filename":"image_06012025_04_11_03_107216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f84e0059f986e200120c837049aae779.jpg","text":"TemporaryFile(/tmp/multipartBody2703883608136989445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133192522,"filename":"image_06012025_04_11_03_107216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/471a65108be3f46a94a8c88b2996e976.jpg","text":"TemporaryFile(/tmp/multipartBody1950021695170722288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133192522,"filename":"image_06012025_04_11_03_107216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/328f4f29c3ffddf332ec37967960792b.jpg","text":"TemporaryFile(/tmp/multipartBody1454553490178932976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133192522,"filename":"image_06012025_04_10_02_366791_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930682","file1":"1326930681","file0":"1326930680","file3":"1326930683"},"map_files_photo_id_array":[{"photo_id":"1326930682","filename":"file2"},{"photo_id":"1326930681","filename":"file1"},{"photo_id":"1326930680","filename":"file0"},{"photo_id":"1326930683","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930682":["hashtag1","hashtag2"]},{"1326930681":["hashtag1","hashtag2"]},{"1326930683":["hashtag1","hashtag2"]},{"1326930680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930682, 1326930681, 1326930683, 1326930680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78114175796509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:13:03.021363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0003.jpg', '/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0000.jpg', '/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0001.jpg', '/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/11/image_06012025_04_11_03_107216_0003.jpg
/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0000.jpg
/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0001.jpg
/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930709","1326930705","1326930707","1326930704"],"photo_ids_order":["1326930704","1326930705","1326930707","1326930709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50fc8e9caa53cbdc58bc481dd6c3ef44.jpg","text":"TemporaryFile(/tmp/multipartBody7043184150466131745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133253220,"filename":"image_06012025_04_12_02_619201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04a885c47d92fcf1b3d338883bf90ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5091480488751369861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133253220,"filename":"image_06012025_04_12_02_619201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80d80e27a6e3243887e7f98b13a9f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody1244693905072698515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133253220,"filename":"image_06012025_04_12_02_619201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92d134f0dbbea9fe4f52c64fcbfcbed6.jpg","text":"TemporaryFile(/tmp/multipartBody7632105977771697853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133253220,"filename":"image_06012025_04_11_03_107216_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930707","file1":"1326930705","file0":"1326930704","file3":"1326930709"},"map_files_photo_id_array":[{"photo_id":"1326930707","filename":"file2"},{"photo_id":"1326930705","filename":"file1"},{"photo_id":"1326930704","filename":"file0"},{"photo_id":"1326930709","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930709":["hashtag1","hashtag2"]},{"1326930705":["hashtag1","hashtag2"]},{"1326930707":["hashtag1","hashtag2"]},{"1326930704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930709, 1326930705, 1326930707, 1326930704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.597251892089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:14:02.465167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0003.jpg', '/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0000.jpg', '/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0001.jpg', '/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/12/image_06012025_04_12_02_619201_0003.jpg
/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0000.jpg
/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0001.jpg
/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930727","1326930720","1326930723","1326930726"],"photo_ids_order":["1326930720","1326930723","1326930726","1326930727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/313d63bff6a49889fdea11ce48c274d4.jpg","text":"TemporaryFile(/tmp/multipartBody1027802597561454694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133312615,"filename":"image_06012025_04_13_02_277516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1fb7d4ecd6c2d0cf265072a436947b0.jpg","text":"TemporaryFile(/tmp/multipartBody1339039221636725040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133312615,"filename":"image_06012025_04_12_02_619201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e92f98f7629c9d68d8fbc6224310436.jpg","text":"TemporaryFile(/tmp/multipartBody7409969506157332106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133312615,"filename":"image_06012025_04_13_02_277516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3505918440848079638b8bb8013b7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6315984513136630333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133312615,"filename":"image_06012025_04_13_02_277516_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930726","file1":"1326930723","file0":"1326930720","file3":"1326930727"},"map_files_photo_id_array":[{"photo_id":"1326930726","filename":"file2"},{"photo_id":"1326930723","filename":"file1"},{"photo_id":"1326930720","filename":"file0"},{"photo_id":"1326930727","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930727":["hashtag1","hashtag2"]},{"1326930720":["hashtag1","hashtag2"]},{"1326930723":["hashtag1","hashtag2"]},{"1326930726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930727, 1326930720, 1326930723, 1326930726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36976861953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:15:03.373662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0003.jpg', '/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0000.jpg', '/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0001.jpg', '/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/13/image_06012025_04_13_02_277516_0003.jpg
/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0000.jpg
/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0001.jpg
/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930784","1326930808","1326930786","1326930785"],"photo_ids_order":["1326930784","1326930785","1326930786","1326930808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44218898574d33f41633520a934009ca.jpg","text":"TemporaryFile(/tmp/multipartBody7354100251238119476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133373483,"filename":"image_06012025_04_13_02_277516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df2d805c020cec44d69e8f13f29c7863.jpg","text":"TemporaryFile(/tmp/multipartBody7309747487576320608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133373483,"filename":"image_06012025_04_14_02_806877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab7c1fecd75e9fa209cfc20cbb833dca.jpg","text":"TemporaryFile(/tmp/multipartBody2359789974382918520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133373483,"filename":"image_06012025_04_14_02_806877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f1496be02b2d92f5454549f394220ff.jpg","text":"TemporaryFile(/tmp/multipartBody6993379779415786826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133373483,"filename":"image_06012025_04_14_02_806877_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930786","file1":"1326930785","file0":"1326930784","file3":"1326930808"},"map_files_photo_id_array":[{"photo_id":"1326930786","filename":"file2"},{"photo_id":"1326930785","filename":"file1"},{"photo_id":"1326930784","filename":"file0"},{"photo_id":"1326930808","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930784":["hashtag1","hashtag2"]},{"1326930808":["hashtag1","hashtag2"]},{"1326930786":["hashtag1","hashtag2"]},{"1326930785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930784, 1326930808, 1326930786, 1326930785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23431444168091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:16:02.589985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0003.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0000.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0001.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0003.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0000.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0001.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_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.978347301483154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:16:22.152514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0003.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0000.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0001.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0002.jpg', '/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0003.jpg', '/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/14/image_06012025_04_14_02_806877_0003.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0000.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0001.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0002.jpg
/home/pi/Desktop/images/06012025/04/15/image_06012025_04_15_02_444974_0003.jpg
/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930927","1326930915","1326930930","1326930918","1326930923","1326930920"],"photo_ids_order":["1326930915","1326930918","1326930920","1326930923","1326930927","1326930930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1c8e87b30b202ed86ef887b18b335df.jpg","text":"TemporaryFile(/tmp/multipartBody6150584682998986484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_15_02_444974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d802a1e60c59aabdc51adbcb119aa084.jpg","text":"TemporaryFile(/tmp/multipartBody3643284533555552752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_14_02_806877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1cf3fd74982a17a8964947c9c691a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5279504671300169508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_16_02_997149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e225ac3a04c1a07cb9860882cc1e07a.jpg","text":"TemporaryFile(/tmp/multipartBody1982340029394492049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_15_02_444974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95c3a3bc2de0896002cdb222923be2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6086765179231873555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_15_02_444974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3acba57bdc0da03756478897b9f5999.jpg","text":"TemporaryFile(/tmp/multipartBody5918938211009532685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133457187,"filename":"image_06012025_04_15_02_444974_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930920","file1":"1326930918","file0":"1326930915","file4":"1326930927","file5":"1326930930","file3":"1326930923"},"map_files_photo_id_array":[{"photo_id":"1326930930","filename":"file5"},{"photo_id":"1326930920","filename":"file2"},{"photo_id":"1326930927","filename":"file4"},{"photo_id":"1326930918","filename":"file1"},{"photo_id":"1326930915","filename":"file0"},{"photo_id":"1326930923","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930927":["hashtag1","hashtag2"]},{"1326930915":["hashtag1","hashtag2"]},{"1326930930":["hashtag1","hashtag2"]},{"1326930918":["hashtag1","hashtag2"]},{"1326930923":["hashtag1","hashtag2"]},{"1326930920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930927, 1326930915, 1326930930, 1326930918, 1326930923, 1326930920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.196202754974365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:17:21.797645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0001.jpg', '/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0002.jpg', '/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0003.jpg', '/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0000.jpg', '/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0001.jpg', '/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0001.jpg
/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0002.jpg
/home/pi/Desktop/images/06012025/04/16/image_06012025_04_16_02_997149_0003.jpg
/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0000.jpg
/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0001.jpg
/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_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":["1326930934","1326930937","1326930939","1326930942","1326930941","1326930944"],"photo_ids_order":["1326930934","1326930937","1326930939","1326930941","1326930942","1326930944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a517b97e3d75f6217f0d64bfd9be457e.jpg","text":"TemporaryFile(/tmp/multipartBody8872680993514513986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_16_02_997149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6b342378ef8b2ff7a910ec4362366a1.jpg","text":"TemporaryFile(/tmp/multipartBody5029852840622973175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_16_02_997149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4a7c0d8e0d3a189677112e4ae5421fc.jpg","text":"TemporaryFile(/tmp/multipartBody553616407501670753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_16_02_997149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e924cffc2671484c1eb8077084c4b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6099545545582087258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_17_02_607708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f3bf62ebee5820bf3462b1c8bde0731.jpg","text":"TemporaryFile(/tmp/multipartBody5112146256551311561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_17_02_607708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3262754b677b180ea5a9d95127552d03.jpg","text":"TemporaryFile(/tmp/multipartBody2726123611771139647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133516965,"filename":"image_06012025_04_17_02_607708_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930939","file1":"1326930937","file0":"1326930934","file4":"1326930942","file5":"1326930944","file3":"1326930941"},"map_files_photo_id_array":[{"photo_id":"1326930944","filename":"file5"},{"photo_id":"1326930939","filename":"file2"},{"photo_id":"1326930942","filename":"file4"},{"photo_id":"1326930937","filename":"file1"},{"photo_id":"1326930934","filename":"file0"},{"photo_id":"1326930941","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930934":["hashtag1","hashtag2"]},{"1326930937":["hashtag1","hashtag2"]},{"1326930939":["hashtag1","hashtag2"]},{"1326930942":["hashtag1","hashtag2"]},{"1326930941":["hashtag1","hashtag2"]},{"1326930944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930934, 1326930937, 1326930939, 1326930942, 1326930941, 1326930944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.01177453994751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:19:02.638758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0003.jpg', '/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0000.jpg', '/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0001.jpg', '/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/17/image_06012025_04_17_02_607708_0003.jpg
/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0000.jpg
/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0001.jpg
/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326930964","1326930966","1326930968","1326930965"],"photo_ids_order":["1326930964","1326930965","1326930966","1326930968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a88d5d5d94853fd16b0b70b8996f5d35.jpg","text":"TemporaryFile(/tmp/multipartBody2626047103990629132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133612818,"filename":"image_06012025_04_17_02_607708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1774d52c6c57de0d5c4bca1fdd4de8a.jpg","text":"TemporaryFile(/tmp/multipartBody7401173575926020287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133612818,"filename":"image_06012025_04_18_02_203433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42bec91799a30822cb185ce4f6b1e787.jpg","text":"TemporaryFile(/tmp/multipartBody1923471580075781359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133612818,"filename":"image_06012025_04_18_02_203433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8550f2193208faf069fdeff519656960.jpg","text":"TemporaryFile(/tmp/multipartBody5382950006743679425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133612818,"filename":"image_06012025_04_18_02_203433_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326930966","file1":"1326930965","file0":"1326930964","file3":"1326930968"},"map_files_photo_id_array":[{"photo_id":"1326930966","filename":"file2"},{"photo_id":"1326930965","filename":"file1"},{"photo_id":"1326930964","filename":"file0"},{"photo_id":"1326930968","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326930964":["hashtag1","hashtag2"]},{"1326930966":["hashtag1","hashtag2"]},{"1326930968":["hashtag1","hashtag2"]},{"1326930965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326930964, 1326930966, 1326930968, 1326930965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.738505840301514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:20:02.969356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0003.jpg', '/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0000.jpg', '/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0001.jpg', '/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/18/image_06012025_04_18_02_203433_0003.jpg
/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0000.jpg
/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0001.jpg
/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931080","1326931082","1326931061","1326931081"],"photo_ids_order":["1326931061","1326931080","1326931081","1326931082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d260a052af51c8c0c864deed846eeea1.jpg","text":"TemporaryFile(/tmp/multipartBody1979872793628640232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133673210,"filename":"image_06012025_04_19_02_782111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32c1c8e252be9194f92df2c343c574d1.jpg","text":"TemporaryFile(/tmp/multipartBody7927968061552799197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133673210,"filename":"image_06012025_04_19_02_782111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/466af8a76d7c46342c63967bccc3585b.jpg","text":"TemporaryFile(/tmp/multipartBody2202293309207797794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133673210,"filename":"image_06012025_04_18_02_203433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2429d0081ec1ab712d39dc533296abe.jpg","text":"TemporaryFile(/tmp/multipartBody7600445904962692801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133673210,"filename":"image_06012025_04_19_02_782111_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931081","file1":"1326931080","file0":"1326931061","file3":"1326931082"},"map_files_photo_id_array":[{"photo_id":"1326931081","filename":"file2"},{"photo_id":"1326931080","filename":"file1"},{"photo_id":"1326931061","filename":"file0"},{"photo_id":"1326931082","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931080":["hashtag1","hashtag2"]},{"1326931082":["hashtag1","hashtag2"]},{"1326931061":["hashtag1","hashtag2"]},{"1326931081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931080, 1326931082, 1326931061, 1326931081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79725909233093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:21:02.529401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0003.jpg', '/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0000.jpg', '/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0001.jpg', '/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/19/image_06012025_04_19_02_782111_0003.jpg
/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0000.jpg
/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0001.jpg
/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931092","1326931089","1326931091","1326931090"],"photo_ids_order":["1326931089","1326931090","1326931091","1326931092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff11652e6d0d98d2e08615697269fd0e.jpg","text":"TemporaryFile(/tmp/multipartBody3455180585987272900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133732847,"filename":"image_06012025_04_20_02_310437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a0728b11900487ed76fdc072baf7b55.jpg","text":"TemporaryFile(/tmp/multipartBody5667791187970275673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133732847,"filename":"image_06012025_04_19_02_782111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd5f4ba7fcc51b113427f28418afe66e.jpg","text":"TemporaryFile(/tmp/multipartBody6167409190618983368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133732847,"filename":"image_06012025_04_20_02_310437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07949363c9387bc180e098741f79ea93.jpg","text":"TemporaryFile(/tmp/multipartBody7638609011286318861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133732847,"filename":"image_06012025_04_20_02_310437_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931091","file1":"1326931090","file0":"1326931089","file3":"1326931092"},"map_files_photo_id_array":[{"photo_id":"1326931091","filename":"file2"},{"photo_id":"1326931090","filename":"file1"},{"photo_id":"1326931089","filename":"file0"},{"photo_id":"1326931092","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931092":["hashtag1","hashtag2"]},{"1326931089":["hashtag1","hashtag2"]},{"1326931091":["hashtag1","hashtag2"]},{"1326931090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931092, 1326931089, 1326931091, 1326931090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40403985977173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:22:02.121352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0003.jpg', '/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0000.jpg', '/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0001.jpg', '/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/20/image_06012025_04_20_02_310437_0003.jpg
/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0000.jpg
/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0001.jpg
/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931114","1326931117","1326931113","1326931116"],"photo_ids_order":["1326931113","1326931114","1326931116","1326931117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3337a64340f8ed6fd3a04c5c129984d.jpg","text":"TemporaryFile(/tmp/multipartBody6093919182345375655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133792334,"filename":"image_06012025_04_21_02_891662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7619dd778eac6a81e1a25abdf9269e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3160513569686331627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133792334,"filename":"image_06012025_04_21_02_891662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9bdc4f2bb8a36b82e2817bc9ec84eb56.jpg","text":"TemporaryFile(/tmp/multipartBody7213437721911730512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133792334,"filename":"image_06012025_04_20_02_310437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a692322c523b65c306f9a758ca657704.jpg","text":"TemporaryFile(/tmp/multipartBody8493298408400797911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133792334,"filename":"image_06012025_04_21_02_891662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931116","file1":"1326931114","file0":"1326931113","file3":"1326931117"},"map_files_photo_id_array":[{"photo_id":"1326931116","filename":"file2"},{"photo_id":"1326931114","filename":"file1"},{"photo_id":"1326931113","filename":"file0"},{"photo_id":"1326931117","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931114":["hashtag1","hashtag2"]},{"1326931117":["hashtag1","hashtag2"]},{"1326931113":["hashtag1","hashtag2"]},{"1326931116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931114, 1326931117, 1326931113, 1326931116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73685550689697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:23:03.091586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0003.jpg', '/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0000.jpg', '/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0001.jpg', '/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/21/image_06012025_04_21_02_891662_0003.jpg
/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0000.jpg
/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0001.jpg
/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931125","1326931128","1326931124","1326931127"],"photo_ids_order":["1326931124","1326931125","1326931127","1326931128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad8d5d1ab6aa7afa857205318b500a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2781582097498011534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133853261,"filename":"image_06012025_04_22_02_508413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd824a24b8f40942e1af093e0fc09144.jpg","text":"TemporaryFile(/tmp/multipartBody6492402394058243107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133853261,"filename":"image_06012025_04_22_02_508413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e474ec705e018d91db774712756f2c9.jpg","text":"TemporaryFile(/tmp/multipartBody203280038246239444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133853261,"filename":"image_06012025_04_21_02_891662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b29983961c571a6aaa2155927c157845.jpg","text":"TemporaryFile(/tmp/multipartBody6917227625994435990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133853261,"filename":"image_06012025_04_22_02_508413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931127","file1":"1326931125","file0":"1326931124","file3":"1326931128"},"map_files_photo_id_array":[{"photo_id":"1326931127","filename":"file2"},{"photo_id":"1326931125","filename":"file1"},{"photo_id":"1326931124","filename":"file0"},{"photo_id":"1326931128","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931125":["hashtag1","hashtag2"]},{"1326931128":["hashtag1","hashtag2"]},{"1326931124":["hashtag1","hashtag2"]},{"1326931127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931125, 1326931128, 1326931124, 1326931127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.251508951187134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:24:02.365015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0003.jpg', '/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0000.jpg', '/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0001.jpg', '/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/22/image_06012025_04_22_02_508413_0003.jpg
/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0000.jpg
/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0001.jpg
/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931140","1326931172","1326931163","1326931168"],"photo_ids_order":["1326931140","1326931163","1326931168","1326931172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad04b8a718c991b757af518e6432b86e.jpg","text":"TemporaryFile(/tmp/multipartBody6505866413778231788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133912659,"filename":"image_06012025_04_22_02_508413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a166a6fb07277fd279b37586ace54ed.jpg","text":"TemporaryFile(/tmp/multipartBody505619732369871716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133912659,"filename":"image_06012025_04_23_02_184544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29fd87ced13d4b939d61e6f01d8230ca.jpg","text":"TemporaryFile(/tmp/multipartBody6243369032272736070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133912659,"filename":"image_06012025_04_23_02_184544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b40787eabb3931d28cc603025be4891e.jpg","text":"TemporaryFile(/tmp/multipartBody5831775018591150989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133912659,"filename":"image_06012025_04_23_02_184544_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931168","file1":"1326931163","file0":"1326931140","file3":"1326931172"},"map_files_photo_id_array":[{"photo_id":"1326931168","filename":"file2"},{"photo_id":"1326931163","filename":"file1"},{"photo_id":"1326931140","filename":"file0"},{"photo_id":"1326931172","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931140":["hashtag1","hashtag2"]},{"1326931172":["hashtag1","hashtag2"]},{"1326931163":["hashtag1","hashtag2"]},{"1326931168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931140, 1326931172, 1326931163, 1326931168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42109942436218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:25:03.079227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0003.jpg', '/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0000.jpg', '/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0001.jpg', '/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/23/image_06012025_04_23_02_184544_0003.jpg
/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0000.jpg
/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0001.jpg
/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931275","1326931274","1326931277","1326931276"],"photo_ids_order":["1326931274","1326931275","1326931276","1326931277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5aa2acfb700e36cbf32a96836e80321.jpg","text":"TemporaryFile(/tmp/multipartBody6600597653646310705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133973432,"filename":"image_06012025_04_24_02_675581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f29df438d78390bdf93aa376a8690ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7387537880754496947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133973432,"filename":"image_06012025_04_23_02_184544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4dbe56cd8c9fdfbf5d783a398eda9f20.jpg","text":"TemporaryFile(/tmp/multipartBody226176015988608330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133973432,"filename":"image_06012025_04_24_02_675581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5c82125239420f47ca2c5f595c6e3b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1124931403175978821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736133973432,"filename":"image_06012025_04_24_02_675581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931276","file1":"1326931275","file0":"1326931274","file3":"1326931277"},"map_files_photo_id_array":[{"photo_id":"1326931276","filename":"file2"},{"photo_id":"1326931275","filename":"file1"},{"photo_id":"1326931274","filename":"file0"},{"photo_id":"1326931277","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931275":["hashtag1","hashtag2"]},{"1326931274":["hashtag1","hashtag2"]},{"1326931277":["hashtag1","hashtag2"]},{"1326931276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931275, 1326931274, 1326931277, 1326931276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.18707585334778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:26:02.646450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0003.jpg', '/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0000.jpg', '/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0001.jpg', '/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/24/image_06012025_04_24_02_675581_0003.jpg
/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0000.jpg
/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0001.jpg
/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931287","1326931284","1326931286","1326931285"],"photo_ids_order":["1326931284","1326931285","1326931286","1326931287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e96d7c8f712def62ee12839b41bbc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6923643426896451268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134032710,"filename":"image_06012025_04_25_02_317296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1da94bcc30be5650732acd51483149c0.jpg","text":"TemporaryFile(/tmp/multipartBody2031726920800289491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134032710,"filename":"image_06012025_04_24_02_675581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49077bcacc0e591348f7f1e7b417f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody7649770454656114307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134032710,"filename":"image_06012025_04_25_02_317296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59945e003ad148a3e94101ed03268fff.jpg","text":"TemporaryFile(/tmp/multipartBody8755514062116027504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134032710,"filename":"image_06012025_04_25_02_317296_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931286","file1":"1326931285","file0":"1326931284","file3":"1326931287"},"map_files_photo_id_array":[{"photo_id":"1326931286","filename":"file2"},{"photo_id":"1326931285","filename":"file1"},{"photo_id":"1326931284","filename":"file0"},{"photo_id":"1326931287","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931287":["hashtag1","hashtag2"]},{"1326931284":["hashtag1","hashtag2"]},{"1326931286":["hashtag1","hashtag2"]},{"1326931285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931287, 1326931284, 1326931286, 1326931285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.049689054489136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:27:03.197076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0003.jpg', '/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0000.jpg', '/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0001.jpg', '/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/25/image_06012025_04_25_02_317296_0003.jpg
/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0000.jpg
/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0001.jpg
/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931299","1326931296","1326931298","1326931297"],"photo_ids_order":["1326931296","1326931297","1326931298","1326931299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbf5660818ef1d790f1a711a4b9812cf.jpg","text":"TemporaryFile(/tmp/multipartBody4490507722168038514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134093255,"filename":"image_06012025_04_26_02_851400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1db5d4ae5e8c62416ca7252483ca7fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6474844857792989476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134093255,"filename":"image_06012025_04_25_02_317296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b8584022b62413b8935a987350f2236.jpg","text":"TemporaryFile(/tmp/multipartBody2655528433297756833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134093255,"filename":"image_06012025_04_26_02_851400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fae76d129d7224dd188d2f914b3269c3.jpg","text":"TemporaryFile(/tmp/multipartBody8670212920778070598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134093255,"filename":"image_06012025_04_26_02_851400_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931298","file1":"1326931297","file0":"1326931296","file3":"1326931299"},"map_files_photo_id_array":[{"photo_id":"1326931298","filename":"file2"},{"photo_id":"1326931297","filename":"file1"},{"photo_id":"1326931296","filename":"file0"},{"photo_id":"1326931299","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931299":["hashtag1","hashtag2"]},{"1326931296":["hashtag1","hashtag2"]},{"1326931298":["hashtag1","hashtag2"]},{"1326931297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931299, 1326931296, 1326931298, 1326931297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.853766441345215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:28:02.899901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0003.jpg', '/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0000.jpg', '/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0001.jpg', '/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/26/image_06012025_04_26_02_851400_0003.jpg
/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0000.jpg
/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0001.jpg
/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931306","1326931309","1326931308","1326931307"],"photo_ids_order":["1326931306","1326931307","1326931308","1326931309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c36455e16d5622f919a4792d6a52ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody2093500561054425573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134152940,"filename":"image_06012025_04_26_02_851400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6c8e3683e37ace8e9d4c47450a472bd.jpg","text":"TemporaryFile(/tmp/multipartBody759758245958678218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134152940,"filename":"image_06012025_04_27_02_538078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93934c65c4c64fa52be258118d08cc1d.jpg","text":"TemporaryFile(/tmp/multipartBody6285147242133367555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134152940,"filename":"image_06012025_04_27_02_538078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9697a7622b60b0764aea91183060c7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5786572902672126457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134152940,"filename":"image_06012025_04_27_02_538078_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931308","file1":"1326931307","file0":"1326931306","file3":"1326931309"},"map_files_photo_id_array":[{"photo_id":"1326931308","filename":"file2"},{"photo_id":"1326931307","filename":"file1"},{"photo_id":"1326931306","filename":"file0"},{"photo_id":"1326931309","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931306":["hashtag1","hashtag2"]},{"1326931309":["hashtag1","hashtag2"]},{"1326931308":["hashtag1","hashtag2"]},{"1326931307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931306, 1326931309, 1326931308, 1326931307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.301403284072876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:29:02.609823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0003.jpg', '/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0000.jpg', '/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0001.jpg', '/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/27/image_06012025_04_27_02_538078_0003.jpg
/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0000.jpg
/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0001.jpg
/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931329","1326931320","1326931328","1326931325"],"photo_ids_order":["1326931320","1326931325","1326931328","1326931329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a28782f94926170bcdaf42b899641804.jpg","text":"TemporaryFile(/tmp/multipartBody4718885179749756462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134212758,"filename":"image_06012025_04_28_02_997475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48f60919c43686f6fc5cc2c1aa4d1908.jpg","text":"TemporaryFile(/tmp/multipartBody6646477747173490609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134212758,"filename":"image_06012025_04_27_02_538078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7968646358bd4986a95aea8288686b47.jpg","text":"TemporaryFile(/tmp/multipartBody2198625342620352204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134212758,"filename":"image_06012025_04_28_02_997475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d65d91797b3f687b134802d8927949ae.jpg","text":"TemporaryFile(/tmp/multipartBody7647135718837347553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134212758,"filename":"image_06012025_04_28_02_997475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931328","file1":"1326931325","file0":"1326931320","file3":"1326931329"},"map_files_photo_id_array":[{"photo_id":"1326931328","filename":"file2"},{"photo_id":"1326931325","filename":"file1"},{"photo_id":"1326931320","filename":"file0"},{"photo_id":"1326931329","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931329":["hashtag1","hashtag2"]},{"1326931320":["hashtag1","hashtag2"]},{"1326931328":["hashtag1","hashtag2"]},{"1326931325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931329, 1326931320, 1326931328, 1326931325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.832481384277344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:30:03.114227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0003.jpg', '/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0000.jpg', '/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0001.jpg', '/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/28/image_06012025_04_28_02_997475_0003.jpg
/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0000.jpg
/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0001.jpg
/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931386","1326931464","1326931404","1326931466"],"photo_ids_order":["1326931386","1326931404","1326931464","1326931466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36b4a1e86f1bea7c9ed6f69f90d0808b.jpg","text":"TemporaryFile(/tmp/multipartBody2180479577194826828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134273004,"filename":"image_06012025_04_28_02_997475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c221c7e9dbcc593e90d4ab5c0ca60176.jpg","text":"TemporaryFile(/tmp/multipartBody7299573723447185741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134273004,"filename":"image_06012025_04_29_02_792058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d596f28650909c5ba852b7e3c2499be6.jpg","text":"TemporaryFile(/tmp/multipartBody8224439128324486510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134273004,"filename":"image_06012025_04_29_02_792058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7673bf69ce9778e7918fbec3a24e85da.jpg","text":"TemporaryFile(/tmp/multipartBody5993863727186960738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134273004,"filename":"image_06012025_04_29_02_792058_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931464","file1":"1326931404","file0":"1326931386","file3":"1326931466"},"map_files_photo_id_array":[{"photo_id":"1326931464","filename":"file2"},{"photo_id":"1326931404","filename":"file1"},{"photo_id":"1326931386","filename":"file0"},{"photo_id":"1326931466","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931386":["hashtag1","hashtag2"]},{"1326931464":["hashtag1","hashtag2"]},{"1326931404":["hashtag1","hashtag2"]},{"1326931466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931386, 1326931464, 1326931404, 1326931466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.31319808959961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:31:02.849704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0003.jpg', '/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0000.jpg', '/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0001.jpg', '/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/29/image_06012025_04_29_02_792058_0003.jpg
/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0000.jpg
/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0001.jpg
/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931507","1326931506","1326931481","1326931505"],"photo_ids_order":["1326931481","1326931505","1326931506","1326931507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e4e33eb695495df2d3b0e1ce034655f.jpg","text":"TemporaryFile(/tmp/multipartBody201860343415777058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134332682,"filename":"image_06012025_04_30_02_353636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adbbfcf7bd0dececac8923e15aad40d9.jpg","text":"TemporaryFile(/tmp/multipartBody2230440646820567645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134332682,"filename":"image_06012025_04_30_02_353636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99784b2ccffae4bb1803bf6371a878ec.jpg","text":"TemporaryFile(/tmp/multipartBody4262206957558693215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134332682,"filename":"image_06012025_04_29_02_792058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d05cdc90f286275e14e5cd647a90e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7663626035811795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134332682,"filename":"image_06012025_04_30_02_353636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931506","file1":"1326931505","file0":"1326931481","file3":"1326931507"},"map_files_photo_id_array":[{"photo_id":"1326931506","filename":"file2"},{"photo_id":"1326931505","filename":"file1"},{"photo_id":"1326931481","filename":"file0"},{"photo_id":"1326931507","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931507":["hashtag1","hashtag2"]},{"1326931506":["hashtag1","hashtag2"]},{"1326931481":["hashtag1","hashtag2"]},{"1326931505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931507, 1326931506, 1326931481, 1326931505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84146785736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:32:02.332343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0003.jpg', '/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0000.jpg', '/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0001.jpg', '/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/30/image_06012025_04_30_02_353636_0003.jpg
/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0000.jpg
/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0001.jpg
/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931516","1326931515","1326931514","1326931517"],"photo_ids_order":["1326931514","1326931515","1326931516","1326931517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6c892d0765ae05d0493f642889bde81.jpg","text":"TemporaryFile(/tmp/multipartBody7308693030271689560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134392223,"filename":"image_06012025_04_31_03_012964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3fdebbeb411e3bc21751bb9498de8a20.jpg","text":"TemporaryFile(/tmp/multipartBody6193141282925853892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134392223,"filename":"image_06012025_04_31_03_012964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6471d41a8f19ce64849181a90f098a2.jpg","text":"TemporaryFile(/tmp/multipartBody1978079910551863584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134392223,"filename":"image_06012025_04_30_02_353636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf4c7686bd7d47c1eb8b539d92de41df.jpg","text":"TemporaryFile(/tmp/multipartBody6254168818621815683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134392223,"filename":"image_06012025_04_31_03_012964_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931516","file1":"1326931515","file0":"1326931514","file3":"1326931517"},"map_files_photo_id_array":[{"photo_id":"1326931516","filename":"file2"},{"photo_id":"1326931515","filename":"file1"},{"photo_id":"1326931514","filename":"file0"},{"photo_id":"1326931517","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931516":["hashtag1","hashtag2"]},{"1326931515":["hashtag1","hashtag2"]},{"1326931514":["hashtag1","hashtag2"]},{"1326931517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931516, 1326931515, 1326931514, 1326931517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00245189666748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:33:02.967292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0003.jpg', '/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0000.jpg', '/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0001.jpg', '/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/31/image_06012025_04_31_03_012964_0003.jpg
/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0000.jpg
/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0001.jpg
/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931525","1326931527","1326931524","1326931526"],"photo_ids_order":["1326931524","1326931525","1326931526","1326931527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a3941251cd7a4f3faed62b3d03b8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1377102574184779465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134452864,"filename":"image_06012025_04_32_02_535744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92dc70d1e6160cba5671496043a255d5.jpg","text":"TemporaryFile(/tmp/multipartBody6079784807798355739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134452864,"filename":"image_06012025_04_32_02_535744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d23e18c39aee5201a95ad58fc1fa40c.jpg","text":"TemporaryFile(/tmp/multipartBody3209979474451649408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134452864,"filename":"image_06012025_04_31_03_012964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f7870be5503672dc5d17b5999226f28.jpg","text":"TemporaryFile(/tmp/multipartBody4397531663794400893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134452864,"filename":"image_06012025_04_32_02_535744_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931526","file1":"1326931525","file0":"1326931524","file3":"1326931527"},"map_files_photo_id_array":[{"photo_id":"1326931526","filename":"file2"},{"photo_id":"1326931525","filename":"file1"},{"photo_id":"1326931524","filename":"file0"},{"photo_id":"1326931527","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931525":["hashtag1","hashtag2"]},{"1326931527":["hashtag1","hashtag2"]},{"1326931524":["hashtag1","hashtag2"]},{"1326931526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931525, 1326931527, 1326931524, 1326931526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38739204406738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:34:02.453542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0003.jpg', '/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0000.jpg', '/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0001.jpg', '/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/32/image_06012025_04_32_02_535744_0003.jpg
/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0000.jpg
/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0001.jpg
/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931563","1326931566","1326931565","1326931564"],"photo_ids_order":["1326931563","1326931564","1326931565","1326931566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67ce735533c6d4fb84f195ee447ec3b5.jpg","text":"TemporaryFile(/tmp/multipartBody2472247915046208349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134512384,"filename":"image_06012025_04_32_02_535744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4a43314deede117ae796c46a26533a9.jpg","text":"TemporaryFile(/tmp/multipartBody53838477086832215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134512384,"filename":"image_06012025_04_33_02_281949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bda61ab057dce23263ec8f070af03070.jpg","text":"TemporaryFile(/tmp/multipartBody3702849592656297286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134512384,"filename":"image_06012025_04_33_02_281949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/031f4db489b0e7ca2d9e8c037ffc77f8.jpg","text":"TemporaryFile(/tmp/multipartBody8768095272059926995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134512384,"filename":"image_06012025_04_33_02_281949_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931565","file1":"1326931564","file0":"1326931563","file3":"1326931566"},"map_files_photo_id_array":[{"photo_id":"1326931565","filename":"file2"},{"photo_id":"1326931564","filename":"file1"},{"photo_id":"1326931563","filename":"file0"},{"photo_id":"1326931566","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931563":["hashtag1","hashtag2"]},{"1326931566":["hashtag1","hashtag2"]},{"1326931565":["hashtag1","hashtag2"]},{"1326931564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931563, 1326931566, 1326931565, 1326931564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.262189626693726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:35:03.212150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0003.jpg', '/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0000.jpg', '/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0001.jpg', '/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/33/image_06012025_04_33_02_281949_0003.jpg
/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0000.jpg
/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0001.jpg
/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931603","1326931606","1326931602","1326931605"],"photo_ids_order":["1326931602","1326931603","1326931605","1326931606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f9c6d5bbfffe4e3ff7f40fd80e5e0af.jpg","text":"TemporaryFile(/tmp/multipartBody8292484405270698233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134573112,"filename":"image_06012025_04_34_02_799023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4da82879d4cb88c3e2e3dcc84ad761cf.jpg","text":"TemporaryFile(/tmp/multipartBody7082901158066603185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134573112,"filename":"image_06012025_04_34_02_799023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/224f2e22fffa52b57ca24d7ffd05aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody7038402550279884846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134573112,"filename":"image_06012025_04_33_02_281949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/160ca2b4041c5d0752f050f80006e4d0.jpg","text":"TemporaryFile(/tmp/multipartBody6533323669415924290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134573112,"filename":"image_06012025_04_34_02_799023_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931605","file1":"1326931603","file0":"1326931602","file3":"1326931606"},"map_files_photo_id_array":[{"photo_id":"1326931605","filename":"file2"},{"photo_id":"1326931603","filename":"file1"},{"photo_id":"1326931602","filename":"file0"},{"photo_id":"1326931606","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931603":["hashtag1","hashtag2"]},{"1326931606":["hashtag1","hashtag2"]},{"1326931602":["hashtag1","hashtag2"]},{"1326931605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931603, 1326931606, 1326931602, 1326931605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.4969744682312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:36:02.797812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/34/image_06012025_04_34_02_799023_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931699"],"photo_id":"1326931699","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/006e0fb9d3677a10035cdf92ea91102f.jpg","text":"TemporaryFile(/tmp/multipartBody1658377448895259400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134625722,"filename":"image_06012025_04_34_02_799023_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326931699"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326931699"}],"hashtags":[],"portfolio_id":"19426211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.428975105285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:36:22.232532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/35/image_06012025_04_35_02_486397_0000.jpg', '/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0001.jpg', '/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/35/image_06012025_04_35_02_486397_0000.jpg
/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0001.jpg
/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931705","1326931701","1326931703"],"photo_ids_order":["1326931701","1326931703","1326931705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03f14095b59e7f5b1e0decc5971f0dc2.jpg","text":"TemporaryFile(/tmp/multipartBody330687190993624520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134649687,"filename":"image_06012025_04_36_03_014083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/caeb4f278324433be61e1dbff72e0b35.jpg","text":"TemporaryFile(/tmp/multipartBody1933260587803291475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134649687,"filename":"image_06012025_04_35_02_486397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04546954cf02b621df2ac3ff0f4c1b9c.jpg","text":"TemporaryFile(/tmp/multipartBody6270438319415416583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134649687,"filename":"image_06012025_04_36_03_014083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931705","file1":"1326931703","file0":"1326931701"},"map_files_photo_id_array":[{"photo_id":"1326931705","filename":"file2"},{"photo_id":"1326931703","filename":"file1"},{"photo_id":"1326931701","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931705":["hashtag1","hashtag2"]},{"1326931701":["hashtag1","hashtag2"]},{"1326931703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931705, 1326931701, 1326931703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.485339879989624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:37:02.484656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:37:21.780021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0003.jpg', '/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0000.jpg', '/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0001.jpg', '/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/36/image_06012025_04_36_03_014083_0003.jpg
/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0000.jpg
/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0001.jpg
/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931758","1326931755","1326931760","1326931756"],"photo_ids_order":["1326931755","1326931756","1326931758","1326931760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8067dd69269850f8bde15ff08bfe38f2.jpg","text":"TemporaryFile(/tmp/multipartBody7459531821706597504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134711509,"filename":"image_06012025_04_37_02_674540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2a382c434f429bae4f5b91da92db791.jpg","text":"TemporaryFile(/tmp/multipartBody3221102494803366186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134711509,"filename":"image_06012025_04_36_03_014083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bfa8d951990bfbc91cf1e2cb64fd4a3.jpg","text":"TemporaryFile(/tmp/multipartBody7196671553523700901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134711509,"filename":"image_06012025_04_37_02_674540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b808de4c9c5b2d3a19c62dd0efd2e33.jpg","text":"TemporaryFile(/tmp/multipartBody9043318820826285877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134711509,"filename":"image_06012025_04_37_02_674540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931758","file1":"1326931756","file0":"1326931755","file3":"1326931760"},"map_files_photo_id_array":[{"photo_id":"1326931758","filename":"file2"},{"photo_id":"1326931756","filename":"file1"},{"photo_id":"1326931755","filename":"file0"},{"photo_id":"1326931760","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931758":["hashtag1","hashtag2"]},{"1326931755":["hashtag1","hashtag2"]},{"1326931760":["hashtag1","hashtag2"]},{"1326931756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931758, 1326931755, 1326931760, 1326931756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95655822753906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:38:02.785135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:38:22.352755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0003.jpg', '/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0000.jpg', '/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0001.jpg', '/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/37/image_06012025_04_37_02_674540_0003.jpg
/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0000.jpg
/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0001.jpg
/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931851","1326931767","1326931769","1326931765"],"photo_ids_order":["1326931765","1326931767","1326931769","1326931851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1d89402e82ff96479fe54a2da1b9f75.jpg","text":"TemporaryFile(/tmp/multipartBody7831136303482738847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134772332,"filename":"image_06012025_04_38_02_210205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d4b12f474349c28437f78a813386a53.jpg","text":"TemporaryFile(/tmp/multipartBody6992918870309990715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134772332,"filename":"image_06012025_04_38_02_210205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/042b7079a0e4905a117c568c009702c7.jpg","text":"TemporaryFile(/tmp/multipartBody5821169565182697098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134772332,"filename":"image_06012025_04_38_02_210205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd6ea2e4c521f5844cb56722efd6a9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1405064624608402553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134772332,"filename":"image_06012025_04_37_02_674540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931769","file1":"1326931767","file0":"1326931765","file3":"1326931851"},"map_files_photo_id_array":[{"photo_id":"1326931769","filename":"file2"},{"photo_id":"1326931767","filename":"file1"},{"photo_id":"1326931765","filename":"file0"},{"photo_id":"1326931851","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931851":["hashtag1","hashtag2"]},{"1326931767":["hashtag1","hashtag2"]},{"1326931769":["hashtag1","hashtag2"]},{"1326931765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931851, 1326931767, 1326931769, 1326931765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.43354392051697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:39:21.842655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0003.jpg', '/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0000.jpg', '/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/38/image_06012025_04_38_02_210205_0003.jpg
/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0000.jpg
/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931869","1326931863","1326931872"],"photo_ids_order":["1326931863","1326931869","1326931872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f241ddb14a4254a568be709d4587cea3.jpg","text":"TemporaryFile(/tmp/multipartBody4646480238172204208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134829300,"filename":"image_06012025_04_39_02_728290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43e3077bbdeac74da05576d90d944b36.jpg","text":"TemporaryFile(/tmp/multipartBody1104147371820941244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134829300,"filename":"image_06012025_04_38_02_210205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8411cdb9cd82c59bfb8b4a6217e83160.jpg","text":"TemporaryFile(/tmp/multipartBody4935237394087406504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134829300,"filename":"image_06012025_04_39_02_728290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931872","file1":"1326931869","file0":"1326931863"},"map_files_photo_id_array":[{"photo_id":"1326931872","filename":"file2"},{"photo_id":"1326931869","filename":"file1"},{"photo_id":"1326931863","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931869":["hashtag1","hashtag2"]},{"1326931863":["hashtag1","hashtag2"]},{"1326931872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931869, 1326931863, 1326931872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.89108085632324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:40:02.856393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:40:22.479814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0003.jpg', '/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0000.jpg', '/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0001.jpg', '/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/39/image_06012025_04_39_02_728290_0003.jpg
/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0000.jpg
/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0001.jpg
/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326931936","1326931932","1326931957","1326931930"],"photo_ids_order":["1326931930","1326931932","1326931936","1326931957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14c7a5adadfa580696bb4915b95034e5.jpg","text":"TemporaryFile(/tmp/multipartBody8429738492846713489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134892201,"filename":"image_06012025_04_40_02_292482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e17a308034cb8c97534783b5b1276b45.jpg","text":"TemporaryFile(/tmp/multipartBody9115768394428589805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134892201,"filename":"image_06012025_04_40_02_292482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92350860dcde70f350f6385aa83ffe1e.jpg","text":"TemporaryFile(/tmp/multipartBody7043334487987949649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134892201,"filename":"image_06012025_04_40_02_292482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95e40cd8737ac4d45eaccdacba1284b0.jpg","text":"TemporaryFile(/tmp/multipartBody2146640779001352608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134892201,"filename":"image_06012025_04_39_02_728290_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326931936","file1":"1326931932","file0":"1326931930","file3":"1326931957"},"map_files_photo_id_array":[{"photo_id":"1326931936","filename":"file2"},{"photo_id":"1326931932","filename":"file1"},{"photo_id":"1326931930","filename":"file0"},{"photo_id":"1326931957","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326931936":["hashtag1","hashtag2"]},{"1326931932":["hashtag1","hashtag2"]},{"1326931957":["hashtag1","hashtag2"]},{"1326931930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326931936, 1326931932, 1326931957, 1326931930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35089874267578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:41:21.971517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0003.jpg', '/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0000.jpg', '/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/40/image_06012025_04_40_02_292482_0003.jpg
/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0000.jpg
/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932028","1326932027","1326932030"],"photo_ids_order":["1326932027","1326932028","1326932030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0baa0f9e86149b40c520e0749f5b2c60.jpg","text":"TemporaryFile(/tmp/multipartBody884671023583129309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134949448,"filename":"image_06012025_04_41_02_822965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78d8e73054e510c003996e00f9bfc3c6.jpg","text":"TemporaryFile(/tmp/multipartBody203825827737366304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134949448,"filename":"image_06012025_04_40_02_292482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fa2502d8d88bb73766005d991b396d2.jpg","text":"TemporaryFile(/tmp/multipartBody68949948091172489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736134949448,"filename":"image_06012025_04_41_02_822965_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932030","file1":"1326932028","file0":"1326932027"},"map_files_photo_id_array":[{"photo_id":"1326932030","filename":"file2"},{"photo_id":"1326932028","filename":"file1"},{"photo_id":"1326932027","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932028":["hashtag1","hashtag2"]},{"1326932027":["hashtag1","hashtag2"]},{"1326932030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932028, 1326932027, 1326932030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.172141075134277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:42:03.000341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:42:22.543906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0002.jpg', '/home/pi/Desktop/images/06012025/04/42/image_06012025_04_42_02_357170_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/41/image_06012025_04_41_02_822965_0002.jpg
/home/pi/Desktop/images/06012025/04/42/image_06012025_04_42_02_357170_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932037","1326932038"],"photo_ids_order":["1326932037","1326932038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2418876b985a639c1e0d6259d17afbf9.jpg","text":"TemporaryFile(/tmp/multipartBody5654571602266062954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135007755,"filename":"image_06012025_04_41_02_822965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de657fe74afb5f95c575bd6e20f0b869.jpg","text":"TemporaryFile(/tmp/multipartBody5514097689292100120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135007755,"filename":"image_06012025_04_42_02_357170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326932038","file0":"1326932037"},"map_files_photo_id_array":[{"photo_id":"1326932038","filename":"file1"},{"photo_id":"1326932037","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932037":["hashtag1","hashtag2"]},{"1326932038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932037, 1326932038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.34586501121521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:43:02.783080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:43:22.036324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/42/image_06012025_04_42_02_357170_0001.jpg', '/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0001.jpg', '/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/42/image_06012025_04_42_02_357170_0001.jpg
/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0001.jpg
/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932082","1326932081","1326932083"],"photo_ids_order":["1326932081","1326932082","1326932083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb40389b78f5e04645f24eaf31ff32c0.jpg","text":"TemporaryFile(/tmp/multipartBody497456525271391781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135069466,"filename":"image_06012025_04_43_02_902050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3630b0459946f8b3a21ff672365cd76.jpg","text":"TemporaryFile(/tmp/multipartBody2704685488355978333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135069466,"filename":"image_06012025_04_42_02_357170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67a7dbe2cd8b99634acf08e590b8f54a.jpg","text":"TemporaryFile(/tmp/multipartBody987543049116675755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135069466,"filename":"image_06012025_04_43_02_902050_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932083","file1":"1326932082","file0":"1326932081"},"map_files_photo_id_array":[{"photo_id":"1326932083","filename":"file2"},{"photo_id":"1326932082","filename":"file1"},{"photo_id":"1326932081","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932082":["hashtag1","hashtag2"]},{"1326932081":["hashtag1","hashtag2"]},{"1326932083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932082, 1326932081, 1326932083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.61377239227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:44:02.244562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:44:21.701833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0003.jpg', '/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0000.jpg', '/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0001.jpg', '/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/43/image_06012025_04_43_02_902050_0003.jpg
/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0000.jpg
/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0001.jpg
/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932127","1326932132","1326932138","1326932140"],"photo_ids_order":["1326932127","1326932132","1326932138","1326932140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5e48ecbf0c6a43ff18317c308edfdaa.jpg","text":"TemporaryFile(/tmp/multipartBody5387354349208413501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135131381,"filename":"image_06012025_04_43_02_902050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3daae4ea72caa27e1d65679702bf0421.jpg","text":"TemporaryFile(/tmp/multipartBody6006428794782651977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135131381,"filename":"image_06012025_04_44_02_512326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90346c017ae54e13e2dfecf366f02587.jpg","text":"TemporaryFile(/tmp/multipartBody1135801917684560997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135131381,"filename":"image_06012025_04_44_02_512326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/115b9b0a6104e9e6f6d7fe475cfdddc3.jpg","text":"TemporaryFile(/tmp/multipartBody2175845734734145762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135131381,"filename":"image_06012025_04_44_02_512326_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932138","file1":"1326932132","file0":"1326932127","file3":"1326932140"},"map_files_photo_id_array":[{"photo_id":"1326932138","filename":"file2"},{"photo_id":"1326932132","filename":"file1"},{"photo_id":"1326932127","filename":"file0"},{"photo_id":"1326932140","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932127":["hashtag1","hashtag2"]},{"1326932132":["hashtag1","hashtag2"]},{"1326932138":["hashtag1","hashtag2"]},{"1326932140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932127, 1326932132, 1326932138, 1326932140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93343997001648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:45:22.292092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0003.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0000.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0001.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0003.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0000.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0001.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_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.320049047470093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:46:02.412482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0003.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0000.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0001.jpg', '/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/44/image_06012025_04_44_02_512326_0003.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0000.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0001.jpg
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932340","1326932337","1326932339","1326932338"],"photo_ids_order":["1326932337","1326932338","1326932339","1326932340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/421a00958882551b1c5c7bbf44441c78.jpg","text":"TemporaryFile(/tmp/multipartBody8441346715854294040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135232127,"filename":"image_06012025_04_45_02_151230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ddd86569c5bf6010530eb54f49fb378.jpg","text":"TemporaryFile(/tmp/multipartBody6532931564277963013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135232127,"filename":"image_06012025_04_44_02_512326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a44236388cb77e25ec9f9429ba2de9f.jpg","text":"TemporaryFile(/tmp/multipartBody5386092858057403886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135232127,"filename":"image_06012025_04_45_02_151230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d7009834d9e8936078977739ddb5888.jpg","text":"TemporaryFile(/tmp/multipartBody4376870767187522978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135232127,"filename":"image_06012025_04_45_02_151230_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932339","file1":"1326932338","file0":"1326932337","file3":"1326932340"},"map_files_photo_id_array":[{"photo_id":"1326932339","filename":"file2"},{"photo_id":"1326932338","filename":"file1"},{"photo_id":"1326932337","filename":"file0"},{"photo_id":"1326932340","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932340":["hashtag1","hashtag2"]},{"1326932337":["hashtag1","hashtag2"]},{"1326932339":["hashtag1","hashtag2"]},{"1326932338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932340, 1326932337, 1326932339, 1326932338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08790159225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:47:03.093607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0003.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0000.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0001.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0003.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0000.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0001.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_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.39150595664978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:47:22.471675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0003.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0000.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0001.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0002.jpg', '/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0003.jpg', '/home/pi/Desktop/images/06012025/04/47/image_06012025_04_47_02_339363_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/45/image_06012025_04_45_02_151230_0003.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0000.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0001.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0002.jpg
/home/pi/Desktop/images/06012025/04/46/image_06012025_04_46_02_684818_0003.jpg
/home/pi/Desktop/images/06012025/04/47/image_06012025_04_47_02_339363_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932358","1326932352","1326932360","1326932354","1326932362","1326932356"],"photo_ids_order":["1326932352","1326932354","1326932356","1326932358","1326932360","1326932362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3aef0ffbcff6278cc0cf1a9414481c17.jpg","text":"TemporaryFile(/tmp/multipartBody6286761482498178479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_46_02_684818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3810a495f5c7a80d97c9ab3b8304f2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3939809231555566461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_45_02_151230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b510923add7aaadcfa2d11e2334c108e.jpg","text":"TemporaryFile(/tmp/multipartBody3222589657979201860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_46_02_684818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf794c1b9ccbd4a5592063c964c8e9f6.jpg","text":"TemporaryFile(/tmp/multipartBody8668153046187111557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_46_02_684818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03cbf62756c9efce7c93d1d8d17fd317.jpg","text":"TemporaryFile(/tmp/multipartBody8956498771229885214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_47_02_339363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef1f857b864671d0869fb731b4bcbca9.jpg","text":"TemporaryFile(/tmp/multipartBody4287547861782346241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135316761,"filename":"image_06012025_04_46_02_684818_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932356","file1":"1326932354","file0":"1326932352","file4":"1326932360","file5":"1326932362","file3":"1326932358"},"map_files_photo_id_array":[{"photo_id":"1326932362","filename":"file5"},{"photo_id":"1326932356","filename":"file2"},{"photo_id":"1326932360","filename":"file4"},{"photo_id":"1326932354","filename":"file1"},{"photo_id":"1326932352","filename":"file0"},{"photo_id":"1326932358","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932358":["hashtag1","hashtag2"]},{"1326932352":["hashtag1","hashtag2"]},{"1326932360":["hashtag1","hashtag2"]},{"1326932354":["hashtag1","hashtag2"]},{"1326932362":["hashtag1","hashtag2"]},{"1326932356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932358, 1326932352, 1326932360, 1326932354, 1326932362, 1326932356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.409865379333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:48:22.185468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/47/image_06012025_04_47_02_339363_0001.jpg', '/home/pi/Desktop/images/06012025/04/48/image_06012025_04_48_02_883244_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/47/image_06012025_04_47_02_339363_0001.jpg
/home/pi/Desktop/images/06012025/04/48/image_06012025_04_48_02_883244_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932364","1326932365"],"photo_ids_order":["1326932364","1326932365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c89eb2952cd81f54aff91c0c9e50a903.jpg","text":"TemporaryFile(/tmp/multipartBody702808642464515722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135367400,"filename":"image_06012025_04_47_02_339363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ae7b7b3a93c0977071dec3c4a8437b7.jpg","text":"TemporaryFile(/tmp/multipartBody6306310248897005160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135367400,"filename":"image_06012025_04_48_02_883244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326932365","file0":"1326932364"},"map_files_photo_id_array":[{"photo_id":"1326932365","filename":"file1"},{"photo_id":"1326932364","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932364":["hashtag1","hashtag2"]},{"1326932365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932364, 1326932365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.240983963012695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:49:03.296938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:49:22.565883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/48/image_06012025_04_48_02_883244_0003.jpg', '/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0000.jpg', '/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0001.jpg', '/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/48/image_06012025_04_48_02_883244_0003.jpg
/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0000.jpg
/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0001.jpg
/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932388","1326932399","1326932390","1326932394"],"photo_ids_order":["1326932388","1326932390","1326932394","1326932399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e05337518bb94622741a1c765479faa.jpg","text":"TemporaryFile(/tmp/multipartBody2349634228239160966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135432266,"filename":"image_06012025_04_48_02_883244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e858d8e88bfcf062f5173d6004a92ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4415192964703842063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135432266,"filename":"image_06012025_04_49_02_506742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad8ae18b778cc163221f4b9d7d2751dd.jpg","text":"TemporaryFile(/tmp/multipartBody3272806594964895883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135432266,"filename":"image_06012025_04_49_02_506742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12f58c51c0e0f0a5f82fba9847c6b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1188528265790215216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135432266,"filename":"image_06012025_04_49_02_506742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932394","file1":"1326932390","file0":"1326932388","file3":"1326932399"},"map_files_photo_id_array":[{"photo_id":"1326932394","filename":"file2"},{"photo_id":"1326932390","filename":"file1"},{"photo_id":"1326932388","filename":"file0"},{"photo_id":"1326932399","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932388":["hashtag1","hashtag2"]},{"1326932399":["hashtag1","hashtag2"]},{"1326932390":["hashtag1","hashtag2"]},{"1326932394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932388, 1326932399, 1326932390, 1326932394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49677491188049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:50:02.631411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:50:22.206673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0003.jpg', '/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0001.jpg', '/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/49/image_06012025_04_49_02_506742_0003.jpg
/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0001.jpg
/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932427","1326932429","1326932431"],"photo_ids_order":["1326932427","1326932429","1326932431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/760340cc367d8f485a0c3a1cd7b73d48.jpg","text":"TemporaryFile(/tmp/multipartBody7097078342451627546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135489648,"filename":"image_06012025_04_49_02_506742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74b9510483305d4930826319d3a01d36.jpg","text":"TemporaryFile(/tmp/multipartBody3294821493214219148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135489648,"filename":"image_06012025_04_50_03_022256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e534608430e965cafb07e66511dd33ac.jpg","text":"TemporaryFile(/tmp/multipartBody7730105322172893491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135489648,"filename":"image_06012025_04_50_03_022256_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932431","file1":"1326932429","file0":"1326932427"},"map_files_photo_id_array":[{"photo_id":"1326932431","filename":"file2"},{"photo_id":"1326932429","filename":"file1"},{"photo_id":"1326932427","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932427":["hashtag1","hashtag2"]},{"1326932429":["hashtag1","hashtag2"]},{"1326932431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932427, 1326932429, 1326932431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.74254655838013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:51:02.329494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:51:21.732190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0003.jpg', '/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0000.jpg', '/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/50/image_06012025_04_50_03_022256_0003.jpg
/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0000.jpg
/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932544","1326932541","1326932542"],"photo_ids_order":["1326932541","1326932542","1326932544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b9a65f2a3901d3193b1bfd425683a32.jpg","text":"TemporaryFile(/tmp/multipartBody3159147234518399586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135549190,"filename":"image_06012025_04_51_02_650620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bafc9367071ed696e62d97eb6dd500c2.jpg","text":"TemporaryFile(/tmp/multipartBody531074654728829405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135549190,"filename":"image_06012025_04_50_03_022256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07ff05fd087505898241efbff672393b.jpg","text":"TemporaryFile(/tmp/multipartBody7329984125752187315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135549190,"filename":"image_06012025_04_51_02_650620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932544","file1":"1326932542","file0":"1326932541"},"map_files_photo_id_array":[{"photo_id":"1326932544","filename":"file2"},{"photo_id":"1326932542","filename":"file1"},{"photo_id":"1326932541","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932544":["hashtag1","hashtag2"]},{"1326932541":["hashtag1","hashtag2"]},{"1326932542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932544, 1326932541, 1326932542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.021450757980347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:52:02.928120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:52:22.498582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0003.jpg', '/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0000.jpg', '/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/51/image_06012025_04_51_02_650620_0003.jpg
/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0000.jpg
/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932586","1326932587","1326932589"],"photo_ids_order":["1326932586","1326932587","1326932589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/abbae17d2a174bf2aace161c5b5081a6.jpg","text":"TemporaryFile(/tmp/multipartBody1473290893879700603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135609968,"filename":"image_06012025_04_51_02_650620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1de8e7047d40c0280ed51c9c6599221.jpg","text":"TemporaryFile(/tmp/multipartBody239781192522181756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135609968,"filename":"image_06012025_04_52_02_136928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42335cad7a7682268a7c3015f6851c17.jpg","text":"TemporaryFile(/tmp/multipartBody2761025147196517035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135609968,"filename":"image_06012025_04_52_02_136928_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932589","file1":"1326932587","file0":"1326932586"},"map_files_photo_id_array":[{"photo_id":"1326932589","filename":"file2"},{"photo_id":"1326932587","filename":"file1"},{"photo_id":"1326932586","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932586":["hashtag1","hashtag2"]},{"1326932587":["hashtag1","hashtag2"]},{"1326932589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932586, 1326932587, 1326932589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.958274602890015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:53:02.643680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:53:21.989751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0003.jpg', '/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0000.jpg', '/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/52/image_06012025_04_52_02_136928_0003.jpg
/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0000.jpg
/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932676","1326932679","1326932678"],"photo_ids_order":["1326932676","1326932678","1326932679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56afba0836a1ee243e82d3c69f99a518.jpg","text":"TemporaryFile(/tmp/multipartBody7982082391999379261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135669440,"filename":"image_06012025_04_52_02_136928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bccf2e5cadcca25beea24cf900934658.jpg","text":"TemporaryFile(/tmp/multipartBody7849054145903534595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135669440,"filename":"image_06012025_04_53_02_859663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2767b018f75d555faadeb4a301bab772.jpg","text":"TemporaryFile(/tmp/multipartBody7732755596926408838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135669440,"filename":"image_06012025_04_53_02_859663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932679","file1":"1326932678","file0":"1326932676"},"map_files_photo_id_array":[{"photo_id":"1326932679","filename":"file2"},{"photo_id":"1326932678","filename":"file1"},{"photo_id":"1326932676","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932676":["hashtag1","hashtag2"]},{"1326932679":["hashtag1","hashtag2"]},{"1326932678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932676, 1326932679, 1326932678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.23059868812561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:54:03.133776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:54:22.749402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0003.jpg', '/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0000.jpg', '/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/53/image_06012025_04_53_02_859663_0003.jpg
/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0000.jpg
/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932721","1326932711","1326932797"],"photo_ids_order":["1326932711","1326932721","1326932797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8a9e7acdeb0069ef0326bd5dbf9a94d.jpg","text":"TemporaryFile(/tmp/multipartBody4786873057097161360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135730290,"filename":"image_06012025_04_54_02_453657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3002b3534ffdef04186ef855836f0acf.jpg","text":"TemporaryFile(/tmp/multipartBody557642413164216489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135730290,"filename":"image_06012025_04_53_02_859663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d9c4dbf8d127c5c0fbb7243b5539006b.jpg","text":"TemporaryFile(/tmp/multipartBody8504657080051479702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135730290,"filename":"image_06012025_04_54_02_453657_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932797","file1":"1326932721","file0":"1326932711"},"map_files_photo_id_array":[{"photo_id":"1326932797","filename":"file2"},{"photo_id":"1326932721","filename":"file1"},{"photo_id":"1326932711","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932721":["hashtag1","hashtag2"]},{"1326932711":["hashtag1","hashtag2"]},{"1326932797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932721, 1326932711, 1326932797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.984323501586914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:55:02.755086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:55:22.171980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0002.jpg', '/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0000.jpg', '/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/54/image_06012025_04_54_02_453657_0002.jpg
/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0000.jpg
/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932820","1326932822","1326932824"],"photo_ids_order":["1326932820","1326932822","1326932824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/260ac1e1828e22ffe47b70ab86ce4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody521300939391283067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135789640,"filename":"image_06012025_04_54_02_453657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/272a62b152f0e2f35c380d812e64c082.jpg","text":"TemporaryFile(/tmp/multipartBody4270559114238069716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135789640,"filename":"image_06012025_04_55_03_070080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5545e042fd9bfe9ea9c065ae704f7b84.jpg","text":"TemporaryFile(/tmp/multipartBody1115534669717434448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135789640,"filename":"image_06012025_04_55_03_070080_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326932824","file1":"1326932822","file0":"1326932820"},"map_files_photo_id_array":[{"photo_id":"1326932824","filename":"file2"},{"photo_id":"1326932822","filename":"file1"},{"photo_id":"1326932820","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932820":["hashtag1","hashtag2"]},{"1326932822":["hashtag1","hashtag2"]},{"1326932824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932820, 1326932822, 1326932824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.753049612045288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:56:02.296187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:56:21.835683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0003.jpg', '/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0000.jpg', '/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/55/image_06012025_04_55_03_070080_0003.jpg
/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0000.jpg
/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326932829","1326932831","1326933033"],"photo_ids_order":["1326932829","1326932831","1326933033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f4b3abb198806ae5ad3cfe3fa062fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7732385573621409432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135849329,"filename":"image_06012025_04_55_03_070080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/737a013190b5b3f830398d914a8122aa.jpg","text":"TemporaryFile(/tmp/multipartBody3370612082272541306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135849329,"filename":"image_06012025_04_56_02_591667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b863bcd48ba0bf7b700c791a6f80c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3603518418472423066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135849329,"filename":"image_06012025_04_56_02_591667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933033","file1":"1326932831","file0":"1326932829"},"map_files_photo_id_array":[{"photo_id":"1326933033","filename":"file2"},{"photo_id":"1326932831","filename":"file1"},{"photo_id":"1326932829","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326932829":["hashtag1","hashtag2"]},{"1326932831":["hashtag1","hashtag2"]},{"1326933033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326932829, 1326932831, 1326933033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.83977508544922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:57:03.046704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 04:57:22.411779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0003.jpg', '/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0000.jpg', '/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0001.jpg', '/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/56/image_06012025_04_56_02_591667_0003.jpg
/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0000.jpg
/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0001.jpg
/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933405","1326933592","1326933396","1326933366"],"photo_ids_order":["1326933366","1326933396","1326933405","1326933592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0afad4914abce2e456e52836ad5d32fb.jpg","text":"TemporaryFile(/tmp/multipartBody9155037266769747401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135912127,"filename":"image_06012025_04_57_02_252769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34d24498ada93ba0aa7cb17d17c454c6.jpg","text":"TemporaryFile(/tmp/multipartBody3947909629380408864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135912127,"filename":"image_06012025_04_57_02_252769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/018ddd3104b1b402b3b46004307ae93b.jpg","text":"TemporaryFile(/tmp/multipartBody5557403741657017763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135912127,"filename":"image_06012025_04_57_02_252769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80b1ff7b4a1d82715652580617abf27a.jpg","text":"TemporaryFile(/tmp/multipartBody7673040667998977830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736135912127,"filename":"image_06012025_04_56_02_591667_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933405","file1":"1326933396","file0":"1326933366","file3":"1326933592"},"map_files_photo_id_array":[{"photo_id":"1326933405","filename":"file2"},{"photo_id":"1326933396","filename":"file1"},{"photo_id":"1326933366","filename":"file0"},{"photo_id":"1326933592","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933405":["hashtag1","hashtag2"]},{"1326933592":["hashtag1","hashtag2"]},{"1326933396":["hashtag1","hashtag2"]},{"1326933366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933405, 1326933592, 1326933396, 1326933366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.015862226486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 04:59:02.884661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0003.jpg', '/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/57/image_06012025_04_57_02_252769_0003.jpg
/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933718","1326933714"],"photo_ids_order":["1326933714","1326933718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52b91ba76f88ef1cfd8a728cb995e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody357259193240107894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136008122,"filename":"image_06012025_04_58_02_784337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a24642ff7e2b45aaa6acde89a4135b55.jpg","text":"TemporaryFile(/tmp/multipartBody1986676896790896478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136008122,"filename":"image_06012025_04_57_02_252769_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326933718","file0":"1326933714"},"map_files_photo_id_array":[{"photo_id":"1326933718","filename":"file1"},{"photo_id":"1326933714","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933718":["hashtag1","hashtag2"]},{"1326933714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933718, 1326933714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.253156661987305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:00:02.409503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0001.jpg', '/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0000.jpg', '/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0001.jpg
/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0000.jpg
/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_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.128586769104004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:00:21.981100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0001.jpg', '/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0000.jpg', '/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0001.jpg', '/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0003.jpg', '/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0001.jpg', '/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/04/58/image_06012025_04_58_02_784337_0001.jpg
/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0000.jpg
/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0001.jpg
/home/pi/Desktop/images/06012025/04/59/image_06012025_04_59_02_496268_0003.jpg
/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0001.jpg
/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933779","1326933914","1326933883","1326933841","1326933891","1326933870"],"photo_ids_order":["1326933779","1326933841","1326933870","1326933883","1326933891","1326933914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4db483a6dda66923aa23f920c6e9ab21.jpg","text":"TemporaryFile(/tmp/multipartBody7664711521846379214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_04_58_02_784337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2529370bacf125a5d8ad9b2459198937.jpg","text":"TemporaryFile(/tmp/multipartBody8181107126234164962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_05_00_02_725824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7da671161e95b0a2b68a91648c44fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody8811304371012368211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_04_59_02_496268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/080c0d7d5a396c4e961ab4cf93b4f3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1435772801099305820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_04_59_02_496268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96c9372fdcd7574f40122ee8e1b1cac1.jpg","text":"TemporaryFile(/tmp/multipartBody2202204428012199875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_05_00_02_725824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da37bae6cce5cf088a760dad47aa6231.jpg","text":"TemporaryFile(/tmp/multipartBody5053601025455211466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136096236,"filename":"image_06012025_04_59_02_496268_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933870","file1":"1326933841","file0":"1326933779","file4":"1326933891","file5":"1326933914","file3":"1326933883"},"map_files_photo_id_array":[{"photo_id":"1326933914","filename":"file5"},{"photo_id":"1326933870","filename":"file2"},{"photo_id":"1326933891","filename":"file4"},{"photo_id":"1326933841","filename":"file1"},{"photo_id":"1326933779","filename":"file0"},{"photo_id":"1326933883","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933779":["hashtag1","hashtag2"]},{"1326933914":["hashtag1","hashtag2"]},{"1326933883":["hashtag1","hashtag2"]},{"1326933841":["hashtag1","hashtag2"]},{"1326933891":["hashtag1","hashtag2"]},{"1326933870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933779, 1326933914, 1326933883, 1326933841, 1326933891, 1326933870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53553342819214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:01:22.425297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0003.jpg', '/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0000.jpg', '/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/00/image_06012025_05_00_02_725824_0003.jpg
/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0000.jpg
/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933918","1326933920","1326933922"],"photo_ids_order":["1326933918","1326933920","1326933922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32aa09e3703ec115d67aac7f11926591.jpg","text":"TemporaryFile(/tmp/multipartBody3916981830833328028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136149869,"filename":"image_06012025_05_00_02_725824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c646ee4fe9eb8800e0aebfe7c939e67.jpg","text":"TemporaryFile(/tmp/multipartBody6523418128521902680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136149869,"filename":"image_06012025_05_01_02_310892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f460a1cbbd1192ca0e3a5008d4299ce.jpg","text":"TemporaryFile(/tmp/multipartBody2566335406836303617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136149869,"filename":"image_06012025_05_01_02_310892_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933922","file1":"1326933920","file0":"1326933918"},"map_files_photo_id_array":[{"photo_id":"1326933922","filename":"file2"},{"photo_id":"1326933920","filename":"file1"},{"photo_id":"1326933918","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933918":["hashtag1","hashtag2"]},{"1326933920":["hashtag1","hashtag2"]},{"1326933922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933918, 1326933920, 1326933922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.08606195449829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:02:02.384816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:02:21.996779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0002.jpg', '/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0000.jpg', '/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0001.jpg', '/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/01/image_06012025_05_01_02_310892_0002.jpg
/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0000.jpg
/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0001.jpg
/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933929","1326933931","1326933933","1326933927"],"photo_ids_order":["1326933927","1326933929","1326933931","1326933933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df0ebc86e580e0d88b1d97008ef99ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8216423476894648411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136211858,"filename":"image_06012025_05_02_02_851798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3543b478dbc75ddf6e26e5cbcd8694c.jpg","text":"TemporaryFile(/tmp/multipartBody530731369740782259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136211858,"filename":"image_06012025_05_02_02_851798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d280e5988cfc097404412e3b82552298.jpg","text":"TemporaryFile(/tmp/multipartBody6028863289023308158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136211858,"filename":"image_06012025_05_02_02_851798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6dfa796fb6c3be844e891a36fa45bbfc.jpg","text":"TemporaryFile(/tmp/multipartBody7318591642998725803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136211858,"filename":"image_06012025_05_01_02_310892_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933931","file1":"1326933929","file0":"1326933927","file3":"1326933933"},"map_files_photo_id_array":[{"photo_id":"1326933931","filename":"file2"},{"photo_id":"1326933929","filename":"file1"},{"photo_id":"1326933927","filename":"file0"},{"photo_id":"1326933933","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933929":["hashtag1","hashtag2"]},{"1326933931":["hashtag1","hashtag2"]},{"1326933933":["hashtag1","hashtag2"]},{"1326933927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933929, 1326933931, 1326933933, 1326933927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.334442138671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:03:03.268097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:03:22.465598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0003.jpg', '/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0001.jpg', '/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/02/image_06012025_05_02_02_851798_0003.jpg
/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0001.jpg
/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933944","1326933946","1326933948"],"photo_ids_order":["1326933944","1326933946","1326933948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/acde09b404cdcf7fdf92708f2fbb7e65.jpg","text":"TemporaryFile(/tmp/multipartBody161278124231265890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136269939,"filename":"image_06012025_05_02_02_851798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d13c482e7bac9121d9b08c6b28dbd4fd.jpg","text":"TemporaryFile(/tmp/multipartBody3456221622139327805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136269939,"filename":"image_06012025_05_03_02_379407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45dda0fc2b07b80d6090b36812d806f5.jpg","text":"TemporaryFile(/tmp/multipartBody3065768461128196029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136269939,"filename":"image_06012025_05_03_02_379407_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933948","file1":"1326933946","file0":"1326933944"},"map_files_photo_id_array":[{"photo_id":"1326933948","filename":"file2"},{"photo_id":"1326933946","filename":"file1"},{"photo_id":"1326933944","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933944":["hashtag1","hashtag2"]},{"1326933946":["hashtag1","hashtag2"]},{"1326933948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933944, 1326933946, 1326933948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.695025205612183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:04:02.614926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:04:22.276192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0003.jpg', '/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0001.jpg', '/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/03/image_06012025_05_03_02_379407_0003.jpg
/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0001.jpg
/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326933953","1326933956","1326933955"],"photo_ids_order":["1326933953","1326933955","1326933956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1b92ce4f346999ddfc96899449720bb.jpg","text":"TemporaryFile(/tmp/multipartBody2306493794122178064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136329827,"filename":"image_06012025_05_03_02_379407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c65bc23a2bb1f0fa70a89f9ea959f327.jpg","text":"TemporaryFile(/tmp/multipartBody2117903914080064477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136329827,"filename":"image_06012025_05_04_02_946561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28e9971054e3a7d3b4f77b872ca1f98b.jpg","text":"TemporaryFile(/tmp/multipartBody2288184394098187072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136329827,"filename":"image_06012025_05_04_02_946561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326933956","file1":"1326933955","file0":"1326933953"},"map_files_photo_id_array":[{"photo_id":"1326933956","filename":"file2"},{"photo_id":"1326933955","filename":"file1"},{"photo_id":"1326933953","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326933953":["hashtag1","hashtag2"]},{"1326933956":["hashtag1","hashtag2"]},{"1326933955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326933953, 1326933956, 1326933955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.41821002960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:05:02.604246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:05:21.808971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0003.jpg', '/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0000.jpg', '/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/04/image_06012025_05_04_02_946561_0003.jpg
/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0000.jpg
/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934069","1326934068","1326934071"],"photo_ids_order":["1326934068","1326934069","1326934071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a75b0991482d0dd85471f2b699b1be09.jpg","text":"TemporaryFile(/tmp/multipartBody7895766830636239857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136389256,"filename":"image_06012025_05_05_02_682741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36b3a724e727269673a3040520a94681.jpg","text":"TemporaryFile(/tmp/multipartBody2906898719218397029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136389256,"filename":"image_06012025_05_04_02_946561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e790f065a03df45ed0fa1446c6803ad.jpg","text":"TemporaryFile(/tmp/multipartBody7320669093692898601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136389256,"filename":"image_06012025_05_05_02_682741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934071","file1":"1326934069","file0":"1326934068"},"map_files_photo_id_array":[{"photo_id":"1326934071","filename":"file2"},{"photo_id":"1326934069","filename":"file1"},{"photo_id":"1326934068","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934069":["hashtag1","hashtag2"]},{"1326934068":["hashtag1","hashtag2"]},{"1326934071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934069, 1326934068, 1326934071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.388357162475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:06:02.852690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:06:22.470376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0003.jpg', '/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0000.jpg', '/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/05/image_06012025_05_05_02_682741_0003.jpg
/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0000.jpg
/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934078","1326934080","1326934077"],"photo_ids_order":["1326934077","1326934078","1326934080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9472f31577d810c866ab6875d4b3f7d4.jpg","text":"TemporaryFile(/tmp/multipartBody3441128732352308477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136449933,"filename":"image_06012025_05_06_02_214459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef2c3400f1f945d097544838576cde8d.jpg","text":"TemporaryFile(/tmp/multipartBody2930956973118838092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136449933,"filename":"image_06012025_05_06_02_214459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f8fb9c898df3c7ccf11b6328bc2f8f7.jpg","text":"TemporaryFile(/tmp/multipartBody3307036414884525826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136449933,"filename":"image_06012025_05_05_02_682741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934080","file1":"1326934078","file0":"1326934077"},"map_files_photo_id_array":[{"photo_id":"1326934080","filename":"file2"},{"photo_id":"1326934078","filename":"file1"},{"photo_id":"1326934077","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934078":["hashtag1","hashtag2"]},{"1326934080":["hashtag1","hashtag2"]},{"1326934077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934078, 1326934080, 1326934077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.80850577354431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:07:02.634544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:07:22.069861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0002.jpg', '/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0001.jpg', '/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/06/image_06012025_05_06_02_214459_0002.jpg
/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0001.jpg
/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934132","1326934135","1326934131"],"photo_ids_order":["1326934131","1326934132","1326934135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be7053be221c9e71815cd6c0147e0630.jpg","text":"TemporaryFile(/tmp/multipartBody5548306288798374668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136509534,"filename":"image_06012025_05_07_02_925963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85762b873774ea11d1f6ca67aaec73be.jpg","text":"TemporaryFile(/tmp/multipartBody3119718933815808371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136509534,"filename":"image_06012025_05_07_02_925963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd105b7de3e22762e63cfceeb754d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6503449283850586972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136509534,"filename":"image_06012025_05_06_02_214459_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934135","file1":"1326934132","file0":"1326934131"},"map_files_photo_id_array":[{"photo_id":"1326934135","filename":"file2"},{"photo_id":"1326934132","filename":"file1"},{"photo_id":"1326934131","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934132":["hashtag1","hashtag2"]},{"1326934135":["hashtag1","hashtag2"]},{"1326934131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934132, 1326934135, 1326934131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.73096561431885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:08:03.155056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:08:22.701239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0003.jpg', '/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0000.jpg', '/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0001.jpg', '/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/07/image_06012025_05_07_02_925963_0003.jpg
/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0000.jpg
/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0001.jpg
/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934142","1326934144","1326934146","1326934140"],"photo_ids_order":["1326934140","1326934142","1326934144","1326934146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/717edd60de95680a507712e213ae09dd.jpg","text":"TemporaryFile(/tmp/multipartBody7178117807498019772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136572478,"filename":"image_06012025_05_08_02_402901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07c41b1ff88ca682b73d2c710903f5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2399097302622978016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136572478,"filename":"image_06012025_05_08_02_402901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fffd0ed0b3a77fe0f71f962be4b33059.jpg","text":"TemporaryFile(/tmp/multipartBody497473713320510756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136572478,"filename":"image_06012025_05_08_02_402901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1c4875401cbe154b59d291851f8681f.jpg","text":"TemporaryFile(/tmp/multipartBody3028322889139928794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136572478,"filename":"image_06012025_05_07_02_925963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934144","file1":"1326934142","file0":"1326934140","file3":"1326934146"},"map_files_photo_id_array":[{"photo_id":"1326934144","filename":"file2"},{"photo_id":"1326934142","filename":"file1"},{"photo_id":"1326934140","filename":"file0"},{"photo_id":"1326934146","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934142":["hashtag1","hashtag2"]},{"1326934144":["hashtag1","hashtag2"]},{"1326934146":["hashtag1","hashtag2"]},{"1326934140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934142, 1326934144, 1326934146, 1326934140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.1663134098053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:09:02.917484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:09:22.214835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0003.jpg', '/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0000.jpg', '/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/08/image_06012025_05_08_02_402901_0003.jpg
/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0000.jpg
/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934175","1326934177","1326934167"],"photo_ids_order":["1326934167","1326934175","1326934177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df9cc0d2c38bb876d5d6fc76d82d155d.jpg","text":"TemporaryFile(/tmp/multipartBody7472491309467894772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136629714,"filename":"image_06012025_05_09_03_102475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3eadbc155e7067e25476efcb74cf0337.jpg","text":"TemporaryFile(/tmp/multipartBody10925970437443711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136629714,"filename":"image_06012025_05_09_03_102475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aaa361af52ff806ac048e34f7c8fcbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1893412371116098984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136629714,"filename":"image_06012025_05_08_02_402901_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934177","file1":"1326934175","file0":"1326934167"},"map_files_photo_id_array":[{"photo_id":"1326934177","filename":"file2"},{"photo_id":"1326934175","filename":"file1"},{"photo_id":"1326934167","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934175":["hashtag1","hashtag2"]},{"1326934177":["hashtag1","hashtag2"]},{"1326934167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934175, 1326934177, 1326934167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.090890884399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:10:02.650663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:10:22.264361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0003.jpg', '/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0000.jpg', '/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0001.jpg', '/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/09/image_06012025_05_09_03_102475_0003.jpg
/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0000.jpg
/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0001.jpg
/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934310","1326934304","1326934306","1326934308"],"photo_ids_order":["1326934304","1326934306","1326934308","1326934310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/038db33166fe7ab6fba733dc61ab09ed.jpg","text":"TemporaryFile(/tmp/multipartBody1831931102735312018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136692131,"filename":"image_06012025_05_10_02_654166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20c7de11f6aaa6921ee065949d1d1fed.jpg","text":"TemporaryFile(/tmp/multipartBody6367054614716538860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136692131,"filename":"image_06012025_05_09_03_102475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aba4a58b156a0a35586e5ed156f218f1.jpg","text":"TemporaryFile(/tmp/multipartBody1593279366483626573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136692131,"filename":"image_06012025_05_10_02_654166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/331d5cb4bf0a441f683a7749e87f4582.jpg","text":"TemporaryFile(/tmp/multipartBody5695525873859575127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136692131,"filename":"image_06012025_05_10_02_654166_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934308","file1":"1326934306","file0":"1326934304","file3":"1326934310"},"map_files_photo_id_array":[{"photo_id":"1326934308","filename":"file2"},{"photo_id":"1326934306","filename":"file1"},{"photo_id":"1326934304","filename":"file0"},{"photo_id":"1326934310","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934310":["hashtag1","hashtag2"]},{"1326934304":["hashtag1","hashtag2"]},{"1326934306":["hashtag1","hashtag2"]},{"1326934308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934310, 1326934304, 1326934306, 1326934308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79780673980713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:11:03.244994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:11:22.634210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0003.jpg', '/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0000.jpg', '/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0001.jpg', '/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/10/image_06012025_05_10_02_654166_0003.jpg
/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0000.jpg
/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0001.jpg
/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934319","1326934321","1326934315","1326934317"],"photo_ids_order":["1326934315","1326934317","1326934319","1326934321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e7f1306ab48744d315d2cbd10e8a808.jpg","text":"TemporaryFile(/tmp/multipartBody7832051611418502040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136752575,"filename":"image_06012025_05_11_02_522076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a344f916cd1e0a60e6ea164e108f186.jpg","text":"TemporaryFile(/tmp/multipartBody2283326751885779718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136752575,"filename":"image_06012025_05_11_02_522076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca5e18c8d0307a3662d16271686f37d7.jpg","text":"TemporaryFile(/tmp/multipartBody3874630445335834224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136752575,"filename":"image_06012025_05_10_02_654166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e73283491feb512aaddd827d08bf8fa.jpg","text":"TemporaryFile(/tmp/multipartBody2331097694321045958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136752575,"filename":"image_06012025_05_11_02_522076_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934319","file1":"1326934317","file0":"1326934315","file3":"1326934321"},"map_files_photo_id_array":[{"photo_id":"1326934319","filename":"file2"},{"photo_id":"1326934317","filename":"file1"},{"photo_id":"1326934315","filename":"file0"},{"photo_id":"1326934321","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934319":["hashtag1","hashtag2"]},{"1326934321":["hashtag1","hashtag2"]},{"1326934315":["hashtag1","hashtag2"]},{"1326934317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934319, 1326934321, 1326934315, 1326934317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37388467788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:12:22.347830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0003.jpg', '/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0000.jpg', '/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/11/image_06012025_05_11_02_522076_0003.jpg
/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0000.jpg
/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934325","1326934360","1326934336"],"photo_ids_order":["1326934325","1326934336","1326934360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec94a9572b6ca42acb16bea17c9feb27.jpg","text":"TemporaryFile(/tmp/multipartBody3612661055048498791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136809934,"filename":"image_06012025_05_11_02_522076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7fad4b73122987859e3bb9bee340679.jpg","text":"TemporaryFile(/tmp/multipartBody5867524159387712694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136809934,"filename":"image_06012025_05_12_03_085777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f53f5529b993843a57c6e5a6697774c2.jpg","text":"TemporaryFile(/tmp/multipartBody2967821457423535236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136809934,"filename":"image_06012025_05_12_03_085777_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934360","file1":"1326934336","file0":"1326934325"},"map_files_photo_id_array":[{"photo_id":"1326934360","filename":"file2"},{"photo_id":"1326934336","filename":"file1"},{"photo_id":"1326934325","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934325":["hashtag1","hashtag2"]},{"1326934360":["hashtag1","hashtag2"]},{"1326934336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934325, 1326934360, 1326934336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.30241870880127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:13:02.519381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:13:21.861593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0003.jpg', '/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0000.jpg', '/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/12/image_06012025_05_12_03_085777_0003.jpg
/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0000.jpg
/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934508","1326934505","1326934506"],"photo_ids_order":["1326934505","1326934506","1326934508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/056d1605999b7b9fdb6d896f4b4acf68.jpg","text":"TemporaryFile(/tmp/multipartBody8496950997638501944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136869629,"filename":"image_06012025_05_13_02_755071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72d82e0dc329ddbcc73c51a8eb65aae8.jpg","text":"TemporaryFile(/tmp/multipartBody6990789166897942512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136869629,"filename":"image_06012025_05_12_03_085777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a908c7f690dcf4056d7566f5c77398b.jpg","text":"TemporaryFile(/tmp/multipartBody5736794813468547806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136869629,"filename":"image_06012025_05_13_02_755071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934508","file1":"1326934506","file0":"1326934505"},"map_files_photo_id_array":[{"photo_id":"1326934508","filename":"file2"},{"photo_id":"1326934506","filename":"file1"},{"photo_id":"1326934505","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934508":["hashtag1","hashtag2"]},{"1326934505":["hashtag1","hashtag2"]},{"1326934506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934508, 1326934505, 1326934506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.309922695159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:14:03.008771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:14:22.601410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0003.jpg', '/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0000.jpg', '/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0001.jpg', '/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/13/image_06012025_05_13_02_755071_0003.jpg
/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0000.jpg
/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0001.jpg
/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934556","1326934566","1326934533","1326934568"],"photo_ids_order":["1326934533","1326934556","1326934566","1326934568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78cd630b7ae5bee0fb1d98fa41b6c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody9067795708424711115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136932663,"filename":"image_06012025_05_14_02_295869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5264855f4c10b3df532a8f53daa51aec.jpg","text":"TemporaryFile(/tmp/multipartBody5572251870419492456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136932663,"filename":"image_06012025_05_14_02_295869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd25db4123f11880c181e10880dcbedf.jpg","text":"TemporaryFile(/tmp/multipartBody2051202214944696944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136932663,"filename":"image_06012025_05_13_02_755071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/334ed504e99a57106708976ae39a3781.jpg","text":"TemporaryFile(/tmp/multipartBody4618207440742655524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136932663,"filename":"image_06012025_05_14_02_295869_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934566","file1":"1326934556","file0":"1326934533","file3":"1326934568"},"map_files_photo_id_array":[{"photo_id":"1326934566","filename":"file2"},{"photo_id":"1326934556","filename":"file1"},{"photo_id":"1326934533","filename":"file0"},{"photo_id":"1326934568","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934556":["hashtag1","hashtag2"]},{"1326934566":["hashtag1","hashtag2"]},{"1326934533":["hashtag1","hashtag2"]},{"1326934568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934556, 1326934566, 1326934533, 1326934568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.51246762275696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:15:22.122295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0003.jpg', '/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0001.jpg', '/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/14/image_06012025_05_14_02_295869_0003.jpg
/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0001.jpg
/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934652","1326934585","1326934671"],"photo_ids_order":["1326934585","1326934652","1326934671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00243948a6e468176332710946977838.jpg","text":"TemporaryFile(/tmp/multipartBody7460918523453815982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136989934,"filename":"image_06012025_05_15_02_976454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d34882b6dfc88f1712641ae63c731845.jpg","text":"TemporaryFile(/tmp/multipartBody6559520796862577440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136989934,"filename":"image_06012025_05_14_02_295869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/238ce63ece9ccca43d21835eb188854d.jpg","text":"TemporaryFile(/tmp/multipartBody5395196627327051313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736136989934,"filename":"image_06012025_05_15_02_976454_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934671","file1":"1326934652","file0":"1326934585"},"map_files_photo_id_array":[{"photo_id":"1326934671","filename":"file2"},{"photo_id":"1326934652","filename":"file1"},{"photo_id":"1326934585","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934652":["hashtag1","hashtag2"]},{"1326934585":["hashtag1","hashtag2"]},{"1326934671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934652, 1326934585, 1326934671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.208932399749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:16:03.117762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:16:22.661562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0003.jpg', '/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0000.jpg', '/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0001.jpg', '/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/15/image_06012025_05_15_02_976454_0003.jpg
/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0000.jpg
/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0001.jpg
/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934721","1326934715","1326934723","1326934717"],"photo_ids_order":["1326934715","1326934717","1326934721","1326934723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bdfa4141f2f31b876f60eebf3183f5b.jpg","text":"TemporaryFile(/tmp/multipartBody190795894864129168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137052751,"filename":"image_06012025_05_16_02_499385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81b3748c85ddc83684db2736ded1c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3947898040134413915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137052751,"filename":"image_06012025_05_15_02_976454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fc7245dca3b3eef8966878a2b69d89e.jpg","text":"TemporaryFile(/tmp/multipartBody7906376653769465279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137052751,"filename":"image_06012025_05_16_02_499385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01200870d648ba0a63fcea8331af7a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2010727593041065405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137052751,"filename":"image_06012025_05_16_02_499385_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934721","file1":"1326934717","file0":"1326934715","file3":"1326934723"},"map_files_photo_id_array":[{"photo_id":"1326934721","filename":"file2"},{"photo_id":"1326934717","filename":"file1"},{"photo_id":"1326934715","filename":"file0"},{"photo_id":"1326934723","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934721":["hashtag1","hashtag2"]},{"1326934715":["hashtag1","hashtag2"]},{"1326934723":["hashtag1","hashtag2"]},{"1326934717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934721, 1326934715, 1326934723, 1326934717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85246014595032 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-06 05:17:22.192473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0003.jpg', '/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0000.jpg', '/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0001.jpg', '/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/16/image_06012025_05_16_02_499385_0003.jpg
/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0000.jpg
/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0001.jpg
/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934727","1326934735","1326934729","1326934731"],"photo_ids_order":["1326934727","1326934729","1326934731","1326934735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a0a7318d8726b21bb08eb8ff723475d.jpg","text":"TemporaryFile(/tmp/multipartBody8560997259134054142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137112318,"filename":"image_06012025_05_16_02_499385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8b270eb5a903654e1cc1eaa73b68c26.jpg","text":"TemporaryFile(/tmp/multipartBody2488134878868801017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137112318,"filename":"image_06012025_05_17_03_050153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b73ba4191154ab63a8ccbc32043fd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody7247619857829168040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137112318,"filename":"image_06012025_05_17_03_050153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a519a414edbec23dba94cc9acb4e8463.jpg","text":"TemporaryFile(/tmp/multipartBody3575275335955707270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137112318,"filename":"image_06012025_05_17_03_050153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934731","file1":"1326934729","file0":"1326934727","file3":"1326934735"},"map_files_photo_id_array":[{"photo_id":"1326934731","filename":"file2"},{"photo_id":"1326934729","filename":"file1"},{"photo_id":"1326934727","filename":"file0"},{"photo_id":"1326934735","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934727":["hashtag1","hashtag2"]},{"1326934735":["hashtag1","hashtag2"]},{"1326934729":["hashtag1","hashtag2"]},{"1326934731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934727, 1326934735, 1326934729, 1326934731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71176242828369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:18:02.087436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:18:21.726338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0003.jpg', '/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0000.jpg', '/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0001.jpg', '/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/17/image_06012025_05_17_03_050153_0003.jpg
/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0000.jpg
/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0001.jpg
/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934742","1326934753","1326934744","1326934746"],"photo_ids_order":["1326934742","1326934744","1326934746","1326934753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f34d3a9fce9e87aca8ea4fd8a1c51c1.jpg","text":"TemporaryFile(/tmp/multipartBody2551397823799259030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137171852,"filename":"image_06012025_05_17_03_050153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0189bbdb35a1dfd589161d86dede9823.jpg","text":"TemporaryFile(/tmp/multipartBody3669295812546698963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137171852,"filename":"image_06012025_05_18_02_616417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e72fc62b090c18e35a3cb4e12fc51ec.jpg","text":"TemporaryFile(/tmp/multipartBody2050102485172766858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137171852,"filename":"image_06012025_05_18_02_616417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/816680778ce61984c577511f42d3973d.jpg","text":"TemporaryFile(/tmp/multipartBody2912926697698972308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137171852,"filename":"image_06012025_05_18_02_616417_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934746","file1":"1326934744","file0":"1326934742","file3":"1326934753"},"map_files_photo_id_array":[{"photo_id":"1326934746","filename":"file2"},{"photo_id":"1326934744","filename":"file1"},{"photo_id":"1326934742","filename":"file0"},{"photo_id":"1326934753","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934742":["hashtag1","hashtag2"]},{"1326934753":["hashtag1","hashtag2"]},{"1326934744":["hashtag1","hashtag2"]},{"1326934746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934742, 1326934753, 1326934744, 1326934746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68734788894653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:19:22.260066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0003.jpg', '/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0000.jpg', '/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0001.jpg', '/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/18/image_06012025_05_18_02_616417_0003.jpg
/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0000.jpg
/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0001.jpg
/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934789","1326934794","1326934785","1326934787"],"photo_ids_order":["1326934785","1326934787","1326934789","1326934794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/010cd56a1df494181f489e167f9df24d.jpg","text":"TemporaryFile(/tmp/multipartBody4695638000641323354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137232433,"filename":"image_06012025_05_19_02_127352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3de6ca8956c6d8d301041dedf0867c3.jpg","text":"TemporaryFile(/tmp/multipartBody5008819202658064481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137232433,"filename":"image_06012025_05_19_02_127352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d54d75e116b431f9210f47c761e9548.jpg","text":"TemporaryFile(/tmp/multipartBody4221571010550859703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137232433,"filename":"image_06012025_05_18_02_616417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39d1f5d4e51ed65dd55da57aac9d76a2.jpg","text":"TemporaryFile(/tmp/multipartBody3413887338128379994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137232433,"filename":"image_06012025_05_19_02_127352_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934789","file1":"1326934787","file0":"1326934785","file3":"1326934794"},"map_files_photo_id_array":[{"photo_id":"1326934789","filename":"file2"},{"photo_id":"1326934787","filename":"file1"},{"photo_id":"1326934785","filename":"file0"},{"photo_id":"1326934794","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934789":["hashtag1","hashtag2"]},{"1326934794":["hashtag1","hashtag2"]},{"1326934785":["hashtag1","hashtag2"]},{"1326934787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934789, 1326934794, 1326934785, 1326934787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.79303002357483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:20:02.294694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:20:21.767076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0003.jpg', '/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0000.jpg', '/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0001.jpg', '/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/19/image_06012025_05_19_02_127352_0003.jpg
/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0000.jpg
/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0001.jpg
/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934919","1326934872","1326934917","1326934821"],"photo_ids_order":["1326934821","1326934872","1326934917","1326934919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6b106914c14fafe0babd09849a9221c.jpg","text":"TemporaryFile(/tmp/multipartBody4428454698882764099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137292016,"filename":"image_06012025_05_20_02_661372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd27666f45a2a6968757e008ef414e40.jpg","text":"TemporaryFile(/tmp/multipartBody6693397039753372425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137292016,"filename":"image_06012025_05_20_02_661372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3c9d986367634ab456988b1d711e98e.jpg","text":"TemporaryFile(/tmp/multipartBody3222799677851194677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137292016,"filename":"image_06012025_05_20_02_661372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/223a726e42be040c9bf46b6328baf73f.jpg","text":"TemporaryFile(/tmp/multipartBody6292942692862429457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137292016,"filename":"image_06012025_05_19_02_127352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934917","file1":"1326934872","file0":"1326934821","file3":"1326934919"},"map_files_photo_id_array":[{"photo_id":"1326934917","filename":"file2"},{"photo_id":"1326934872","filename":"file1"},{"photo_id":"1326934821","filename":"file0"},{"photo_id":"1326934919","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934919":["hashtag1","hashtag2"]},{"1326934872":["hashtag1","hashtag2"]},{"1326934917":["hashtag1","hashtag2"]},{"1326934821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934919, 1326934872, 1326934917, 1326934821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.903948068618774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:21:22.413833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0003.jpg', '/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0000.jpg', '/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0001.jpg', '/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/20/image_06012025_05_20_02_661372_0003.jpg
/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0000.jpg
/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0001.jpg
/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934925","1326934935","1326934923","1326934929"],"photo_ids_order":["1326934923","1326934925","1326934929","1326934935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7149f63a0761cb86c482a2e3aef10401.jpg","text":"TemporaryFile(/tmp/multipartBody3164377242855303863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137352725,"filename":"image_06012025_05_21_02_280305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5dc96be603369764ce0e443c66d27274.jpg","text":"TemporaryFile(/tmp/multipartBody5972621329852537894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137352725,"filename":"image_06012025_05_21_02_280305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce8882d977be2806da042a8090f1c79f.jpg","text":"TemporaryFile(/tmp/multipartBody802657355388256100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137352725,"filename":"image_06012025_05_20_02_661372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21e8f7e4059ad0d542fd1af4d47e6274.jpg","text":"TemporaryFile(/tmp/multipartBody614653388174806505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137352725,"filename":"image_06012025_05_21_02_280305_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934929","file1":"1326934925","file0":"1326934923","file3":"1326934935"},"map_files_photo_id_array":[{"photo_id":"1326934929","filename":"file2"},{"photo_id":"1326934925","filename":"file1"},{"photo_id":"1326934923","filename":"file0"},{"photo_id":"1326934935","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934925":["hashtag1","hashtag2"]},{"1326934935":["hashtag1","hashtag2"]},{"1326934923":["hashtag1","hashtag2"]},{"1326934929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934925, 1326934935, 1326934923, 1326934929)","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 --last_days 15 --only_old=0
2025-01-06 05:22:21.933604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0003.jpg', '/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0000.jpg', '/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0001.jpg', '/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/21/image_06012025_05_21_02_280305_0003.jpg
/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0000.jpg
/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0001.jpg
/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326934973","1326934975","1326934984","1326934982"],"photo_ids_order":["1326934973","1326934975","1326934982","1326934984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af50ba533d1a40af6aa23611eedaaddf.jpg","text":"TemporaryFile(/tmp/multipartBody6103620051916960035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137412150,"filename":"image_06012025_05_21_02_280305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30580424d4f1243bf39ebcc2bcd6d8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7444930551441999158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137412150,"filename":"image_06012025_05_22_02_800439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1481096832b84a9225ae26a7ee7cddcb.jpg","text":"TemporaryFile(/tmp/multipartBody8344596076505687766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137412150,"filename":"image_06012025_05_22_02_800439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2065d1cd3874c171820cdf7e5b993e32.jpg","text":"TemporaryFile(/tmp/multipartBody3042338220723234933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137412150,"filename":"image_06012025_05_22_02_800439_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326934982","file1":"1326934975","file0":"1326934973","file3":"1326934984"},"map_files_photo_id_array":[{"photo_id":"1326934982","filename":"file2"},{"photo_id":"1326934975","filename":"file1"},{"photo_id":"1326934973","filename":"file0"},{"photo_id":"1326934984","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326934973":["hashtag1","hashtag2"]},{"1326934975":["hashtag1","hashtag2"]},{"1326934984":["hashtag1","hashtag2"]},{"1326934982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326934973, 1326934975, 1326934984, 1326934982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99235987663269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:23:03.222966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:23:22.497613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0003.jpg', '/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0000.jpg', '/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0001.jpg', '/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/22/image_06012025_05_22_02_800439_0003.jpg
/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0000.jpg
/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0001.jpg
/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935036","1326935021","1326935031","1326935025"],"photo_ids_order":["1326935021","1326935025","1326935031","1326935036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17ecfa0971147a7d99bc447da6932bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3772691113859023203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137472767,"filename":"image_06012025_05_23_02_380052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cbd19c3401e9023a286f0591eea38b3.jpg","text":"TemporaryFile(/tmp/multipartBody4573121981052361542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137472767,"filename":"image_06012025_05_22_02_800439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed805f2faffe164040413eb820ca2585.jpg","text":"TemporaryFile(/tmp/multipartBody420949325217536946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137472767,"filename":"image_06012025_05_23_02_380052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2759fe7f49d7309e6be20eae702dd040.jpg","text":"TemporaryFile(/tmp/multipartBody2155922417495190456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137472767,"filename":"image_06012025_05_23_02_380052_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935031","file1":"1326935025","file0":"1326935021","file3":"1326935036"},"map_files_photo_id_array":[{"photo_id":"1326935031","filename":"file2"},{"photo_id":"1326935025","filename":"file1"},{"photo_id":"1326935021","filename":"file0"},{"photo_id":"1326935036","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935036":["hashtag1","hashtag2"]},{"1326935021":["hashtag1","hashtag2"]},{"1326935031":["hashtag1","hashtag2"]},{"1326935025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935036, 1326935021, 1326935031, 1326935025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36081051826477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:24:22.260575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0003.jpg', '/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0000.jpg', '/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0001.jpg', '/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/23/image_06012025_05_23_02_380052_0003.jpg
/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0000.jpg
/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0001.jpg
/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935044","1326935041","1326935046","1326935054"],"photo_ids_order":["1326935041","1326935044","1326935046","1326935054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0740641573f296da4d3ca5d0f05a983d.jpg","text":"TemporaryFile(/tmp/multipartBody9098049649169232647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137532400,"filename":"image_06012025_05_24_02_921141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01a89971e13d252b098a47237f1b0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5211522538314013228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137532400,"filename":"image_06012025_05_23_02_380052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fa2aa9f0e40dd48b080b4393f959182.jpg","text":"TemporaryFile(/tmp/multipartBody3999554755095241913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137532400,"filename":"image_06012025_05_24_02_921141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/309de0dd5c4f9bdcef2cbaacc3648f41.jpg","text":"TemporaryFile(/tmp/multipartBody184261790012207535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137532400,"filename":"image_06012025_05_24_02_921141_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935046","file1":"1326935044","file0":"1326935041","file3":"1326935054"},"map_files_photo_id_array":[{"photo_id":"1326935046","filename":"file2"},{"photo_id":"1326935044","filename":"file1"},{"photo_id":"1326935041","filename":"file0"},{"photo_id":"1326935054","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935044":["hashtag1","hashtag2"]},{"1326935041":["hashtag1","hashtag2"]},{"1326935046":["hashtag1","hashtag2"]},{"1326935054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935044, 1326935041, 1326935046, 1326935054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35495901107788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:25:03.342099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:25:22.593652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0003.jpg', '/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0000.jpg', '/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0001.jpg', '/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/24/image_06012025_05_24_02_921141_0003.jpg
/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0000.jpg
/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0001.jpg
/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935092","1326935097","1326935094","1326935090"],"photo_ids_order":["1326935090","1326935092","1326935094","1326935097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4329da82d0ea9edc0f1d58c6e10a34d8.jpg","text":"TemporaryFile(/tmp/multipartBody2754546063580904027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137592829,"filename":"image_06012025_05_25_02_536758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5caad18f3209e86a41a1a2098ad21995.jpg","text":"TemporaryFile(/tmp/multipartBody9048994730519220696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137592829,"filename":"image_06012025_05_25_02_536758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e46d3ba321715bb88e1dcfc42268300b.jpg","text":"TemporaryFile(/tmp/multipartBody1222087761354868740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137592829,"filename":"image_06012025_05_25_02_536758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5add0eae1c33077064e7a174a9a81bab.jpg","text":"TemporaryFile(/tmp/multipartBody1318869913469844757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137592829,"filename":"image_06012025_05_24_02_921141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935094","file1":"1326935092","file0":"1326935090","file3":"1326935097"},"map_files_photo_id_array":[{"photo_id":"1326935094","filename":"file2"},{"photo_id":"1326935092","filename":"file1"},{"photo_id":"1326935090","filename":"file0"},{"photo_id":"1326935097","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935092":["hashtag1","hashtag2"]},{"1326935097":["hashtag1","hashtag2"]},{"1326935094":["hashtag1","hashtag2"]},{"1326935090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935092, 1326935097, 1326935094, 1326935090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.10164165496826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:26:22.332441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0003.jpg', '/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0000.jpg', '/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0001.jpg', '/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/25/image_06012025_05_25_02_536758_0003.jpg
/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0000.jpg
/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0001.jpg
/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935102","1326935104","1326935106","1326935100"],"photo_ids_order":["1326935100","1326935102","1326935104","1326935106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e37607cfc1cefd7b2c291cc67ee250f3.jpg","text":"TemporaryFile(/tmp/multipartBody1594254776433901237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137652623,"filename":"image_06012025_05_26_03_061926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/712ebc2a60cb13f4cd45df94dc6e0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3039625827581641316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137652623,"filename":"image_06012025_05_26_03_061926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ece01017e60333777880bcfe5dfada0.jpg","text":"TemporaryFile(/tmp/multipartBody2275352958283072902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137652623,"filename":"image_06012025_05_26_03_061926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c4c8e7de1cd575b749a1faeb9865bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6218296636277391749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137652623,"filename":"image_06012025_05_25_02_536758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935104","file1":"1326935102","file0":"1326935100","file3":"1326935106"},"map_files_photo_id_array":[{"photo_id":"1326935104","filename":"file2"},{"photo_id":"1326935102","filename":"file1"},{"photo_id":"1326935100","filename":"file0"},{"photo_id":"1326935106","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935102":["hashtag1","hashtag2"]},{"1326935104":["hashtag1","hashtag2"]},{"1326935106":["hashtag1","hashtag2"]},{"1326935100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935102, 1326935104, 1326935106, 1326935100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.799965620040894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:27:21.848093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0003.jpg', '/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0000.jpg', '/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0001.jpg', '/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/26/image_06012025_05_26_03_061926_0003.jpg
/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0000.jpg
/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0001.jpg
/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935141","1326935131","1326935133","1326935139"],"photo_ids_order":["1326935131","1326935133","1326935139","1326935141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b5f69f9775ef8544a1a9b08354b75d4.jpg","text":"TemporaryFile(/tmp/multipartBody8778607170889886301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137712066,"filename":"image_06012025_05_27_02_681600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f1996823098e7c7cb306c68b8880e4e.jpg","text":"TemporaryFile(/tmp/multipartBody1519297332163152494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137712066,"filename":"image_06012025_05_26_03_061926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/261753c80543cf1730aec50a7b1b016e.jpg","text":"TemporaryFile(/tmp/multipartBody2068675034866678227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137712066,"filename":"image_06012025_05_27_02_681600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/301f54cca52025b534082d87f02895a6.jpg","text":"TemporaryFile(/tmp/multipartBody1333687495848297606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137712066,"filename":"image_06012025_05_27_02_681600_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935139","file1":"1326935133","file0":"1326935131","file3":"1326935141"},"map_files_photo_id_array":[{"photo_id":"1326935139","filename":"file2"},{"photo_id":"1326935133","filename":"file1"},{"photo_id":"1326935131","filename":"file0"},{"photo_id":"1326935141","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935141":["hashtag1","hashtag2"]},{"1326935131":["hashtag1","hashtag2"]},{"1326935133":["hashtag1","hashtag2"]},{"1326935139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935141, 1326935131, 1326935133, 1326935139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.317145109176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:28:02.909161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:28:22.378913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0003.jpg', '/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0000.jpg', '/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0001.jpg', '/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/27/image_06012025_05_27_02_681600_0003.jpg
/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0000.jpg
/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0001.jpg
/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935188","1326935196","1326935190","1326935193"],"photo_ids_order":["1326935188","1326935190","1326935193","1326935196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aca51c3eb893c88e2bbbd1aca4a91dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7625415932321113439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137772607,"filename":"image_06012025_05_27_02_681600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9efabea4a92cd946cd23d2d8965f03fa.jpg","text":"TemporaryFile(/tmp/multipartBody7682601410759386579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137772607,"filename":"image_06012025_05_28_02_267768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2cf5d6a38644fac156024d0af71e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody1732440389529954740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137772607,"filename":"image_06012025_05_28_02_267768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d67e82a392d4aa7ec8bae79e61951c17.jpg","text":"TemporaryFile(/tmp/multipartBody2621342730677677823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137772607,"filename":"image_06012025_05_28_02_267768_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935193","file1":"1326935190","file0":"1326935188","file3":"1326935196"},"map_files_photo_id_array":[{"photo_id":"1326935193","filename":"file2"},{"photo_id":"1326935190","filename":"file1"},{"photo_id":"1326935188","filename":"file0"},{"photo_id":"1326935196","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935188":["hashtag1","hashtag2"]},{"1326935196":["hashtag1","hashtag2"]},{"1326935190":["hashtag1","hashtag2"]},{"1326935193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935188, 1326935196, 1326935190, 1326935193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91544556617737 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-06 05:29:21.860331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0003.jpg', '/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0000.jpg', '/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0001.jpg', '/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/28/image_06012025_05_28_02_267768_0003.jpg
/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0000.jpg
/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0001.jpg
/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935309","1326935302","1326935311","1326935304"],"photo_ids_order":["1326935302","1326935304","1326935309","1326935311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/108b28e4fe1ce5f5d3a5104f25794c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1703183384031140117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137832044,"filename":"image_06012025_05_29_02_729568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06bbf8a799212e7aada76d67830acbc1.jpg","text":"TemporaryFile(/tmp/multipartBody9004695209071313224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137832044,"filename":"image_06012025_05_28_02_267768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69f1be8feae791fb26b739db5439719a.jpg","text":"TemporaryFile(/tmp/multipartBody5142106472587265644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137832044,"filename":"image_06012025_05_29_02_729568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f3f7d41fc1bb8f1f46a1fa1764da33d.jpg","text":"TemporaryFile(/tmp/multipartBody7775409693151117625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137832044,"filename":"image_06012025_05_29_02_729568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935309","file1":"1326935304","file0":"1326935302","file3":"1326935311"},"map_files_photo_id_array":[{"photo_id":"1326935309","filename":"file2"},{"photo_id":"1326935304","filename":"file1"},{"photo_id":"1326935302","filename":"file0"},{"photo_id":"1326935311","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935309":["hashtag1","hashtag2"]},{"1326935302":["hashtag1","hashtag2"]},{"1326935311":["hashtag1","hashtag2"]},{"1326935304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935309, 1326935302, 1326935311, 1326935304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32809090614319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:30:22.403324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0003.jpg', '/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0000.jpg', '/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0001.jpg', '/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/29/image_06012025_05_29_02_729568_0003.jpg
/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0000.jpg
/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0001.jpg
/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935355","1326935462","1326935378","1326935351"],"photo_ids_order":["1326935351","1326935355","1326935378","1326935462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ad391222bb9d817cb219f03244d1831.jpg","text":"TemporaryFile(/tmp/multipartBody9017493379770559324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137892680,"filename":"image_06012025_05_30_02_229264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f9d322e46c5bfa96360e764c27d261a.jpg","text":"TemporaryFile(/tmp/multipartBody635757267521969261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137892680,"filename":"image_06012025_05_30_02_229264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0fedacd7a23706fa190e179a06b6ab9e.jpg","text":"TemporaryFile(/tmp/multipartBody8233395263284136255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137892680,"filename":"image_06012025_05_30_02_229264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5593c367e307b58c1a615f87747c37d.jpg","text":"TemporaryFile(/tmp/multipartBody7695135046208442762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137892680,"filename":"image_06012025_05_29_02_729568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935378","file1":"1326935355","file0":"1326935351","file3":"1326935462"},"map_files_photo_id_array":[{"photo_id":"1326935378","filename":"file2"},{"photo_id":"1326935355","filename":"file1"},{"photo_id":"1326935351","filename":"file0"},{"photo_id":"1326935462","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935355":["hashtag1","hashtag2"]},{"1326935462":["hashtag1","hashtag2"]},{"1326935378":["hashtag1","hashtag2"]},{"1326935351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935355, 1326935462, 1326935378, 1326935351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7397563457489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:31:02.610430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:31:21.909906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0003.jpg', '/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0000.jpg', '/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0001.jpg', '/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/30/image_06012025_05_30_02_229264_0003.jpg
/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0000.jpg
/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0001.jpg
/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935494","1326935488","1326935490","1326935492"],"photo_ids_order":["1326935488","1326935490","1326935492","1326935494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b9247a984104b7dabd59b30b06b409c.jpg","text":"TemporaryFile(/tmp/multipartBody8597712444298497248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137952185,"filename":"image_06012025_05_31_02_797669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac0913c679b4bda5654d802fe58741d4.jpg","text":"TemporaryFile(/tmp/multipartBody493432354473496812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137952185,"filename":"image_06012025_05_30_02_229264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/552fef530442e5c9b24fb666a7b09c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1859145912762993108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137952185,"filename":"image_06012025_05_31_02_797669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18eeec0780e1cd00e189b6cab1be1f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5975472077271852747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736137952185,"filename":"image_06012025_05_31_02_797669_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935492","file1":"1326935490","file0":"1326935488","file3":"1326935494"},"map_files_photo_id_array":[{"photo_id":"1326935492","filename":"file2"},{"photo_id":"1326935490","filename":"file1"},{"photo_id":"1326935488","filename":"file0"},{"photo_id":"1326935494","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935494":["hashtag1","hashtag2"]},{"1326935488":["hashtag1","hashtag2"]},{"1326935490":["hashtag1","hashtag2"]},{"1326935492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935494, 1326935488, 1326935490, 1326935492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47739052772522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:32:02.974699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:32:22.536782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0003.jpg', '/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0000.jpg', '/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0001.jpg', '/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/31/image_06012025_05_31_02_797669_0003.jpg
/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0000.jpg
/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0001.jpg
/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935504","1326935500","1326935506","1326935502"],"photo_ids_order":["1326935500","1326935502","1326935504","1326935506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3ec3bb35b40b292e2837bd553e84de6.jpg","text":"TemporaryFile(/tmp/multipartBody2558302343593767835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138012885,"filename":"image_06012025_05_32_02_292269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/13172a1645d1107abf0647aa8e6b2ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2098479432049513436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138012885,"filename":"image_06012025_05_31_02_797669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d0c1b95b017312bdd1bf6a666dbda7b.jpg","text":"TemporaryFile(/tmp/multipartBody832367457930521045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138012885,"filename":"image_06012025_05_32_02_292269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7a88e93c24895d95aace77ed266a38c.jpg","text":"TemporaryFile(/tmp/multipartBody641282601565902560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138012885,"filename":"image_06012025_05_32_02_292269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935504","file1":"1326935502","file0":"1326935500","file3":"1326935506"},"map_files_photo_id_array":[{"photo_id":"1326935504","filename":"file2"},{"photo_id":"1326935502","filename":"file1"},{"photo_id":"1326935500","filename":"file0"},{"photo_id":"1326935506","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935504":["hashtag1","hashtag2"]},{"1326935500":["hashtag1","hashtag2"]},{"1326935506":["hashtag1","hashtag2"]},{"1326935502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935504, 1326935500, 1326935506, 1326935502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.70544123649597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:33:22.064843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0003.jpg', '/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0000.jpg', '/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0001.jpg', '/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/32/image_06012025_05_32_02_292269_0003.jpg
/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0000.jpg
/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0001.jpg
/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935539","1326935527","1326935515","1326935529"],"photo_ids_order":["1326935515","1326935527","1326935529","1326935539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/225d4e05ba5e3b999e73d84e594d401f.jpg","text":"TemporaryFile(/tmp/multipartBody5804889157447008502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138072543,"filename":"image_06012025_05_33_02_921602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6739ac70bb61f71bdeb896f38b02832.jpg","text":"TemporaryFile(/tmp/multipartBody2530496051870421264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138072543,"filename":"image_06012025_05_33_02_921602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89cc8744b13507ac41e3822b7b2dcc68.jpg","text":"TemporaryFile(/tmp/multipartBody6486686315617785639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138072543,"filename":"image_06012025_05_32_02_292269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8f13300c5e4288388344036a04c1ced.jpg","text":"TemporaryFile(/tmp/multipartBody9026133549341622621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138072543,"filename":"image_06012025_05_33_02_921602_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935529","file1":"1326935527","file0":"1326935515","file3":"1326935539"},"map_files_photo_id_array":[{"photo_id":"1326935529","filename":"file2"},{"photo_id":"1326935527","filename":"file1"},{"photo_id":"1326935515","filename":"file0"},{"photo_id":"1326935539","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935539":["hashtag1","hashtag2"]},{"1326935527":["hashtag1","hashtag2"]},{"1326935515":["hashtag1","hashtag2"]},{"1326935529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935539, 1326935527, 1326935515, 1326935529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86077380180359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:34:03.099122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:34:22.611943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0003.jpg', '/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0000.jpg', '/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0001.jpg', '/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/33/image_06012025_05_33_02_921602_0003.jpg
/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0000.jpg
/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0001.jpg
/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935630","1326935632","1326935626","1326935628"],"photo_ids_order":["1326935626","1326935628","1326935630","1326935632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25092207446e7ff99b98639535d46926.jpg","text":"TemporaryFile(/tmp/multipartBody5889431461304395309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138132925,"filename":"image_06012025_05_34_02_485182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea609d071a4005d4f8a88c745967e240.jpg","text":"TemporaryFile(/tmp/multipartBody2354383410667573521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138132925,"filename":"image_06012025_05_34_02_485182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5a0b136ca6c951f2b9986b4abb73d84.jpg","text":"TemporaryFile(/tmp/multipartBody8498497772610166921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138132925,"filename":"image_06012025_05_33_02_921602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33ab3f7df3a9ce28b892c19a7312af0a.jpg","text":"TemporaryFile(/tmp/multipartBody9065173795694705446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138132925,"filename":"image_06012025_05_34_02_485182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935630","file1":"1326935628","file0":"1326935626","file3":"1326935632"},"map_files_photo_id_array":[{"photo_id":"1326935630","filename":"file2"},{"photo_id":"1326935628","filename":"file1"},{"photo_id":"1326935626","filename":"file0"},{"photo_id":"1326935632","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935630":["hashtag1","hashtag2"]},{"1326935632":["hashtag1","hashtag2"]},{"1326935626":["hashtag1","hashtag2"]},{"1326935628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935630, 1326935632, 1326935626, 1326935628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19733262062073 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-06 05:35:22.242096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0003.jpg', '/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0000.jpg', '/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0001.jpg', '/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/34/image_06012025_05_34_02_485182_0003.jpg
/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0000.jpg
/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0001.jpg
/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935645","1326935638","1326935641","1326935636"],"photo_ids_order":["1326935636","1326935638","1326935641","1326935645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6539d16cb7604bf68132ac0740b84f40.jpg","text":"TemporaryFile(/tmp/multipartBody8162414266519720701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138192693,"filename":"image_06012025_05_35_03_110790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4df153058cc0afe4423707746b9e70a8.jpg","text":"TemporaryFile(/tmp/multipartBody3809094011771529583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138192693,"filename":"image_06012025_05_35_03_110790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c0b4e99ef5ff820a23c84293e931219.jpg","text":"TemporaryFile(/tmp/multipartBody3644196221812122685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138192693,"filename":"image_06012025_05_35_03_110790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e222240b0f599b5b1d671006e631284.jpg","text":"TemporaryFile(/tmp/multipartBody8033491143229316431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138192693,"filename":"image_06012025_05_34_02_485182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935641","file1":"1326935638","file0":"1326935636","file3":"1326935645"},"map_files_photo_id_array":[{"photo_id":"1326935641","filename":"file2"},{"photo_id":"1326935638","filename":"file1"},{"photo_id":"1326935636","filename":"file0"},{"photo_id":"1326935645","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935645":["hashtag1","hashtag2"]},{"1326935638":["hashtag1","hashtag2"]},{"1326935641":["hashtag1","hashtag2"]},{"1326935636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935645, 1326935638, 1326935641, 1326935636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.53854274749756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:36:21.780651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0003.jpg', '/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0000.jpg', '/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0001.jpg', '/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/35/image_06012025_05_35_03_110790_0003.jpg
/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0000.jpg
/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0001.jpg
/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935655","1326935651","1326935660","1326935654"],"photo_ids_order":["1326935651","1326935654","1326935655","1326935660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f867587642e1b733b5fc1f46d8d51f8.jpg","text":"TemporaryFile(/tmp/multipartBody7774396867336589271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138252073,"filename":"image_06012025_05_36_02_627835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/388f7887f8a5661bd8f3b2cde471c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6670264125871116431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138252073,"filename":"image_06012025_05_35_03_110790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38486683c56e516a9b9d363bc423c6f7.jpg","text":"TemporaryFile(/tmp/multipartBody5612605165667067759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138252073,"filename":"image_06012025_05_36_02_627835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e5ce72e5939680b21ab773ddd48fdc8.jpg","text":"TemporaryFile(/tmp/multipartBody8254386224385279725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138252073,"filename":"image_06012025_05_36_02_627835_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935655","file1":"1326935654","file0":"1326935651","file3":"1326935660"},"map_files_photo_id_array":[{"photo_id":"1326935655","filename":"file2"},{"photo_id":"1326935654","filename":"file1"},{"photo_id":"1326935651","filename":"file0"},{"photo_id":"1326935660","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935655":["hashtag1","hashtag2"]},{"1326935651":["hashtag1","hashtag2"]},{"1326935660":["hashtag1","hashtag2"]},{"1326935654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935655, 1326935651, 1326935660, 1326935654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.92710995674133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:37:22.344623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0003.jpg', '/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0000.jpg', '/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0001.jpg', '/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/36/image_06012025_05_36_02_627835_0003.jpg
/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0000.jpg
/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0001.jpg
/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935702","1326935698","1326935696","1326935700"],"photo_ids_order":["1326935696","1326935698","1326935700","1326935702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ffdfc282f9fd4b3acb663ab8f362ca92.jpg","text":"TemporaryFile(/tmp/multipartBody6248239109044834339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138312625,"filename":"image_06012025_05_37_02_205289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/420135556322a0dc736881aa8c0e60ab.jpg","text":"TemporaryFile(/tmp/multipartBody3963150447674982622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138312625,"filename":"image_06012025_05_37_02_205289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8eaf1b9a5bb4a9561d67264e0d10819f.jpg","text":"TemporaryFile(/tmp/multipartBody8531283402892057769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138312625,"filename":"image_06012025_05_36_02_627835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3df58559dcf172f0cb3aeecfc9fb238.jpg","text":"TemporaryFile(/tmp/multipartBody3183384687266440318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138312625,"filename":"image_06012025_05_37_02_205289_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935700","file1":"1326935698","file0":"1326935696","file3":"1326935702"},"map_files_photo_id_array":[{"photo_id":"1326935700","filename":"file2"},{"photo_id":"1326935698","filename":"file1"},{"photo_id":"1326935696","filename":"file0"},{"photo_id":"1326935702","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935702":["hashtag1","hashtag2"]},{"1326935698":["hashtag1","hashtag2"]},{"1326935696":["hashtag1","hashtag2"]},{"1326935700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935702, 1326935698, 1326935696, 1326935700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57825708389282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:38:02.146762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:38:21.804111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0003.jpg', '/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0000.jpg', '/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0001.jpg', '/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/37/image_06012025_05_37_02_205289_0003.jpg
/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0000.jpg
/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0001.jpg
/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935711","1326935708","1326935713","1326935706"],"photo_ids_order":["1326935706","1326935708","1326935711","1326935713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab8bf790af8ce75c83157821e99d55f3.jpg","text":"TemporaryFile(/tmp/multipartBody5498580794024178169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138372096,"filename":"image_06012025_05_38_02_733528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36a51902f477c720d9587c1e84b672f3.jpg","text":"TemporaryFile(/tmp/multipartBody7367132551866155521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138372096,"filename":"image_06012025_05_38_02_733528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/974f24b22bc408e5bff93a568fd30698.jpg","text":"TemporaryFile(/tmp/multipartBody2973795357473159701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138372096,"filename":"image_06012025_05_38_02_733528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0f743f51e15e332898aa80958a821f6.jpg","text":"TemporaryFile(/tmp/multipartBody459945709152016355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138372096,"filename":"image_06012025_05_37_02_205289_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935711","file1":"1326935708","file0":"1326935706","file3":"1326935713"},"map_files_photo_id_array":[{"photo_id":"1326935711","filename":"file2"},{"photo_id":"1326935708","filename":"file1"},{"photo_id":"1326935706","filename":"file0"},{"photo_id":"1326935713","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935711":["hashtag1","hashtag2"]},{"1326935708":["hashtag1","hashtag2"]},{"1326935713":["hashtag1","hashtag2"]},{"1326935706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935711, 1326935708, 1326935713, 1326935706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16252684593201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:39:03.047497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:39:22.415208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0003.jpg', '/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0000.jpg', '/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0001.jpg', '/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/38/image_06012025_05_38_02_733528_0003.jpg
/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0000.jpg
/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0001.jpg
/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935744","1326935721","1326935739","1326935753"],"photo_ids_order":["1326935721","1326935739","1326935744","1326935753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77fe2469324e1acc2d9eb5bcafd39658.jpg","text":"TemporaryFile(/tmp/multipartBody3535406567646905344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138432598,"filename":"image_06012025_05_39_02_263342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5cfc8d041b58a79e320d554851839214.jpg","text":"TemporaryFile(/tmp/multipartBody4354682364934462336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138432598,"filename":"image_06012025_05_38_02_733528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/281da82ad383d0761902721715bd1ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3477211852177041170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138432598,"filename":"image_06012025_05_39_02_263342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34d0d95ab159eb14841312e9e64cc90a.jpg","text":"TemporaryFile(/tmp/multipartBody7533140680590931178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138432598,"filename":"image_06012025_05_39_02_263342_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935744","file1":"1326935739","file0":"1326935721","file3":"1326935753"},"map_files_photo_id_array":[{"photo_id":"1326935744","filename":"file2"},{"photo_id":"1326935739","filename":"file1"},{"photo_id":"1326935721","filename":"file0"},{"photo_id":"1326935753","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935744":["hashtag1","hashtag2"]},{"1326935721":["hashtag1","hashtag2"]},{"1326935739":["hashtag1","hashtag2"]},{"1326935753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935744, 1326935721, 1326935739, 1326935753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26541042327881 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-06 05:40:22.162714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0003.jpg', '/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0000.jpg', '/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0001.jpg', '/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/39/image_06012025_05_39_02_263342_0003.jpg
/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0000.jpg
/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0001.jpg
/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935863","1326935865","1326935861","1326935867"],"photo_ids_order":["1326935861","1326935863","1326935865","1326935867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e178fcec013d5b137868d466ecf0a522.jpg","text":"TemporaryFile(/tmp/multipartBody4909225660402767989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138492456,"filename":"image_06012025_05_40_02_862197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77f19fea2b0cd5c8e50252bf303a24ee.jpg","text":"TemporaryFile(/tmp/multipartBody2681849315965741584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138492456,"filename":"image_06012025_05_40_02_862197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b23b7fd13a014a06742deb58f5e5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1598563526748017502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138492456,"filename":"image_06012025_05_39_02_263342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/152fc58a79357353efc7dac17d5b26e4.jpg","text":"TemporaryFile(/tmp/multipartBody7226216485648156425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138492456,"filename":"image_06012025_05_40_02_862197_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935865","file1":"1326935863","file0":"1326935861","file3":"1326935867"},"map_files_photo_id_array":[{"photo_id":"1326935865","filename":"file2"},{"photo_id":"1326935863","filename":"file1"},{"photo_id":"1326935861","filename":"file0"},{"photo_id":"1326935867","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935863":["hashtag1","hashtag2"]},{"1326935865":["hashtag1","hashtag2"]},{"1326935861":["hashtag1","hashtag2"]},{"1326935867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935863, 1326935865, 1326935861, 1326935867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99645400047302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:41:22.660441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0003.jpg', '/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0000.jpg', '/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0001.jpg', '/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/40/image_06012025_05_40_02_862197_0003.jpg
/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0000.jpg
/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0001.jpg
/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935875","1326935877","1326935871","1326935873"],"photo_ids_order":["1326935871","1326935873","1326935875","1326935877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f26db8dff8cd50f27476057e2bdde04d.jpg","text":"TemporaryFile(/tmp/multipartBody5033693504880711517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138552705,"filename":"image_06012025_05_41_02_517543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/143d0ccce10770e7bb03cfa22ea1ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody4729311495492745193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138552705,"filename":"image_06012025_05_41_02_517543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b04ed5a7197996e32ed3d226830709fc.jpg","text":"TemporaryFile(/tmp/multipartBody2417357677131860893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138552705,"filename":"image_06012025_05_40_02_862197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/248002cad0ec38aaa5c1aa9f55c188f9.jpg","text":"TemporaryFile(/tmp/multipartBody5726419284805100557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138552705,"filename":"image_06012025_05_41_02_517543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935875","file1":"1326935873","file0":"1326935871","file3":"1326935877"},"map_files_photo_id_array":[{"photo_id":"1326935875","filename":"file2"},{"photo_id":"1326935873","filename":"file1"},{"photo_id":"1326935871","filename":"file0"},{"photo_id":"1326935877","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935875":["hashtag1","hashtag2"]},{"1326935877":["hashtag1","hashtag2"]},{"1326935871":["hashtag1","hashtag2"]},{"1326935873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935875, 1326935877, 1326935871, 1326935873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43373680114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:42:02.682494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:42:22.284221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0003.jpg', '/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0000.jpg', '/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0001.jpg', '/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/41/image_06012025_05_41_02_517543_0003.jpg
/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0000.jpg
/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0001.jpg
/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935881","1326935883","1326935886","1326935889"],"photo_ids_order":["1326935881","1326935883","1326935886","1326935889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4d80620eb879478e94843fecb8fee00.jpg","text":"TemporaryFile(/tmp/multipartBody5811323632241783856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138612439,"filename":"image_06012025_05_41_02_517543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/494bff0ac8a18e20f4f1e4c7e472a81f.jpg","text":"TemporaryFile(/tmp/multipartBody8690539632661327498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138612439,"filename":"image_06012025_05_42_03_159424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d43f9a1f70578eeaf9dc6516a75f2d89.jpg","text":"TemporaryFile(/tmp/multipartBody490079331761559810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138612439,"filename":"image_06012025_05_42_03_159424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4df835cc5dde792f2841e9d0f5f34c5.jpg","text":"TemporaryFile(/tmp/multipartBody5348511028127101688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138612439,"filename":"image_06012025_05_42_03_159424_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935886","file1":"1326935883","file0":"1326935881","file3":"1326935889"},"map_files_photo_id_array":[{"photo_id":"1326935886","filename":"file2"},{"photo_id":"1326935883","filename":"file1"},{"photo_id":"1326935881","filename":"file0"},{"photo_id":"1326935889","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935881":["hashtag1","hashtag2"]},{"1326935883":["hashtag1","hashtag2"]},{"1326935886":["hashtag1","hashtag2"]},{"1326935889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935881, 1326935883, 1326935886, 1326935889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.897329568862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:43:02.655701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:43:21.911123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0003.jpg', '/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0000.jpg', '/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0001.jpg', '/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/42/image_06012025_05_42_03_159424_0003.jpg
/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0000.jpg
/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0001.jpg
/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935936","1326935938","1326935940","1326935942"],"photo_ids_order":["1326935936","1326935938","1326935940","1326935942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02b557c971e288e889fed65390d8905f.jpg","text":"TemporaryFile(/tmp/multipartBody3734529008902867161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138672067,"filename":"image_06012025_05_42_03_159424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ed6f5782bad7d30a8ddc5a753efde45.jpg","text":"TemporaryFile(/tmp/multipartBody1102841751536588267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138672067,"filename":"image_06012025_05_43_02_780582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a807cb8656ed95ce3f6e8b9b47b1336.jpg","text":"TemporaryFile(/tmp/multipartBody7793246492515647561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138672067,"filename":"image_06012025_05_43_02_780582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/574f0525ac1379cf139fa9be8fb34ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2519937951079936706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138672067,"filename":"image_06012025_05_43_02_780582_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935940","file1":"1326935938","file0":"1326935936","file3":"1326935942"},"map_files_photo_id_array":[{"photo_id":"1326935940","filename":"file2"},{"photo_id":"1326935938","filename":"file1"},{"photo_id":"1326935936","filename":"file0"},{"photo_id":"1326935942","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935936":["hashtag1","hashtag2"]},{"1326935938":["hashtag1","hashtag2"]},{"1326935940":["hashtag1","hashtag2"]},{"1326935942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935936, 1326935938, 1326935940, 1326935942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.61649560928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:44:03.054695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:44:22.643806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0003.jpg', '/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0000.jpg', '/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0001.jpg', '/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/43/image_06012025_05_43_02_780582_0003.jpg
/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0000.jpg
/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0001.jpg
/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326935989","1326935982","1326935985","1326935987"],"photo_ids_order":["1326935982","1326935985","1326935987","1326935989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe5dc1f21de055d01546c75b143d895f.jpg","text":"TemporaryFile(/tmp/multipartBody2192519302754610159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138732794,"filename":"image_06012025_05_44_02_437111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf656861bdbe6c2e9963eb11dd66628c.jpg","text":"TemporaryFile(/tmp/multipartBody3215182902013730151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138732794,"filename":"image_06012025_05_43_02_780582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3b03d0bd151cd925584e4d66dcaad30.jpg","text":"TemporaryFile(/tmp/multipartBody1039574545305464964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138732794,"filename":"image_06012025_05_44_02_437111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67054d8fa7410997fec44a86444faad9.jpg","text":"TemporaryFile(/tmp/multipartBody62302110678775444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138732794,"filename":"image_06012025_05_44_02_437111_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326935987","file1":"1326935985","file0":"1326935982","file3":"1326935989"},"map_files_photo_id_array":[{"photo_id":"1326935987","filename":"file2"},{"photo_id":"1326935985","filename":"file1"},{"photo_id":"1326935982","filename":"file0"},{"photo_id":"1326935989","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326935989":["hashtag1","hashtag2"]},{"1326935982":["hashtag1","hashtag2"]},{"1326935985":["hashtag1","hashtag2"]},{"1326935987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326935989, 1326935982, 1326935985, 1326935987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.624950647354126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:45:22.255818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0003.jpg', '/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0000.jpg', '/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0001.jpg', '/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/44/image_06012025_05_44_02_437111_0003.jpg
/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0000.jpg
/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0001.jpg
/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936125","1326936097","1326936101","1326936085"],"photo_ids_order":["1326936085","1326936097","1326936101","1326936125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef6bf13b383a377736ac621e8c94ebde.jpg","text":"TemporaryFile(/tmp/multipartBody7281552626227660693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138792377,"filename":"image_06012025_05_45_03_143691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc5ed193293935711c34819ee888b3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8500452648483524181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138792377,"filename":"image_06012025_05_45_03_143691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/607d6bbd46aed15e001ad71049138098.jpg","text":"TemporaryFile(/tmp/multipartBody6141909221643754331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138792377,"filename":"image_06012025_05_45_03_143691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d73b93cefaa794a80bd6812a210efbf.jpg","text":"TemporaryFile(/tmp/multipartBody6227256442430801221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138792377,"filename":"image_06012025_05_44_02_437111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936101","file1":"1326936097","file0":"1326936085","file3":"1326936125"},"map_files_photo_id_array":[{"photo_id":"1326936101","filename":"file2"},{"photo_id":"1326936097","filename":"file1"},{"photo_id":"1326936085","filename":"file0"},{"photo_id":"1326936125","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936125":["hashtag1","hashtag2"]},{"1326936097":["hashtag1","hashtag2"]},{"1326936101":["hashtag1","hashtag2"]},{"1326936085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936125, 1326936097, 1326936101, 1326936085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45733451843262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:46:21.835052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0003.jpg', '/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0000.jpg', '/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0001.jpg', '/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/45/image_06012025_05_45_03_143691_0003.jpg
/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0000.jpg
/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0001.jpg
/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936145","1326936141","1326936135","1326936149"],"photo_ids_order":["1326936135","1326936141","1326936145","1326936149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc3170b844c79fc58c441995f0700d43.jpg","text":"TemporaryFile(/tmp/multipartBody9004651752560622683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138852111,"filename":"image_06012025_05_46_02_649969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf00868834500601b0e28c3bac4e6ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2392363128060256462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138852111,"filename":"image_06012025_05_46_02_649969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0767921478b95d8d8c1e16a0c468fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody3603087941101345196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138852111,"filename":"image_06012025_05_45_03_143691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/182ae542ba5a0d1151fbbe3582c57de2.jpg","text":"TemporaryFile(/tmp/multipartBody5381607303993461658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138852111,"filename":"image_06012025_05_46_02_649969_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936145","file1":"1326936141","file0":"1326936135","file3":"1326936149"},"map_files_photo_id_array":[{"photo_id":"1326936145","filename":"file2"},{"photo_id":"1326936141","filename":"file1"},{"photo_id":"1326936135","filename":"file0"},{"photo_id":"1326936149","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936145":["hashtag1","hashtag2"]},{"1326936141":["hashtag1","hashtag2"]},{"1326936135":["hashtag1","hashtag2"]},{"1326936149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936145, 1326936141, 1326936135, 1326936149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35087060928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:47:02.949718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:47:22.250422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0003.jpg', '/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0000.jpg', '/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0001.jpg', '/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/46/image_06012025_05_46_02_649969_0003.jpg
/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0000.jpg
/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0001.jpg
/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936166","1326936161","1326936170","1326936164"],"photo_ids_order":["1326936161","1326936164","1326936166","1326936170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/509f5fc15105a16dd637e37875462155.jpg","text":"TemporaryFile(/tmp/multipartBody4868057971165820720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138912459,"filename":"image_06012025_05_47_02_190867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef5e295e6022aa0e38c4135a74ecfd10.jpg","text":"TemporaryFile(/tmp/multipartBody8477586871318742735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138912459,"filename":"image_06012025_05_46_02_649969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78835cf53da50bdee5123862cc817815.jpg","text":"TemporaryFile(/tmp/multipartBody1085338874219629627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138912459,"filename":"image_06012025_05_47_02_190867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/442e4fbf738a78ae71eb5a3eb7bf7756.jpg","text":"TemporaryFile(/tmp/multipartBody3468679194599162634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138912459,"filename":"image_06012025_05_47_02_190867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936166","file1":"1326936164","file0":"1326936161","file3":"1326936170"},"map_files_photo_id_array":[{"photo_id":"1326936166","filename":"file2"},{"photo_id":"1326936164","filename":"file1"},{"photo_id":"1326936161","filename":"file0"},{"photo_id":"1326936170","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936166":["hashtag1","hashtag2"]},{"1326936161":["hashtag1","hashtag2"]},{"1326936170":["hashtag1","hashtag2"]},{"1326936164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936166, 1326936161, 1326936170, 1326936164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.45580244064331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:48:21.964924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0003.jpg', '/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0000.jpg', '/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0001.jpg', '/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/47/image_06012025_05_47_02_190867_0003.jpg
/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0000.jpg
/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0001.jpg
/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936189","1326936180","1326936182","1326936184"],"photo_ids_order":["1326936180","1326936182","1326936184","1326936189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/321bcab0960632f672172c9720105889.jpg","text":"TemporaryFile(/tmp/multipartBody4537275055424234089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138972361,"filename":"image_06012025_05_48_02_718244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08ecbfae7724518ca1da1d082f0eaecd.jpg","text":"TemporaryFile(/tmp/multipartBody1794191986092677789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138972361,"filename":"image_06012025_05_47_02_190867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfc447a5cbe4c281ee60b829f0636285.jpg","text":"TemporaryFile(/tmp/multipartBody2785532926836950100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138972361,"filename":"image_06012025_05_48_02_718244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5397f3608f1dcb9e05312141a29f508c.jpg","text":"TemporaryFile(/tmp/multipartBody2721494980609824876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736138972361,"filename":"image_06012025_05_48_02_718244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936184","file1":"1326936182","file0":"1326936180","file3":"1326936189"},"map_files_photo_id_array":[{"photo_id":"1326936184","filename":"file2"},{"photo_id":"1326936182","filename":"file1"},{"photo_id":"1326936180","filename":"file0"},{"photo_id":"1326936189","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936189":["hashtag1","hashtag2"]},{"1326936180":["hashtag1","hashtag2"]},{"1326936182":["hashtag1","hashtag2"]},{"1326936184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936189, 1326936180, 1326936182, 1326936184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.75237059593201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:49:03.053267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:49:22.534325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0003.jpg', '/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0000.jpg', '/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0001.jpg', '/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/48/image_06012025_05_48_02_718244_0003.jpg
/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0000.jpg
/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0001.jpg
/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936213","1326936242","1326936224","1326936215"],"photo_ids_order":["1326936213","1326936215","1326936224","1326936242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a573fcb71b9b176020cefccbf5840299.jpg","text":"TemporaryFile(/tmp/multipartBody278650168177951280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139032749,"filename":"image_06012025_05_48_02_718244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07c717e0d23e7a1b3a9e67942c52c8a4.jpg","text":"TemporaryFile(/tmp/multipartBody1560326801777435521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139032749,"filename":"image_06012025_05_49_02_317187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e26781c9106632f506960020221fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody3728037160216128177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139032749,"filename":"image_06012025_05_49_02_317187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d70f7dbc37c1b22aa14e2dde99c5321.jpg","text":"TemporaryFile(/tmp/multipartBody6710548073862216706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139032749,"filename":"image_06012025_05_49_02_317187_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936224","file1":"1326936215","file0":"1326936213","file3":"1326936242"},"map_files_photo_id_array":[{"photo_id":"1326936224","filename":"file2"},{"photo_id":"1326936215","filename":"file1"},{"photo_id":"1326936213","filename":"file0"},{"photo_id":"1326936242","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936213":["hashtag1","hashtag2"]},{"1326936242":["hashtag1","hashtag2"]},{"1326936224":["hashtag1","hashtag2"]},{"1326936215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936213, 1326936242, 1326936224, 1326936215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64303231239319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:50:22.161773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0003.jpg', '/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0000.jpg', '/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0001.jpg', '/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/49/image_06012025_05_49_02_317187_0003.jpg
/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0000.jpg
/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0001.jpg
/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936352","1326936282","1326936329","1326936350"],"photo_ids_order":["1326936282","1326936329","1326936350","1326936352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72993a0c43c5c3073c38f04e36c7df1c.jpg","text":"TemporaryFile(/tmp/multipartBody6191184783309488053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139092346,"filename":"image_06012025_05_50_02_854411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/642b847ddc5b8280cfdc0bdde2aaf2e9.jpg","text":"TemporaryFile(/tmp/multipartBody4717091659121210200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139092346,"filename":"image_06012025_05_49_02_317187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba1fca795310b599f4afc95a8c4c17dd.jpg","text":"TemporaryFile(/tmp/multipartBody4926650935781468779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139092346,"filename":"image_06012025_05_50_02_854411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e7d1508c5de3aaa348901bfc8a66647.jpg","text":"TemporaryFile(/tmp/multipartBody3652280681877896192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139092346,"filename":"image_06012025_05_50_02_854411_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936350","file1":"1326936329","file0":"1326936282","file3":"1326936352"},"map_files_photo_id_array":[{"photo_id":"1326936350","filename":"file2"},{"photo_id":"1326936329","filename":"file1"},{"photo_id":"1326936282","filename":"file0"},{"photo_id":"1326936352","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936352":["hashtag1","hashtag2"]},{"1326936282":["hashtag1","hashtag2"]},{"1326936329":["hashtag1","hashtag2"]},{"1326936350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936352, 1326936282, 1326936329, 1326936350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.698188066482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:51:03.342728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:51:22.597031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0003.jpg', '/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0000.jpg', '/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0001.jpg', '/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/50/image_06012025_05_50_02_854411_0003.jpg
/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0000.jpg
/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0001.jpg
/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936364","1326936362","1326936356","1326936388"],"photo_ids_order":["1326936356","1326936362","1326936364","1326936388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/105d14a7f14b9efc543270b5d6f80c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3481535130789434059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139152846,"filename":"image_06012025_05_51_02_539770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ad9a2697e9b478c423ce58e49295490.jpg","text":"TemporaryFile(/tmp/multipartBody5903751039159675059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139152846,"filename":"image_06012025_05_51_02_539770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0866e21e4e08e10ed45538c560b6ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody7942819110117513921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139152846,"filename":"image_06012025_05_50_02_854411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a996ae8733a70d7093c64d20fc32a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8880890407230970463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139152846,"filename":"image_06012025_05_51_02_539770_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936364","file1":"1326936362","file0":"1326936356","file3":"1326936388"},"map_files_photo_id_array":[{"photo_id":"1326936364","filename":"file2"},{"photo_id":"1326936362","filename":"file1"},{"photo_id":"1326936356","filename":"file0"},{"photo_id":"1326936388","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936364":["hashtag1","hashtag2"]},{"1326936362":["hashtag1","hashtag2"]},{"1326936356":["hashtag1","hashtag2"]},{"1326936388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936364, 1326936362, 1326936356, 1326936388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63596558570862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:52:02.744197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:52:22.192275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0003.jpg', '/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0000.jpg', '/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0001.jpg', '/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/51/image_06012025_05_51_02_539770_0003.jpg
/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0000.jpg
/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0001.jpg
/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936396","1326936398","1326936392","1326936394"],"photo_ids_order":["1326936392","1326936394","1326936396","1326936398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff323a5d0c733d602ea31d00612ed373.jpg","text":"TemporaryFile(/tmp/multipartBody1734216354178577690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139212253,"filename":"image_06012025_05_52_03_042591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/deb62ab020d4279eb83a9dfeed94d1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6494695212454256689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139212253,"filename":"image_06012025_05_52_03_042591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e97dc3c5402fc570c26cb8d869e77b9c.jpg","text":"TemporaryFile(/tmp/multipartBody5469859069740077417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139212253,"filename":"image_06012025_05_51_02_539770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69dc760d0d4389dd0318b4e6a4e6e08c.jpg","text":"TemporaryFile(/tmp/multipartBody7596305975836819745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139212253,"filename":"image_06012025_05_52_03_042591_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936396","file1":"1326936394","file0":"1326936392","file3":"1326936398"},"map_files_photo_id_array":[{"photo_id":"1326936396","filename":"file2"},{"photo_id":"1326936394","filename":"file1"},{"photo_id":"1326936392","filename":"file0"},{"photo_id":"1326936398","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936396":["hashtag1","hashtag2"]},{"1326936398":["hashtag1","hashtag2"]},{"1326936392":["hashtag1","hashtag2"]},{"1326936394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936396, 1326936398, 1326936392, 1326936394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62295722961426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:53:02.453763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:53:21.661479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0003.jpg', '/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0000.jpg', '/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0001.jpg', '/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/52/image_06012025_05_52_03_042591_0003.jpg
/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0000.jpg
/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0001.jpg
/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936405","1326936408","1326936410","1326936404"],"photo_ids_order":["1326936404","1326936405","1326936408","1326936410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1b4ad594e793769105780009112bf52.jpg","text":"TemporaryFile(/tmp/multipartBody4788127185497292148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139271914,"filename":"image_06012025_05_53_02_601239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae978ef582b9e2df73259d04d75854e8.jpg","text":"TemporaryFile(/tmp/multipartBody5313546043661807889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139271914,"filename":"image_06012025_05_53_02_601239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/834fa756cbc7968a4b502dc55ed94d54.jpg","text":"TemporaryFile(/tmp/multipartBody1205374108038258934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139271914,"filename":"image_06012025_05_53_02_601239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/691f128ad3ab02fca25f42225ca9ba52.jpg","text":"TemporaryFile(/tmp/multipartBody5901943644996434674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139271914,"filename":"image_06012025_05_52_03_042591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936408","file1":"1326936405","file0":"1326936404","file3":"1326936410"},"map_files_photo_id_array":[{"photo_id":"1326936408","filename":"file2"},{"photo_id":"1326936405","filename":"file1"},{"photo_id":"1326936404","filename":"file0"},{"photo_id":"1326936410","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936405":["hashtag1","hashtag2"]},{"1326936408":["hashtag1","hashtag2"]},{"1326936410":["hashtag1","hashtag2"]},{"1326936404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936405, 1326936408, 1326936410, 1326936404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.248634338378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:54:22.402311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0003.jpg', '/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0000.jpg', '/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0001.jpg', '/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/53/image_06012025_05_53_02_601239_0003.jpg
/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0000.jpg
/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0001.jpg
/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936415","1326936435","1326936420","1326936413"],"photo_ids_order":["1326936413","1326936415","1326936420","1326936435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2eb68b71e6ecaef1c090523e66a2fe21.jpg","text":"TemporaryFile(/tmp/multipartBody109055866452075734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139332659,"filename":"image_06012025_05_54_02_067173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4ff2eef136a1e3130a8c5e6e8a20982.jpg","text":"TemporaryFile(/tmp/multipartBody2064341943680618264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139332659,"filename":"image_06012025_05_54_02_067173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25b56fc8b99fc70ec6d9b0d46b58e904.jpg","text":"TemporaryFile(/tmp/multipartBody8905844021281246015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139332659,"filename":"image_06012025_05_54_02_067173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65b29187065b323df640a2800bb1aa81.jpg","text":"TemporaryFile(/tmp/multipartBody2788547490874926426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139332659,"filename":"image_06012025_05_53_02_601239_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936420","file1":"1326936415","file0":"1326936413","file3":"1326936435"},"map_files_photo_id_array":[{"photo_id":"1326936420","filename":"file2"},{"photo_id":"1326936415","filename":"file1"},{"photo_id":"1326936413","filename":"file0"},{"photo_id":"1326936435","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936415":["hashtag1","hashtag2"]},{"1326936435":["hashtag1","hashtag2"]},{"1326936420":["hashtag1","hashtag2"]},{"1326936413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936415, 1326936435, 1326936420, 1326936413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05603361129761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:55:21.880130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0003.jpg', '/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0000.jpg', '/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0001.jpg', '/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/54/image_06012025_05_54_02_067173_0003.jpg
/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0000.jpg
/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0001.jpg
/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936484","1326936478","1326936480","1326936482"],"photo_ids_order":["1326936478","1326936480","1326936482","1326936484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/967d766f7107f76f5412eca5f633b78b.jpg","text":"TemporaryFile(/tmp/multipartBody5841153992404522474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139392157,"filename":"image_06012025_05_55_02_772252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c116106a142ddf50db9f4d9c343764ad.jpg","text":"TemporaryFile(/tmp/multipartBody7038617719506081487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139392157,"filename":"image_06012025_05_54_02_067173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5297928fdca445f1fd47b40f5afe0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3706309507123806829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139392157,"filename":"image_06012025_05_55_02_772252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f39ce7cce2303590e36d21a3c633213a.jpg","text":"TemporaryFile(/tmp/multipartBody3715568321732971240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139392157,"filename":"image_06012025_05_55_02_772252_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936482","file1":"1326936480","file0":"1326936478","file3":"1326936484"},"map_files_photo_id_array":[{"photo_id":"1326936482","filename":"file2"},{"photo_id":"1326936480","filename":"file1"},{"photo_id":"1326936478","filename":"file0"},{"photo_id":"1326936484","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936484":["hashtag1","hashtag2"]},{"1326936478":["hashtag1","hashtag2"]},{"1326936480":["hashtag1","hashtag2"]},{"1326936482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936484, 1326936478, 1326936480, 1326936482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85284185409546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:56:02.880757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:56:22.440963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0003.jpg', '/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0000.jpg', '/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0001.jpg', '/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/55/image_06012025_05_55_02_772252_0003.jpg
/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0000.jpg
/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0001.jpg
/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326936584","1326936686","1326936586","1326936589"],"photo_ids_order":["1326936584","1326936586","1326936589","1326936686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/393d73eb5a8e4eb74dd72d8aeab61170.jpg","text":"TemporaryFile(/tmp/multipartBody4031278867664202459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139452785,"filename":"image_06012025_05_55_02_772252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a07a8c4baae5f798eee407761eb070e.jpg","text":"TemporaryFile(/tmp/multipartBody2223394406193317611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139452785,"filename":"image_06012025_05_56_02_281769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c49ac8e21458e35da621a18b68c778e.jpg","text":"TemporaryFile(/tmp/multipartBody3688390559301575217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139452785,"filename":"image_06012025_05_56_02_281769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/954eb8e9a5d0405eab71b7046d3ef63d.jpg","text":"TemporaryFile(/tmp/multipartBody211025331367611827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139452785,"filename":"image_06012025_05_56_02_281769_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326936589","file1":"1326936586","file0":"1326936584","file3":"1326936686"},"map_files_photo_id_array":[{"photo_id":"1326936589","filename":"file2"},{"photo_id":"1326936586","filename":"file1"},{"photo_id":"1326936584","filename":"file0"},{"photo_id":"1326936686","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326936584":["hashtag1","hashtag2"]},{"1326936686":["hashtag1","hashtag2"]},{"1326936586":["hashtag1","hashtag2"]},{"1326936589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326936584, 1326936686, 1326936586, 1326936589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65221643447876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:57:02.493960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:57:21.905316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0003.jpg', '/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0000.jpg', '/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0001.jpg', '/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/56/image_06012025_05_56_02_281769_0003.jpg
/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0000.jpg
/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0001.jpg
/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937044","1326936924","1326937169","1326936926"],"photo_ids_order":["1326936924","1326936926","1326937044","1326937169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d78b286f45e8bbca4332b5f7767754da.jpg","text":"TemporaryFile(/tmp/multipartBody9189870785426117177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139512178,"filename":"image_06012025_05_57_02_821758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cde5900a1e361a5c6ceff5870bfcbc7a.jpg","text":"TemporaryFile(/tmp/multipartBody4977166467699087471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139512178,"filename":"image_06012025_05_56_02_281769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18a1d7f87c25ccb8107b0eaba665d909.jpg","text":"TemporaryFile(/tmp/multipartBody1295438909660119390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139512178,"filename":"image_06012025_05_57_02_821758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e6d4fec768cea9f30b730c13308bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody5080950008853683688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139512178,"filename":"image_06012025_05_57_02_821758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937044","file1":"1326936926","file0":"1326936924","file3":"1326937169"},"map_files_photo_id_array":[{"photo_id":"1326937044","filename":"file2"},{"photo_id":"1326936926","filename":"file1"},{"photo_id":"1326936924","filename":"file0"},{"photo_id":"1326937169","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937044":["hashtag1","hashtag2"]},{"1326936924":["hashtag1","hashtag2"]},{"1326937169":["hashtag1","hashtag2"]},{"1326936926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937044, 1326936924, 1326937169, 1326936926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.247602701187134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 05:59:02.345874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0003.jpg', '/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0001.jpg', '/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0003.jpg
/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0001.jpg
/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_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.421141147613525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 05:59:21.811120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0003.jpg', '/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0001.jpg', '/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0002.jpg', '/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0003.jpg', '/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0000.jpg', '/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/57/image_06012025_05_57_02_821758_0003.jpg
/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0001.jpg
/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0002.jpg
/home/pi/Desktop/images/06012025/05/58/image_06012025_05_58_02_416061_0003.jpg
/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0000.jpg
/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937738","1326937737","1326937746","1326937736","1326937823","1326937826"],"photo_ids_order":["1326937736","1326937737","1326937738","1326937746","1326937823","1326937826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81645b5f15e51456a4c0f3bf5bd78af1.jpg","text":"TemporaryFile(/tmp/multipartBody7199826372179973111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_58_02_416061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0304bb86088d60bcb00d4d4d0b478a1.jpg","text":"TemporaryFile(/tmp/multipartBody5354725361511066470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_58_02_416061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c14bb70b12df5cf5078e95d53dc0f9b.jpg","text":"TemporaryFile(/tmp/multipartBody1375828095509589006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_58_02_416061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2e9622c063add8f544136ea3185096e.jpg","text":"TemporaryFile(/tmp/multipartBody4666026914214280631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_57_02_821758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/504fd87b09fefbaea3cd7b15219ece9a.jpg","text":"TemporaryFile(/tmp/multipartBody2650432814314961537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_59_03_113311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/752357521c7dd9b06df46b22457611c4.jpg","text":"TemporaryFile(/tmp/multipartBody6585021791439756616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139636772,"filename":"image_06012025_05_59_03_113311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937738","file1":"1326937737","file0":"1326937736","file4":"1326937823","file5":"1326937826","file3":"1326937746"},"map_files_photo_id_array":[{"photo_id":"1326937826","filename":"file5"},{"photo_id":"1326937738","filename":"file2"},{"photo_id":"1326937823","filename":"file4"},{"photo_id":"1326937737","filename":"file1"},{"photo_id":"1326937736","filename":"file0"},{"photo_id":"1326937746","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937738":["hashtag1","hashtag2"]},{"1326937737":["hashtag1","hashtag2"]},{"1326937746":["hashtag1","hashtag2"]},{"1326937736":["hashtag1","hashtag2"]},{"1326937823":["hashtag1","hashtag2"]},{"1326937826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937738, 1326937737, 1326937746, 1326937736, 1326937823, 1326937826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.421698331832886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:00:22.459786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0002.jpg', '/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0003.jpg', '/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0000.jpg', '/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0001.jpg', '/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0002.jpg
/home/pi/Desktop/images/06012025/05/59/image_06012025_05_59_03_113311_0003.jpg
/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0000.jpg
/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0001.jpg
/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937854","1326937851","1326937871","1326937844","1326937873"],"photo_ids_order":["1326937844","1326937851","1326937854","1326937871","1326937873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e4b7110816637f490b02401e08ee271.jpg","text":"TemporaryFile(/tmp/multipartBody6197866515137771442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139695042,"filename":"image_06012025_06_00_02_284137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd060477cde29327b1e04206eb6b1a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3301409101172402252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139695042,"filename":"image_06012025_05_59_03_113311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e80fa40d22cf7f07aac3ac4ef58a585e.jpg","text":"TemporaryFile(/tmp/multipartBody5223328452733107089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139695042,"filename":"image_06012025_06_00_02_284137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28dbfa7a5bd5e6070e89deb5bff87884.jpg","text":"TemporaryFile(/tmp/multipartBody670425030726088664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139695042,"filename":"image_06012025_05_59_03_113311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a65b55303244a031a0fad7c9aaf874ba.jpg","text":"TemporaryFile(/tmp/multipartBody2455342086151672877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139695042,"filename":"image_06012025_06_00_02_284137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937854","file1":"1326937851","file0":"1326937844","file4":"1326937873","file3":"1326937871"},"map_files_photo_id_array":[{"photo_id":"1326937854","filename":"file2"},{"photo_id":"1326937873","filename":"file4"},{"photo_id":"1326937851","filename":"file1"},{"photo_id":"1326937844","filename":"file0"},{"photo_id":"1326937871","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937854":["hashtag1","hashtag2"]},{"1326937851":["hashtag1","hashtag2"]},{"1326937871":["hashtag1","hashtag2"]},{"1326937844":["hashtag1","hashtag2"]},{"1326937873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937854, 1326937851, 1326937871, 1326937844, 1326937873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.2507483959198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:01:21.872342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0003.jpg', '/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0000.jpg', '/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0001.jpg', '/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/00/image_06012025_06_00_02_284137_0003.jpg
/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0000.jpg
/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0001.jpg
/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937881","1326937883","1326937885","1326937879"],"photo_ids_order":["1326937879","1326937881","1326937883","1326937885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3bfcfce49606b9f79d7b617a26ef157.jpg","text":"TemporaryFile(/tmp/multipartBody1874162116672096317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139752110,"filename":"image_06012025_06_01_02_784818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c83bc10a8761bf4160f17e8a4a66dea9.jpg","text":"TemporaryFile(/tmp/multipartBody1808298727209637495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139752110,"filename":"image_06012025_06_01_02_784818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18f1f7e477380e2bf267f40c9a7c4cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3774797521158637535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139752110,"filename":"image_06012025_06_01_02_784818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8922268daea7113b3c08387c5bb5d051.jpg","text":"TemporaryFile(/tmp/multipartBody6374206512769165455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139752110,"filename":"image_06012025_06_00_02_284137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937883","file1":"1326937881","file0":"1326937879","file3":"1326937885"},"map_files_photo_id_array":[{"photo_id":"1326937883","filename":"file2"},{"photo_id":"1326937881","filename":"file1"},{"photo_id":"1326937879","filename":"file0"},{"photo_id":"1326937885","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937881":["hashtag1","hashtag2"]},{"1326937883":["hashtag1","hashtag2"]},{"1326937885":["hashtag1","hashtag2"]},{"1326937879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937881, 1326937883, 1326937885, 1326937879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.703967332839966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:02:22.475189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0003.jpg', '/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0000.jpg', '/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0001.jpg', '/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/01/image_06012025_06_01_02_784818_0003.jpg
/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0000.jpg
/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0001.jpg
/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937900","1326937890","1326937896","1326937892"],"photo_ids_order":["1326937890","1326937892","1326937896","1326937900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d318574750b8d1312188a61a6027c84.jpg","text":"TemporaryFile(/tmp/multipartBody1790802301787929185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139812839,"filename":"image_06012025_06_02_02_297742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba7f223c3ca88eb25ecc3b3294300e51.jpg","text":"TemporaryFile(/tmp/multipartBody3201348621562256451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139812839,"filename":"image_06012025_06_01_02_784818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9efd4d9786dec7bb6f76da72eab5fca5.jpg","text":"TemporaryFile(/tmp/multipartBody5390040970687690370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139812839,"filename":"image_06012025_06_02_02_297742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3ce42aa29391e20c7301e91765f0b86.jpg","text":"TemporaryFile(/tmp/multipartBody2318045400194279358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139812839,"filename":"image_06012025_06_02_02_297742_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937896","file1":"1326937892","file0":"1326937890","file3":"1326937900"},"map_files_photo_id_array":[{"photo_id":"1326937896","filename":"file2"},{"photo_id":"1326937892","filename":"file1"},{"photo_id":"1326937890","filename":"file0"},{"photo_id":"1326937900","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937900":["hashtag1","hashtag2"]},{"1326937890":["hashtag1","hashtag2"]},{"1326937896":["hashtag1","hashtag2"]},{"1326937892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937900, 1326937890, 1326937896, 1326937892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38565111160278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:03:21.911426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0003.jpg', '/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0000.jpg', '/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0001.jpg', '/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/02/image_06012025_06_02_02_297742_0003.jpg
/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0000.jpg
/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0001.jpg
/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937926","1326937928","1326937922","1326937924"],"photo_ids_order":["1326937922","1326937924","1326937926","1326937928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7575a9de19f0fbefbcd33f08795c236b.jpg","text":"TemporaryFile(/tmp/multipartBody3433320871068538887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139872250,"filename":"image_06012025_06_03_02_808430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c10ca25b002befae1e83127f94aa346c.jpg","text":"TemporaryFile(/tmp/multipartBody3889725608535896039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139872250,"filename":"image_06012025_06_03_02_808430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12905e2c1208a26615a3a72824ed1841.jpg","text":"TemporaryFile(/tmp/multipartBody186650507212184485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139872250,"filename":"image_06012025_06_02_02_297742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2e47098bfabe6095d8d38da882433e8.jpg","text":"TemporaryFile(/tmp/multipartBody856897784630627599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139872250,"filename":"image_06012025_06_03_02_808430_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937926","file1":"1326937924","file0":"1326937922","file3":"1326937928"},"map_files_photo_id_array":[{"photo_id":"1326937926","filename":"file2"},{"photo_id":"1326937924","filename":"file1"},{"photo_id":"1326937922","filename":"file0"},{"photo_id":"1326937928","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937926":["hashtag1","hashtag2"]},{"1326937928":["hashtag1","hashtag2"]},{"1326937922":["hashtag1","hashtag2"]},{"1326937924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937926, 1326937928, 1326937922, 1326937924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.692333936691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:04:02.871211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:04:22.402132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0003.jpg', '/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0000.jpg', '/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0001.jpg', '/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/03/image_06012025_06_03_02_808430_0003.jpg
/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0000.jpg
/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0001.jpg
/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326937941","1326937935","1326937939","1326937933"],"photo_ids_order":["1326937933","1326937935","1326937939","1326937941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8de76ab4a0d40b3a60700b589ea449dc.jpg","text":"TemporaryFile(/tmp/multipartBody8769180033206969768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139932523,"filename":"image_06012025_06_04_02_279953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/963bd1fd4737b9b79f1fe9959291d61b.jpg","text":"TemporaryFile(/tmp/multipartBody4861767245127277148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139932523,"filename":"image_06012025_06_04_02_279953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf425a6b8cf7ed7246490ea3eda5bd94.jpg","text":"TemporaryFile(/tmp/multipartBody6994667560105936266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139932523,"filename":"image_06012025_06_04_02_279953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/836bb0864829ede7dc25e17c176f7608.jpg","text":"TemporaryFile(/tmp/multipartBody8312259460750223481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139932523,"filename":"image_06012025_06_03_02_808430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326937939","file1":"1326937935","file0":"1326937933","file3":"1326937941"},"map_files_photo_id_array":[{"photo_id":"1326937939","filename":"file2"},{"photo_id":"1326937935","filename":"file1"},{"photo_id":"1326937933","filename":"file0"},{"photo_id":"1326937941","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326937941":["hashtag1","hashtag2"]},{"1326937935":["hashtag1","hashtag2"]},{"1326937939":["hashtag1","hashtag2"]},{"1326937933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326937941, 1326937935, 1326937939, 1326937933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6620831489563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:05:21.915755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0003.jpg', '/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0000.jpg', '/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0001.jpg', '/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/04/image_06012025_06_04_02_279953_0003.jpg
/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0000.jpg
/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0001.jpg
/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938034","1326937968","1326938068","1326938070"],"photo_ids_order":["1326937968","1326938034","1326938068","1326938070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84e743399e328ab1941a030a216068d0.jpg","text":"TemporaryFile(/tmp/multipartBody3222285558620887328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139992102,"filename":"image_06012025_06_05_02_781963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57b12b96ab8f36112805e13cffab7674.jpg","text":"TemporaryFile(/tmp/multipartBody1516961974254142440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139992102,"filename":"image_06012025_06_04_02_279953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb0da719a64242787fe6de4771ee5615.jpg","text":"TemporaryFile(/tmp/multipartBody6399719394431325669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139992102,"filename":"image_06012025_06_05_02_781963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aab97702f47afbe27e2a1fd05a7b276f.jpg","text":"TemporaryFile(/tmp/multipartBody5350021997576734408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736139992102,"filename":"image_06012025_06_05_02_781963_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938068","file1":"1326938034","file0":"1326937968","file3":"1326938070"},"map_files_photo_id_array":[{"photo_id":"1326938068","filename":"file2"},{"photo_id":"1326938034","filename":"file1"},{"photo_id":"1326937968","filename":"file0"},{"photo_id":"1326938070","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938034":["hashtag1","hashtag2"]},{"1326937968":["hashtag1","hashtag2"]},{"1326938068":["hashtag1","hashtag2"]},{"1326938070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938034, 1326937968, 1326938068, 1326938070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.386544942855835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:06:02.875037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:06:22.447154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0003.jpg', '/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0000.jpg', '/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0001.jpg', '/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/05/image_06012025_06_05_02_781963_0003.jpg
/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0000.jpg
/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0001.jpg
/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938075","1326938084","1326938077","1326938079"],"photo_ids_order":["1326938075","1326938077","1326938079","1326938084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/768e9c7e3f1893dd8cbf19b6f47ba51c.jpg","text":"TemporaryFile(/tmp/multipartBody8954736630892573302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140052623,"filename":"image_06012025_06_05_02_781963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80a837fb84f2e12b28d959da086fd13c.jpg","text":"TemporaryFile(/tmp/multipartBody3549414107947037170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140052623,"filename":"image_06012025_06_06_02_319098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/decb7b36cb2f4042e76319e2de9ebaff.jpg","text":"TemporaryFile(/tmp/multipartBody6201628866695576941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140052623,"filename":"image_06012025_06_06_02_319098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6053ff5e89c19ed1492b9de3f79db1fe.jpg","text":"TemporaryFile(/tmp/multipartBody225884625672287444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140052623,"filename":"image_06012025_06_06_02_319098_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938079","file1":"1326938077","file0":"1326938075","file3":"1326938084"},"map_files_photo_id_array":[{"photo_id":"1326938079","filename":"file2"},{"photo_id":"1326938077","filename":"file1"},{"photo_id":"1326938075","filename":"file0"},{"photo_id":"1326938084","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938075":["hashtag1","hashtag2"]},{"1326938084":["hashtag1","hashtag2"]},{"1326938077":["hashtag1","hashtag2"]},{"1326938079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938075, 1326938084, 1326938077, 1326938079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.956448554992676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:07:22.017150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0003.jpg', '/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0000.jpg', '/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0001.jpg', '/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/06/image_06012025_06_06_02_319098_0003.jpg
/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0000.jpg
/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0001.jpg
/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938118","1326938112","1326938114","1326938116"],"photo_ids_order":["1326938112","1326938114","1326938116","1326938118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90c23c28d321cb1caf3b4daf9d4a5669.jpg","text":"TemporaryFile(/tmp/multipartBody8373655253647747976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140112310,"filename":"image_06012025_06_07_02_885487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e30128b61c5c63497e50d0abaf626a06.jpg","text":"TemporaryFile(/tmp/multipartBody5444960242511677163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140112310,"filename":"image_06012025_06_06_02_319098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c49537bb116d559b7dc44172464a2097.jpg","text":"TemporaryFile(/tmp/multipartBody7640172357495706134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140112310,"filename":"image_06012025_06_07_02_885487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/293594877d2bbf7d4b0f815aa4ed7205.jpg","text":"TemporaryFile(/tmp/multipartBody1645916398917921361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140112310,"filename":"image_06012025_06_07_02_885487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938116","file1":"1326938114","file0":"1326938112","file3":"1326938118"},"map_files_photo_id_array":[{"photo_id":"1326938116","filename":"file2"},{"photo_id":"1326938114","filename":"file1"},{"photo_id":"1326938112","filename":"file0"},{"photo_id":"1326938118","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938118":["hashtag1","hashtag2"]},{"1326938112":["hashtag1","hashtag2"]},{"1326938114":["hashtag1","hashtag2"]},{"1326938116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938118, 1326938112, 1326938114, 1326938116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77153706550598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:08:22.666376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0003.jpg', '/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0000.jpg', '/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0001.jpg', '/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/07/image_06012025_06_07_02_885487_0003.jpg
/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0000.jpg
/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0001.jpg
/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938127","1326938129","1326938131","1326938125"],"photo_ids_order":["1326938125","1326938127","1326938129","1326938131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0234550f86af70593a53dd3c65a3ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1795596261420393963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140172821,"filename":"image_06012025_06_08_02_446533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58ac816b4fb2585e99dd89ac889dc3ec.jpg","text":"TemporaryFile(/tmp/multipartBody2961499426788801203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140172821,"filename":"image_06012025_06_08_02_446533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59d3babd9b427a0620ba52d2673bbc76.jpg","text":"TemporaryFile(/tmp/multipartBody2622703656841218777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140172821,"filename":"image_06012025_06_08_02_446533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00e7ffedba958a14aa96fafb7c5e7bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3069997563969964108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140172821,"filename":"image_06012025_06_07_02_885487_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938129","file1":"1326938127","file0":"1326938125","file3":"1326938131"},"map_files_photo_id_array":[{"photo_id":"1326938129","filename":"file2"},{"photo_id":"1326938127","filename":"file1"},{"photo_id":"1326938125","filename":"file0"},{"photo_id":"1326938131","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938127":["hashtag1","hashtag2"]},{"1326938129":["hashtag1","hashtag2"]},{"1326938131":["hashtag1","hashtag2"]},{"1326938125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938127, 1326938129, 1326938131, 1326938125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28545117378235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:09:22.178218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0003.jpg', '/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0000.jpg', '/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0001.jpg', '/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/08/image_06012025_06_08_02_446533_0003.jpg
/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0000.jpg
/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0001.jpg
/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938172","1326938142","1326938144","1326938135"],"photo_ids_order":["1326938135","1326938142","1326938144","1326938172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d84555a4008da86d383977385e020be.jpg","text":"TemporaryFile(/tmp/multipartBody6261261928414239687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140232346,"filename":"image_06012025_06_09_03_043205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/291d4b4e65ef98b50415163f9875b82b.jpg","text":"TemporaryFile(/tmp/multipartBody5917369980712750343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140232346,"filename":"image_06012025_06_09_03_043205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa67dd5177925edf01b01dcbd45ded1c.jpg","text":"TemporaryFile(/tmp/multipartBody6049271469034218489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140232346,"filename":"image_06012025_06_09_03_043205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39324245e36af60e3ec62a387e044fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2367903398130110605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140232346,"filename":"image_06012025_06_08_02_446533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938144","file1":"1326938142","file0":"1326938135","file3":"1326938172"},"map_files_photo_id_array":[{"photo_id":"1326938144","filename":"file2"},{"photo_id":"1326938142","filename":"file1"},{"photo_id":"1326938135","filename":"file0"},{"photo_id":"1326938172","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938172":["hashtag1","hashtag2"]},{"1326938142":["hashtag1","hashtag2"]},{"1326938144":["hashtag1","hashtag2"]},{"1326938135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938172, 1326938142, 1326938144, 1326938135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.288658142089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:10:02.211982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:10:21.773728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0003.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0000.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0001.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0003.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0000.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0001.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_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.667621612548828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:11:02.829483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0003.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0000.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0001.jpg', '/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/09/image_06012025_06_09_03_043205_0003.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0000.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0001.jpg
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938193","1326938189","1326938191","1326938188"],"photo_ids_order":["1326938188","1326938189","1326938191","1326938193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99437bedd3e4a014748e501ac3b66f30.jpg","text":"TemporaryFile(/tmp/multipartBody3284881276378637919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140332939,"filename":"image_06012025_06_10_02_636207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66e9afc505465cf0efb9b7eb4cbed044.jpg","text":"TemporaryFile(/tmp/multipartBody8647013282475412740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140332939,"filename":"image_06012025_06_10_02_636207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70a71ad36080805d9a82e272fdb48fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5576181443494761516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140332939,"filename":"image_06012025_06_10_02_636207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25d33ca94c9b677091c412a37f23d7df.jpg","text":"TemporaryFile(/tmp/multipartBody6556883812108384795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140332939,"filename":"image_06012025_06_09_03_043205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938191","file1":"1326938189","file0":"1326938188","file3":"1326938193"},"map_files_photo_id_array":[{"photo_id":"1326938191","filename":"file2"},{"photo_id":"1326938189","filename":"file1"},{"photo_id":"1326938188","filename":"file0"},{"photo_id":"1326938193","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938193":["hashtag1","hashtag2"]},{"1326938189":["hashtag1","hashtag2"]},{"1326938191":["hashtag1","hashtag2"]},{"1326938188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938193, 1326938189, 1326938191, 1326938188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73324680328369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:12:02.438832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0003.jpg', '/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0000.jpg', '/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0001.jpg', '/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/10/image_06012025_06_10_02_636207_0003.jpg
/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0000.jpg
/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0001.jpg
/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938214","1326938210","1326938212","1326938209"],"photo_ids_order":["1326938209","1326938210","1326938212","1326938214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1986d2a47c4a3f64372cd9c9356b0369.jpg","text":"TemporaryFile(/tmp/multipartBody435688653368305357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140392556,"filename":"image_06012025_06_11_02_133856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9609a5511577726da6e04f78d91f3d04.jpg","text":"TemporaryFile(/tmp/multipartBody5390229829122498174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140392556,"filename":"image_06012025_06_11_02_133856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6c8a86d82a63f523c2bbace56d8a258.jpg","text":"TemporaryFile(/tmp/multipartBody2487574351653525320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140392556,"filename":"image_06012025_06_11_02_133856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76f8eb7829be97057b29cd74e8818d9e.jpg","text":"TemporaryFile(/tmp/multipartBody243426834052164203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140392556,"filename":"image_06012025_06_10_02_636207_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938212","file1":"1326938210","file0":"1326938209","file3":"1326938214"},"map_files_photo_id_array":[{"photo_id":"1326938212","filename":"file2"},{"photo_id":"1326938210","filename":"file1"},{"photo_id":"1326938209","filename":"file0"},{"photo_id":"1326938214","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938214":["hashtag1","hashtag2"]},{"1326938210":["hashtag1","hashtag2"]},{"1326938212":["hashtag1","hashtag2"]},{"1326938209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938214, 1326938210, 1326938212, 1326938209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.212636947631836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:13:03.216009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0003.jpg', '/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0000.jpg', '/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0001.jpg', '/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/11/image_06012025_06_11_02_133856_0003.jpg
/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0000.jpg
/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0001.jpg
/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938261","1326938264","1326938260","1326938263"],"photo_ids_order":["1326938260","1326938261","1326938263","1326938264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6651817cb6e1f86a3213b197169209c6.jpg","text":"TemporaryFile(/tmp/multipartBody9129570911395493177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140453369,"filename":"image_06012025_06_12_02_655749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73142377a4196f58d50ea91c4466f019.jpg","text":"TemporaryFile(/tmp/multipartBody8774773004109326578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140453369,"filename":"image_06012025_06_12_02_655749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35e12750b734284dddf2761085600211.jpg","text":"TemporaryFile(/tmp/multipartBody7101023531999592948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140453369,"filename":"image_06012025_06_11_02_133856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/374a037f9144b4470e366bfc85d4831a.jpg","text":"TemporaryFile(/tmp/multipartBody4988848722251104678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140453369,"filename":"image_06012025_06_12_02_655749_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938263","file1":"1326938261","file0":"1326938260","file3":"1326938264"},"map_files_photo_id_array":[{"photo_id":"1326938263","filename":"file2"},{"photo_id":"1326938261","filename":"file1"},{"photo_id":"1326938260","filename":"file0"},{"photo_id":"1326938264","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938261":["hashtag1","hashtag2"]},{"1326938264":["hashtag1","hashtag2"]},{"1326938260":["hashtag1","hashtag2"]},{"1326938263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938261, 1326938264, 1326938260, 1326938263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54602909088135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:14:02.560052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0003.jpg', '/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0000.jpg', '/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0001.jpg', '/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/12/image_06012025_06_12_02_655749_0003.jpg
/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0000.jpg
/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0001.jpg
/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938278","1326938275","1326938280","1326938277"],"photo_ids_order":["1326938275","1326938277","1326938278","1326938280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7a1cb1e83143c1f422a90a294c9f267.jpg","text":"TemporaryFile(/tmp/multipartBody54339523491550095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140512606,"filename":"image_06012025_06_13_02_423450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65d9804be956addd36c02b1e76ad6072.jpg","text":"TemporaryFile(/tmp/multipartBody2495396292799906397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140512606,"filename":"image_06012025_06_12_02_655749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5de8a3528c6a21f549cc4d40502ce528.jpg","text":"TemporaryFile(/tmp/multipartBody3267428229478848975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140512606,"filename":"image_06012025_06_13_02_423450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/600409430513e7e5903d8a86c90c18bb.jpg","text":"TemporaryFile(/tmp/multipartBody5964023153994278690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140512606,"filename":"image_06012025_06_13_02_423450_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938278","file1":"1326938277","file0":"1326938275","file3":"1326938280"},"map_files_photo_id_array":[{"photo_id":"1326938278","filename":"file2"},{"photo_id":"1326938277","filename":"file1"},{"photo_id":"1326938275","filename":"file0"},{"photo_id":"1326938280","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938278":["hashtag1","hashtag2"]},{"1326938275":["hashtag1","hashtag2"]},{"1326938280":["hashtag1","hashtag2"]},{"1326938277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938278, 1326938275, 1326938280, 1326938277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.498406648635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:15:02.318572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0003.jpg', '/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0000.jpg', '/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/13/image_06012025_06_13_02_423450_0003.jpg
/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0000.jpg
/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938294","1326938293","1326938295"],"photo_ids_order":["1326938293","1326938294","1326938295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9e0683675134777908945be8412e6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7621683528524603406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140570064,"filename":"image_06012025_06_14_03_019254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e519b8e843037db0ff1bf64a2444299.jpg","text":"TemporaryFile(/tmp/multipartBody1500986735934704383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140570064,"filename":"image_06012025_06_13_02_423450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52bc14d36fc7679cd32b08f37e9348f7.jpg","text":"TemporaryFile(/tmp/multipartBody8627688387749097323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140570064,"filename":"image_06012025_06_14_03_019254_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938295","file1":"1326938294","file0":"1326938293"},"map_files_photo_id_array":[{"photo_id":"1326938295","filename":"file2"},{"photo_id":"1326938294","filename":"file1"},{"photo_id":"1326938293","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938294":["hashtag1","hashtag2"]},{"1326938293":["hashtag1","hashtag2"]},{"1326938295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938294, 1326938293, 1326938295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.23857641220093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:16:03.009055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0002.jpg', '/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0000.jpg', '/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0001.jpg', '/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/14/image_06012025_06_14_03_019254_0002.jpg
/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0000.jpg
/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0001.jpg
/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938331","1326938336","1326938332","1326938338"],"photo_ids_order":["1326938331","1326938332","1326938336","1326938338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5f8ba2cbeeb2f8008dffd1995b2a895.jpg","text":"TemporaryFile(/tmp/multipartBody1261139337290623114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140633136,"filename":"image_06012025_06_14_03_019254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17ea25a194b4508ebf07545f68f634dc.jpg","text":"TemporaryFile(/tmp/multipartBody1028280528786301643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140633136,"filename":"image_06012025_06_15_02_623277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2e2b7361e43604ca6163bc04f5c9716.jpg","text":"TemporaryFile(/tmp/multipartBody6152256067353535661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140633136,"filename":"image_06012025_06_15_02_623277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b2121f82f818039200f525cb0364952.jpg","text":"TemporaryFile(/tmp/multipartBody6558700340828022390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140633136,"filename":"image_06012025_06_15_02_623277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938336","file1":"1326938332","file0":"1326938331","file3":"1326938338"},"map_files_photo_id_array":[{"photo_id":"1326938336","filename":"file2"},{"photo_id":"1326938332","filename":"file1"},{"photo_id":"1326938331","filename":"file0"},{"photo_id":"1326938338","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938331":["hashtag1","hashtag2"]},{"1326938336":["hashtag1","hashtag2"]},{"1326938332":["hashtag1","hashtag2"]},{"1326938338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938331, 1326938336, 1326938332, 1326938338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08810591697693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:17:02.610476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0003.jpg', '/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0000.jpg', '/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0001.jpg', '/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/15/image_06012025_06_15_02_623277_0003.jpg
/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0000.jpg
/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0001.jpg
/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938415","1326938363","1326938362","1326938388"],"photo_ids_order":["1326938362","1326938363","1326938388","1326938415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b226622ef3249c0d672e941802252c37.jpg","text":"TemporaryFile(/tmp/multipartBody1187787009270867236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140692773,"filename":"image_06012025_06_16_02_166112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae48fa5a7cb088c06eb007059fe26490.jpg","text":"TemporaryFile(/tmp/multipartBody6844397806530031519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140692773,"filename":"image_06012025_06_16_02_166112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6905549c88b1e5f8c196e04dea9329e7.jpg","text":"TemporaryFile(/tmp/multipartBody147574216862497159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140692773,"filename":"image_06012025_06_15_02_623277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d53e152e8b689ca3d5de1932a1fcc61.jpg","text":"TemporaryFile(/tmp/multipartBody9104326969733783140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140692773,"filename":"image_06012025_06_16_02_166112_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938388","file1":"1326938363","file0":"1326938362","file3":"1326938415"},"map_files_photo_id_array":[{"photo_id":"1326938388","filename":"file2"},{"photo_id":"1326938363","filename":"file1"},{"photo_id":"1326938362","filename":"file0"},{"photo_id":"1326938415","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938415":["hashtag1","hashtag2"]},{"1326938363":["hashtag1","hashtag2"]},{"1326938362":["hashtag1","hashtag2"]},{"1326938388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938415, 1326938363, 1326938362, 1326938388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63031506538391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:18:02.243571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0003.jpg', '/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0000.jpg', '/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0001.jpg', '/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/16/image_06012025_06_16_02_166112_0003.jpg
/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0000.jpg
/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0001.jpg
/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938427","1326938429","1326938426","1326938431"],"photo_ids_order":["1326938426","1326938427","1326938429","1326938431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/844dd8597d2f17eeef1440353fddbf63.jpg","text":"TemporaryFile(/tmp/multipartBody5633642719561578404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140752379,"filename":"image_06012025_06_17_02_851192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a11f2b3e4cf2efcd830b040535c02734.jpg","text":"TemporaryFile(/tmp/multipartBody4474219408402703020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140752379,"filename":"image_06012025_06_17_02_851192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05f1ec8902e3bad080bfb45ee11e37f4.jpg","text":"TemporaryFile(/tmp/multipartBody4725699338662388555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140752379,"filename":"image_06012025_06_16_02_166112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e31c9a9b83c7bb2a3ce382f67ac3862d.jpg","text":"TemporaryFile(/tmp/multipartBody7471513968120957927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140752379,"filename":"image_06012025_06_17_02_851192_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938429","file1":"1326938427","file0":"1326938426","file3":"1326938431"},"map_files_photo_id_array":[{"photo_id":"1326938429","filename":"file2"},{"photo_id":"1326938427","filename":"file1"},{"photo_id":"1326938426","filename":"file0"},{"photo_id":"1326938431","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938427":["hashtag1","hashtag2"]},{"1326938429":["hashtag1","hashtag2"]},{"1326938426":["hashtag1","hashtag2"]},{"1326938431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938427, 1326938429, 1326938426, 1326938431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.530579566955566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:19:02.759738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0003.jpg', '/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0000.jpg', '/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0001.jpg', '/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/17/image_06012025_06_17_02_851192_0003.jpg
/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0000.jpg
/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0001.jpg
/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938472","1326938468","1326938475","1326938469"],"photo_ids_order":["1326938468","1326938469","1326938472","1326938475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0f442006c81af05fdf2b3dcb37d1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody469822840965776668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140813117,"filename":"image_06012025_06_18_02_498070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5dfa638784e9c041ae2967a8bc704b34.jpg","text":"TemporaryFile(/tmp/multipartBody6757088892180428110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140813117,"filename":"image_06012025_06_17_02_851192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56babe925fc87b9bb0ac4c4bdb09542f.jpg","text":"TemporaryFile(/tmp/multipartBody1649046673131758727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140813117,"filename":"image_06012025_06_18_02_498070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17d2b17efc789b17d2e4152fbdac3526.jpg","text":"TemporaryFile(/tmp/multipartBody2895243961340689562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140813117,"filename":"image_06012025_06_18_02_498070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938472","file1":"1326938469","file0":"1326938468","file3":"1326938475"},"map_files_photo_id_array":[{"photo_id":"1326938472","filename":"file2"},{"photo_id":"1326938469","filename":"file1"},{"photo_id":"1326938468","filename":"file0"},{"photo_id":"1326938475","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938472":["hashtag1","hashtag2"]},{"1326938468":["hashtag1","hashtag2"]},{"1326938475":["hashtag1","hashtag2"]},{"1326938469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938472, 1326938468, 1326938475, 1326938469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.691954135894775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:20:02.235091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0003.jpg', '/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0000.jpg', '/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0001.jpg', '/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/18/image_06012025_06_18_02_498070_0003.jpg
/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0000.jpg
/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0001.jpg
/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938486","1326938489","1326938491","1326938487"],"photo_ids_order":["1326938486","1326938487","1326938489","1326938491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6275fb609b03632d3615c5afbea5ff01.jpg","text":"TemporaryFile(/tmp/multipartBody5003314867981320140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140872434,"filename":"image_06012025_06_18_02_498070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/683be346af8add09d737eac36461b39d.jpg","text":"TemporaryFile(/tmp/multipartBody4393901467015355169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140872434,"filename":"image_06012025_06_19_02_095695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73e836ba38b7a84d91eb8eccdd68c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4424105471945686773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140872434,"filename":"image_06012025_06_19_02_095695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5fb17bf011da700479dfc366989d6fa.jpg","text":"TemporaryFile(/tmp/multipartBody3678131178128812062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140872434,"filename":"image_06012025_06_19_02_095695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938489","file1":"1326938487","file0":"1326938486","file3":"1326938491"},"map_files_photo_id_array":[{"photo_id":"1326938489","filename":"file2"},{"photo_id":"1326938487","filename":"file1"},{"photo_id":"1326938486","filename":"file0"},{"photo_id":"1326938491","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938486":["hashtag1","hashtag2"]},{"1326938489":["hashtag1","hashtag2"]},{"1326938491":["hashtag1","hashtag2"]},{"1326938487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938486, 1326938489, 1326938491, 1326938487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46583604812622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:21:03.009267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0003.jpg', '/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0000.jpg', '/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0001.jpg', '/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/19/image_06012025_06_19_02_095695_0003.jpg
/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0000.jpg
/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0001.jpg
/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938505","1326938502","1326938507","1326938503"],"photo_ids_order":["1326938502","1326938503","1326938505","1326938507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdac80b54d80aff902d070c7235c6f61.jpg","text":"TemporaryFile(/tmp/multipartBody5887390609710091780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140933324,"filename":"image_06012025_06_20_02_594273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75ca179f07047493d9a2169441dd3a0e.jpg","text":"TemporaryFile(/tmp/multipartBody95990026040690041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140933324,"filename":"image_06012025_06_19_02_095695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6622700803929d344adc7e8012e1791.jpg","text":"TemporaryFile(/tmp/multipartBody8029458358906082067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140933324,"filename":"image_06012025_06_20_02_594273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2140d9b1cba67db8ebcb5d9cb36e70e6.jpg","text":"TemporaryFile(/tmp/multipartBody5780958474118641993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140933324,"filename":"image_06012025_06_20_02_594273_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938505","file1":"1326938503","file0":"1326938502","file3":"1326938507"},"map_files_photo_id_array":[{"photo_id":"1326938505","filename":"file2"},{"photo_id":"1326938503","filename":"file1"},{"photo_id":"1326938502","filename":"file0"},{"photo_id":"1326938507","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938505":["hashtag1","hashtag2"]},{"1326938502":["hashtag1","hashtag2"]},{"1326938507":["hashtag1","hashtag2"]},{"1326938503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938505, 1326938502, 1326938507, 1326938503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.645620822906494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:22:02.527478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0003.jpg', '/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0000.jpg', '/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0001.jpg', '/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/20/image_06012025_06_20_02_594273_0003.jpg
/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0000.jpg
/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0001.jpg
/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938550","1326938546","1326938545","1326938548"],"photo_ids_order":["1326938545","1326938546","1326938548","1326938550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31ae22a090d83cab834a9baa76478282.jpg","text":"TemporaryFile(/tmp/multipartBody263058289599075756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140992861,"filename":"image_06012025_06_21_02_314217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e715c27e060f702a5f7caf02d1fb23d6.jpg","text":"TemporaryFile(/tmp/multipartBody8242503216249146214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140992861,"filename":"image_06012025_06_21_02_314217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0d17a943daa0cf53d2a3004071887f7.jpg","text":"TemporaryFile(/tmp/multipartBody4109202516954829155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140992861,"filename":"image_06012025_06_20_02_594273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c9d417804653ed55ab7101b49cccab7.jpg","text":"TemporaryFile(/tmp/multipartBody4187340934095549803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736140992861,"filename":"image_06012025_06_21_02_314217_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938548","file1":"1326938546","file0":"1326938545","file3":"1326938550"},"map_files_photo_id_array":[{"photo_id":"1326938548","filename":"file2"},{"photo_id":"1326938546","filename":"file1"},{"photo_id":"1326938545","filename":"file0"},{"photo_id":"1326938550","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938550":["hashtag1","hashtag2"]},{"1326938546":["hashtag1","hashtag2"]},{"1326938545":["hashtag1","hashtag2"]},{"1326938548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938550, 1326938546, 1326938545, 1326938548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.971096992492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:23:03.167214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0003.jpg', '/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0000.jpg', '/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0003.jpg
/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0000.jpg
/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_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.72208833694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:23:22.542046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0003.jpg', '/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0000.jpg', '/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0001.jpg', '/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0002.jpg', '/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0000.jpg', '/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/21/image_06012025_06_21_02_314217_0003.jpg
/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0000.jpg
/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0001.jpg
/home/pi/Desktop/images/06012025/06/22/image_06012025_06_22_02_897626_0002.jpg
/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0000.jpg
/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_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":["1326938577","1326938579","1326938575","1326938572","1326938580","1326938568"],"photo_ids_order":["1326938568","1326938572","1326938575","1326938577","1326938579","1326938580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/737c8d65fdef2a4d4a068f56ab0bbc6d.jpg","text":"TemporaryFile(/tmp/multipartBody2414172390651469332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_22_02_897626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/762dbca82c627a7e87d43057cd4bfe58.jpg","text":"TemporaryFile(/tmp/multipartBody8727559693717634204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_23_02_480628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f706a89051dfe5b8d19ec2f2a8427da3.jpg","text":"TemporaryFile(/tmp/multipartBody3750507111417028399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_22_02_897626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb4e9bd3d6f715faa4feecbdda97d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody4760604743808152503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_22_02_897626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdef3797e29d2266e3035945b6595af4.jpg","text":"TemporaryFile(/tmp/multipartBody2241435966677721584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_23_02_480628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10167396071ce8a0e1e9ef52eb682ffc.jpg","text":"TemporaryFile(/tmp/multipartBody3881197031163756081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141077539,"filename":"image_06012025_06_21_02_314217_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938575","file1":"1326938572","file0":"1326938568","file4":"1326938579","file5":"1326938580","file3":"1326938577"},"map_files_photo_id_array":[{"photo_id":"1326938580","filename":"file5"},{"photo_id":"1326938575","filename":"file2"},{"photo_id":"1326938579","filename":"file4"},{"photo_id":"1326938572","filename":"file1"},{"photo_id":"1326938568","filename":"file0"},{"photo_id":"1326938577","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938577":["hashtag1","hashtag2"]},{"1326938579":["hashtag1","hashtag2"]},{"1326938575":["hashtag1","hashtag2"]},{"1326938572":["hashtag1","hashtag2"]},{"1326938580":["hashtag1","hashtag2"]},{"1326938568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938577, 1326938579, 1326938575, 1326938572, 1326938580, 1326938568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.03349995613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:25:02.377076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0002.jpg', '/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0003.jpg', '/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0000.jpg', '/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0001.jpg', '/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0002.jpg
/home/pi/Desktop/images/06012025/06/23/image_06012025_06_23_02_480628_0003.jpg
/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0000.jpg
/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0001.jpg
/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938715","1326938743","1326938737","1326938740","1326938641"],"photo_ids_order":["1326938641","1326938715","1326938737","1326938740","1326938743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06aeeae8ea9a077660568aff2a00f98d.jpg","text":"TemporaryFile(/tmp/multipartBody3273914449342754459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141175040,"filename":"image_06012025_06_23_02_480628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a881d4011d87b2d8a0ef2b3d3c9bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody6468233156164019983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141175040,"filename":"image_06012025_06_24_03_080088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e65337e607a251cb3d5fe8aea2a7fdfa.jpg","text":"TemporaryFile(/tmp/multipartBody2324090422923172233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141175040,"filename":"image_06012025_06_24_03_080088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ff540173571f01848f1ec511877adde.jpg","text":"TemporaryFile(/tmp/multipartBody2538097744886910038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141175040,"filename":"image_06012025_06_24_03_080088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec2ecb2b17f99a34635c915cf0cf2a4f.jpg","text":"TemporaryFile(/tmp/multipartBody580739266778034657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141175040,"filename":"image_06012025_06_23_02_480628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938737","file1":"1326938715","file0":"1326938641","file4":"1326938743","file3":"1326938740"},"map_files_photo_id_array":[{"photo_id":"1326938737","filename":"file2"},{"photo_id":"1326938743","filename":"file4"},{"photo_id":"1326938715","filename":"file1"},{"photo_id":"1326938641","filename":"file0"},{"photo_id":"1326938740","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938715":["hashtag1","hashtag2"]},{"1326938743":["hashtag1","hashtag2"]},{"1326938737":["hashtag1","hashtag2"]},{"1326938740":["hashtag1","hashtag2"]},{"1326938641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938715, 1326938743, 1326938737, 1326938740, 1326938641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.71994733810425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:26:02.754275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0003.jpg', '/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0000.jpg', '/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0001.jpg', '/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/24/image_06012025_06_24_03_080088_0003.jpg
/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0000.jpg
/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0001.jpg
/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938757","1326938755","1326938752","1326938751"],"photo_ids_order":["1326938751","1326938752","1326938755","1326938757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7225afb857ac56d84e038f78f3370f15.jpg","text":"TemporaryFile(/tmp/multipartBody6975363461203256927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141233192,"filename":"image_06012025_06_25_02_641162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ca860a32854133d22938cb4e64af027.jpg","text":"TemporaryFile(/tmp/multipartBody2433840599524461469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141233192,"filename":"image_06012025_06_25_02_641162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86c81fb4145b5d3871946bddfb70ceaf.jpg","text":"TemporaryFile(/tmp/multipartBody7996005451594847584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141233192,"filename":"image_06012025_06_25_02_641162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d2a9fedb1040f923fd2355c54550d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5591751485340199626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141233192,"filename":"image_06012025_06_24_03_080088_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938755","file1":"1326938752","file0":"1326938751","file3":"1326938757"},"map_files_photo_id_array":[{"photo_id":"1326938755","filename":"file2"},{"photo_id":"1326938752","filename":"file1"},{"photo_id":"1326938751","filename":"file0"},{"photo_id":"1326938757","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938757":["hashtag1","hashtag2"]},{"1326938755":["hashtag1","hashtag2"]},{"1326938752":["hashtag1","hashtag2"]},{"1326938751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938757, 1326938755, 1326938752, 1326938751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.39621591567993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:27:02.546916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0003.jpg', '/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0000.jpg', '/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0001.jpg', '/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/25/image_06012025_06_25_02_641162_0003.jpg
/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0000.jpg
/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0001.jpg
/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938769","1326938774","1326938768","1326938772"],"photo_ids_order":["1326938768","1326938769","1326938772","1326938774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b95c0421a80d3693d85efc5d515f69f4.jpg","text":"TemporaryFile(/tmp/multipartBody7572522279776597651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141292827,"filename":"image_06012025_06_26_02_157731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2fa4750ffcc26cd0feb2498cec11ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody8410657103490513595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141292827,"filename":"image_06012025_06_26_02_157731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea44fba0734609bcc2f8bdd7331dcd26.jpg","text":"TemporaryFile(/tmp/multipartBody5446107498123985002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141292827,"filename":"image_06012025_06_25_02_641162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fad34fd7020bf67b8008ff55c90553e.jpg","text":"TemporaryFile(/tmp/multipartBody7909143429098781504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141292827,"filename":"image_06012025_06_26_02_157731_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938772","file1":"1326938769","file0":"1326938768","file3":"1326938774"},"map_files_photo_id_array":[{"photo_id":"1326938772","filename":"file2"},{"photo_id":"1326938769","filename":"file1"},{"photo_id":"1326938768","filename":"file0"},{"photo_id":"1326938774","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938769":["hashtag1","hashtag2"]},{"1326938774":["hashtag1","hashtag2"]},{"1326938768":["hashtag1","hashtag2"]},{"1326938772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938769, 1326938774, 1326938768, 1326938772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.131346464157104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:28:02.917139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0003.jpg', '/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0000.jpg', '/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0001.jpg', '/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/26/image_06012025_06_26_02_157731_0003.jpg
/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0000.jpg
/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0001.jpg
/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938811","1326938818","1326938812","1326938815"],"photo_ids_order":["1326938811","1326938812","1326938815","1326938818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39273a573645dc9416cf792d2d3a8921.jpg","text":"TemporaryFile(/tmp/multipartBody8540540639052350387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141353213,"filename":"image_06012025_06_26_02_157731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c53545d33d0a1f46693fefdf8f559af2.jpg","text":"TemporaryFile(/tmp/multipartBody1952081915990109695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141353213,"filename":"image_06012025_06_27_02_676963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89fc148b1d5896629d42dac8cc7a0461.jpg","text":"TemporaryFile(/tmp/multipartBody6610432266686290063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141353213,"filename":"image_06012025_06_27_02_676963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48b40573e5f8d18a16af5ef0aa02d796.jpg","text":"TemporaryFile(/tmp/multipartBody6256467535769828117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141353213,"filename":"image_06012025_06_27_02_676963_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938815","file1":"1326938812","file0":"1326938811","file3":"1326938818"},"map_files_photo_id_array":[{"photo_id":"1326938815","filename":"file2"},{"photo_id":"1326938812","filename":"file1"},{"photo_id":"1326938811","filename":"file0"},{"photo_id":"1326938818","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938811":["hashtag1","hashtag2"]},{"1326938818":["hashtag1","hashtag2"]},{"1326938812":["hashtag1","hashtag2"]},{"1326938815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938811, 1326938818, 1326938812, 1326938815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33729028701782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:29:02.714632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0003.jpg', '/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0000.jpg', '/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/27/image_06012025_06_27_02_676963_0003.jpg
/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0000.jpg
/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938836","1326938830","1326938833"],"photo_ids_order":["1326938830","1326938833","1326938836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d11d1a8d311ed1c9acd95ecb226197b.jpg","text":"TemporaryFile(/tmp/multipartBody959179442773177601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141410486,"filename":"image_06012025_06_28_02_200207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58ce5f2b154b17355e1dccd01badbacb.jpg","text":"TemporaryFile(/tmp/multipartBody6719370820324860780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141410486,"filename":"image_06012025_06_27_02_676963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2a96f257b3a2dc44068936f26d977d8.jpg","text":"TemporaryFile(/tmp/multipartBody7578062576588185991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141410486,"filename":"image_06012025_06_28_02_200207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938836","file1":"1326938833","file0":"1326938830"},"map_files_photo_id_array":[{"photo_id":"1326938836","filename":"file2"},{"photo_id":"1326938833","filename":"file1"},{"photo_id":"1326938830","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938836":["hashtag1","hashtag2"]},{"1326938830":["hashtag1","hashtag2"]},{"1326938833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938836, 1326938830, 1326938833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.89620065689087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:30:03.087623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0003.jpg', '/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0000.jpg', '/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0001.jpg', '/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/28/image_06012025_06_28_02_200207_0003.jpg
/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0000.jpg
/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0001.jpg
/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326938862","1326938893","1326938860","1326938886"],"photo_ids_order":["1326938860","1326938862","1326938886","1326938893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5bcb93b335dc11adfcb6e12712b8807.jpg","text":"TemporaryFile(/tmp/multipartBody1473444552533646604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141473385,"filename":"image_06012025_06_29_02_865104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2494e2985e0d103a7e4e54a06cb18730.jpg","text":"TemporaryFile(/tmp/multipartBody5969362090025247426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141473385,"filename":"image_06012025_06_29_02_865104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3811a3348c801eee717bce99d73986c0.jpg","text":"TemporaryFile(/tmp/multipartBody507879532338301165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141473385,"filename":"image_06012025_06_28_02_200207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7fc6065d81679bb99a9dd940d8cadef.jpg","text":"TemporaryFile(/tmp/multipartBody8041066098624932199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141473385,"filename":"image_06012025_06_29_02_865104_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326938886","file1":"1326938862","file0":"1326938860","file3":"1326938893"},"map_files_photo_id_array":[{"photo_id":"1326938886","filename":"file2"},{"photo_id":"1326938862","filename":"file1"},{"photo_id":"1326938860","filename":"file0"},{"photo_id":"1326938893","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326938862":["hashtag1","hashtag2"]},{"1326938893":["hashtag1","hashtag2"]},{"1326938860":["hashtag1","hashtag2"]},{"1326938886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326938862, 1326938893, 1326938860, 1326938886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83555054664612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:31:02.787442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0003.jpg', '/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0000.jpg', '/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0001.jpg', '/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/29/image_06012025_06_29_02_865104_0003.jpg
/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0000.jpg
/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0001.jpg
/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939035","1326939029","1326939030","1326939033"],"photo_ids_order":["1326939029","1326939030","1326939033","1326939035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44d865fc7cf592c92a449a7580fe20d2.jpg","text":"TemporaryFile(/tmp/multipartBody118942839627704514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141532968,"filename":"image_06012025_06_30_02_401660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7afa8c7b4fa3537e11213cb8f1ad942a.jpg","text":"TemporaryFile(/tmp/multipartBody4320942892553884447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141532968,"filename":"image_06012025_06_29_02_865104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b14afac02f9604db4553c7566616988.jpg","text":"TemporaryFile(/tmp/multipartBody1434832769380751017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141532968,"filename":"image_06012025_06_30_02_401660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b74674b55925b3a47142f9cfc6fdc2b.jpg","text":"TemporaryFile(/tmp/multipartBody4157340433314288260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141532968,"filename":"image_06012025_06_30_02_401660_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939033","file1":"1326939030","file0":"1326939029","file3":"1326939035"},"map_files_photo_id_array":[{"photo_id":"1326939033","filename":"file2"},{"photo_id":"1326939030","filename":"file1"},{"photo_id":"1326939029","filename":"file0"},{"photo_id":"1326939035","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939035":["hashtag1","hashtag2"]},{"1326939029":["hashtag1","hashtag2"]},{"1326939030":["hashtag1","hashtag2"]},{"1326939033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939035, 1326939029, 1326939030, 1326939033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06057691574097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:32:02.339601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0003.jpg', '/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0000.jpg', '/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0001.jpg', '/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/30/image_06012025_06_30_02_401660_0003.jpg
/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0000.jpg
/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0001.jpg
/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939052","1326939046","1326939049","1326939045"],"photo_ids_order":["1326939045","1326939046","1326939049","1326939052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b44af181007c2020d035450ebfa1e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody558344774933235235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141592449,"filename":"image_06012025_06_31_03_089663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64d645af8c0d1b65ba6c36ae993a9863.jpg","text":"TemporaryFile(/tmp/multipartBody2685614466577088388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141592449,"filename":"image_06012025_06_31_03_089663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5de0122664438fececa30bcb585763f7.jpg","text":"TemporaryFile(/tmp/multipartBody999846298411655671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141592449,"filename":"image_06012025_06_31_03_089663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8bb4f7d4162846632b197d0917d8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1638319471615849660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141592449,"filename":"image_06012025_06_30_02_401660_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939049","file1":"1326939046","file0":"1326939045","file3":"1326939052"},"map_files_photo_id_array":[{"photo_id":"1326939049","filename":"file2"},{"photo_id":"1326939046","filename":"file1"},{"photo_id":"1326939045","filename":"file0"},{"photo_id":"1326939052","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939052":["hashtag1","hashtag2"]},{"1326939046":["hashtag1","hashtag2"]},{"1326939049":["hashtag1","hashtag2"]},{"1326939045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939052, 1326939046, 1326939049, 1326939045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.636711835861206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:33:03.101424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0003.jpg', '/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0000.jpg', '/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0001.jpg', '/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/31/image_06012025_06_31_03_089663_0003.jpg
/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0000.jpg
/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0001.jpg
/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939062","1326939065","1326939067","1326939061"],"photo_ids_order":["1326939061","1326939062","1326939065","1326939067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b009c7f41dcd18752aa9e1dfd68970e.jpg","text":"TemporaryFile(/tmp/multipartBody8456834190259337268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141653174,"filename":"image_06012025_06_32_02_599448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/037f342963c5227161e228bb949446d1.jpg","text":"TemporaryFile(/tmp/multipartBody9039522818457279664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141653174,"filename":"image_06012025_06_32_02_599448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82933dd1b28f605ff9b814f8f6b406e1.jpg","text":"TemporaryFile(/tmp/multipartBody3792604086756526259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141653174,"filename":"image_06012025_06_32_02_599448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8c8a3fd40a3fb993a6b0cca1715b7baf.jpg","text":"TemporaryFile(/tmp/multipartBody7973930474326713543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141653174,"filename":"image_06012025_06_31_03_089663_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939065","file1":"1326939062","file0":"1326939061","file3":"1326939067"},"map_files_photo_id_array":[{"photo_id":"1326939065","filename":"file2"},{"photo_id":"1326939062","filename":"file1"},{"photo_id":"1326939061","filename":"file0"},{"photo_id":"1326939067","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939062":["hashtag1","hashtag2"]},{"1326939065":["hashtag1","hashtag2"]},{"1326939067":["hashtag1","hashtag2"]},{"1326939061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939062, 1326939065, 1326939067, 1326939061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.054059743881226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:34:02.401464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0003.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0000.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0001.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0003.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0000.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0001.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_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.745551109313965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:34:21.946032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0003.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0000.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0001.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0002.jpg', '/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0003.jpg', '/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/32/image_06012025_06_32_02_599448_0003.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0000.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0001.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0002.jpg
/home/pi/Desktop/images/06012025/06/33/image_06012025_06_33_02_233575_0003.jpg
/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939120","1326939114","1326939117","1326939122","1326939128","1326939124"],"photo_ids_order":["1326939114","1326939117","1326939120","1326939122","1326939124","1326939128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec4f5e3983b4b84e9003a9a6e03302f5.jpg","text":"TemporaryFile(/tmp/multipartBody2360373780334999742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_33_02_233575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/989287b2ee1a616192c74e7af3369b24.jpg","text":"TemporaryFile(/tmp/multipartBody355591333391536830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_32_02_599448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43b81e9ec54d1e6453e441982b3e6ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8852731550583367965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_33_02_233575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a446abf00313b9455045fda08dde55d4.jpg","text":"TemporaryFile(/tmp/multipartBody5032534536415005724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_33_02_233575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a406d024dd778359f19f4821380bc32a.jpg","text":"TemporaryFile(/tmp/multipartBody8976895812188583672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_34_02_748331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6814aca7bcd01b6489e4cb2a01439bd.jpg","text":"TemporaryFile(/tmp/multipartBody8346030364388642395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141736694,"filename":"image_06012025_06_33_02_233575_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939120","file1":"1326939117","file0":"1326939114","file4":"1326939124","file5":"1326939128","file3":"1326939122"},"map_files_photo_id_array":[{"photo_id":"1326939128","filename":"file5"},{"photo_id":"1326939120","filename":"file2"},{"photo_id":"1326939124","filename":"file4"},{"photo_id":"1326939117","filename":"file1"},{"photo_id":"1326939114","filename":"file0"},{"photo_id":"1326939122","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939120":["hashtag1","hashtag2"]},{"1326939114":["hashtag1","hashtag2"]},{"1326939117":["hashtag1","hashtag2"]},{"1326939122":["hashtag1","hashtag2"]},{"1326939128":["hashtag1","hashtag2"]},{"1326939124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939120, 1326939114, 1326939117, 1326939122, 1326939128, 1326939124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.738107681274414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:35:22.472046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0001.jpg', '/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0002.jpg', '/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0003.jpg', '/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0000.jpg', '/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0001.jpg', '/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0001.jpg
/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0002.jpg
/home/pi/Desktop/images/06012025/06/34/image_06012025_06_34_02_748331_0003.jpg
/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0000.jpg
/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0001.jpg
/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939152","1326939154","1326939156","1326939150","1326939144","1326939147"],"photo_ids_order":["1326939144","1326939147","1326939150","1326939152","1326939154","1326939156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9de6b015446e39875cd72985f8bc1559.jpg","text":"TemporaryFile(/tmp/multipartBody4069894066752570472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_35_02_341035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d414344e2d4e3f414a4e664191b3992.jpg","text":"TemporaryFile(/tmp/multipartBody633382269805468799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_35_02_341035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ddd52de49be99c0dd0c28a600a8247d.jpg","text":"TemporaryFile(/tmp/multipartBody5660882164701033075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_35_02_341035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edd1cfed257543e52c033f5019127692.jpg","text":"TemporaryFile(/tmp/multipartBody9149757364075045600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_34_02_748331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17c606ab7c563f5266249c3f649dbef9.jpg","text":"TemporaryFile(/tmp/multipartBody8505910945063443365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_34_02_748331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef81aebbd49a7784db6014868dbe8afd.jpg","text":"TemporaryFile(/tmp/multipartBody2337298644202947937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141797342,"filename":"image_06012025_06_34_02_748331_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939150","file1":"1326939147","file0":"1326939144","file4":"1326939154","file5":"1326939156","file3":"1326939152"},"map_files_photo_id_array":[{"photo_id":"1326939156","filename":"file5"},{"photo_id":"1326939150","filename":"file2"},{"photo_id":"1326939154","filename":"file4"},{"photo_id":"1326939147","filename":"file1"},{"photo_id":"1326939144","filename":"file0"},{"photo_id":"1326939152","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939152":["hashtag1","hashtag2"]},{"1326939154":["hashtag1","hashtag2"]},{"1326939156":["hashtag1","hashtag2"]},{"1326939150":["hashtag1","hashtag2"]},{"1326939144":["hashtag1","hashtag2"]},{"1326939147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939152, 1326939154, 1326939156, 1326939150, 1326939144, 1326939147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87471055984497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:36:22.022128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0003.jpg', '/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0000.jpg', '/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/35/image_06012025_06_35_02_341035_0003.jpg
/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0000.jpg
/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939166","1326939162","1326939159"],"photo_ids_order":["1326939159","1326939162","1326939166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6e939baaed9b86f86afac63f70d3d11.jpg","text":"TemporaryFile(/tmp/multipartBody4773804930181241093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141849724,"filename":"image_06012025_06_36_02_873916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19c1817755cbdc73a7d4ffe7f03bbc96.jpg","text":"TemporaryFile(/tmp/multipartBody1894418036801622326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141849724,"filename":"image_06012025_06_36_02_873916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80e262580af5c2d04444e4d59038e59e.jpg","text":"TemporaryFile(/tmp/multipartBody5428664151186537101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141849724,"filename":"image_06012025_06_35_02_341035_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939166","file1":"1326939162","file0":"1326939159"},"map_files_photo_id_array":[{"photo_id":"1326939166","filename":"file2"},{"photo_id":"1326939162","filename":"file1"},{"photo_id":"1326939159","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939166":["hashtag1","hashtag2"]},{"1326939162":["hashtag1","hashtag2"]},{"1326939159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939166, 1326939162, 1326939159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.09937906265259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:37:02.973908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:37:22.521111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0003.jpg', '/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0000.jpg', '/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0001.jpg', '/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/36/image_06012025_06_36_02_873916_0003.jpg
/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0000.jpg
/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0001.jpg
/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939213","1326939207","1326939204","1326939210"],"photo_ids_order":["1326939204","1326939207","1326939210","1326939213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f1df6b728deb0fc6f8487f0a26524dd.jpg","text":"TemporaryFile(/tmp/multipartBody8935669893998362459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141912621,"filename":"image_06012025_06_37_02_427811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f2364fdc2d8beb911de5bcb93d812b8.jpg","text":"TemporaryFile(/tmp/multipartBody6318328751918223726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141912621,"filename":"image_06012025_06_37_02_427811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44adcea955eaf3af95ebe5f4c9fbc773.jpg","text":"TemporaryFile(/tmp/multipartBody3629168831079873280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141912621,"filename":"image_06012025_06_36_02_873916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/266d2188bef5fd03a431e454e65f1123.jpg","text":"TemporaryFile(/tmp/multipartBody4396801235824257612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141912621,"filename":"image_06012025_06_37_02_427811_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939210","file1":"1326939207","file0":"1326939204","file3":"1326939213"},"map_files_photo_id_array":[{"photo_id":"1326939210","filename":"file2"},{"photo_id":"1326939207","filename":"file1"},{"photo_id":"1326939204","filename":"file0"},{"photo_id":"1326939213","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939213":["hashtag1","hashtag2"]},{"1326939207":["hashtag1","hashtag2"]},{"1326939204":["hashtag1","hashtag2"]},{"1326939210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939213, 1326939207, 1326939204, 1326939210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6287682056427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:38:02.614919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:38:22.215511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0003.jpg', '/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0000.jpg', '/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0001.jpg', '/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/37/image_06012025_06_37_02_427811_0003.jpg
/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0000.jpg
/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0001.jpg
/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939221","1326939230","1326939224","1326939227"],"photo_ids_order":["1326939221","1326939224","1326939227","1326939230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b2497a1975a517c90960f99e5486982.jpg","text":"TemporaryFile(/tmp/multipartBody4163310362212228542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141972262,"filename":"image_06012025_06_37_02_427811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1581d6189f5d04abf32f9c137b184c36.jpg","text":"TemporaryFile(/tmp/multipartBody7053252196447120845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141972262,"filename":"image_06012025_06_38_02_995978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82a42ffc1859f0b02ee6b13fd5f8d631.jpg","text":"TemporaryFile(/tmp/multipartBody7481614088957638676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141972262,"filename":"image_06012025_06_38_02_995978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53c405143d9232fbd640fe5810c52b9a.jpg","text":"TemporaryFile(/tmp/multipartBody9020287075959828476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736141972262,"filename":"image_06012025_06_38_02_995978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939227","file1":"1326939224","file0":"1326939221","file3":"1326939230"},"map_files_photo_id_array":[{"photo_id":"1326939227","filename":"file2"},{"photo_id":"1326939224","filename":"file1"},{"photo_id":"1326939221","filename":"file0"},{"photo_id":"1326939230","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939221":["hashtag1","hashtag2"]},{"1326939230":["hashtag1","hashtag2"]},{"1326939224":["hashtag1","hashtag2"]},{"1326939227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939221, 1326939230, 1326939224, 1326939227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.311580181121826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:39:02.412678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:39:21.825051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0003.jpg', '/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0000.jpg', '/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0001.jpg', '/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/38/image_06012025_06_38_02_995978_0003.jpg
/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0000.jpg
/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0001.jpg
/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939240","1326939251","1326939236","1326939243"],"photo_ids_order":["1326939236","1326939240","1326939243","1326939251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/392bc7ce368bdca2336cc73214648dce.jpg","text":"TemporaryFile(/tmp/multipartBody941225011002951906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142031838,"filename":"image_06012025_06_39_02_650549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f66aedeb8b24629017fdf3986cd14591.jpg","text":"TemporaryFile(/tmp/multipartBody245962966026046162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142031838,"filename":"image_06012025_06_39_02_650549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/401ac216777e8d99329287fd1ab1a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody2838774773587752780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142031838,"filename":"image_06012025_06_38_02_995978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b181d3cc1a8d16bf66102492d953e06.jpg","text":"TemporaryFile(/tmp/multipartBody2289929562963708182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142031838,"filename":"image_06012025_06_39_02_650549_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939243","file1":"1326939240","file0":"1326939236","file3":"1326939251"},"map_files_photo_id_array":[{"photo_id":"1326939243","filename":"file2"},{"photo_id":"1326939240","filename":"file1"},{"photo_id":"1326939236","filename":"file0"},{"photo_id":"1326939251","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939240":["hashtag1","hashtag2"]},{"1326939251":["hashtag1","hashtag2"]},{"1326939236":["hashtag1","hashtag2"]},{"1326939243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939240, 1326939251, 1326939236, 1326939243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86609435081482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:40:02.991006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:40:22.536316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0003.jpg', '/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0000.jpg', '/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0001.jpg', '/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/39/image_06012025_06_39_02_650549_0003.jpg
/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0000.jpg
/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0001.jpg
/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939290","1326939287","1326939292","1326939294"],"photo_ids_order":["1326939287","1326939290","1326939292","1326939294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9389bf5db7cfd9d0c73cebe39d91ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody1209843792955292997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142092549,"filename":"image_06012025_06_40_02_209103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aaac3ec47feb6005bb72fe0fba967fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6744921652600252963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142092549,"filename":"image_06012025_06_39_02_650549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6871e1223d3c49511c20ee6908b8cde0.jpg","text":"TemporaryFile(/tmp/multipartBody2078185951793047720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142092549,"filename":"image_06012025_06_40_02_209103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42cc7d2d2c037ff266691739bb99e588.jpg","text":"TemporaryFile(/tmp/multipartBody6349022946453674305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142092549,"filename":"image_06012025_06_40_02_209103_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939292","file1":"1326939290","file0":"1326939287","file3":"1326939294"},"map_files_photo_id_array":[{"photo_id":"1326939292","filename":"file2"},{"photo_id":"1326939290","filename":"file1"},{"photo_id":"1326939287","filename":"file0"},{"photo_id":"1326939294","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939290":["hashtag1","hashtag2"]},{"1326939287":["hashtag1","hashtag2"]},{"1326939292":["hashtag1","hashtag2"]},{"1326939294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939290, 1326939287, 1326939292, 1326939294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.53499889373779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:41:22.142921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0003.jpg', '/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0000.jpg', '/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0001.jpg', '/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/40/image_06012025_06_40_02_209103_0003.jpg
/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0000.jpg
/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0001.jpg
/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939307","1326939301","1326939310","1326939304"],"photo_ids_order":["1326939301","1326939304","1326939307","1326939310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f6af2c14cd097e22fa1c1503cf0e99f.jpg","text":"TemporaryFile(/tmp/multipartBody2163983604596461638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142152295,"filename":"image_06012025_06_41_02_962071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89d60eb2f4d3d789e099dda71dd376e4.jpg","text":"TemporaryFile(/tmp/multipartBody3831802410782640036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142152295,"filename":"image_06012025_06_40_02_209103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a54912a099c52ed7c76c908d17ee243b.jpg","text":"TemporaryFile(/tmp/multipartBody3367314194005449404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142152295,"filename":"image_06012025_06_41_02_962071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d1e77b0b04a8798c322b0484d865429.jpg","text":"TemporaryFile(/tmp/multipartBody137362148601295734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142152295,"filename":"image_06012025_06_41_02_962071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939307","file1":"1326939304","file0":"1326939301","file3":"1326939310"},"map_files_photo_id_array":[{"photo_id":"1326939307","filename":"file2"},{"photo_id":"1326939304","filename":"file1"},{"photo_id":"1326939301","filename":"file0"},{"photo_id":"1326939310","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939307":["hashtag1","hashtag2"]},{"1326939301":["hashtag1","hashtag2"]},{"1326939310":["hashtag1","hashtag2"]},{"1326939304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939307, 1326939301, 1326939310, 1326939304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07530689239502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:42:03.068840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:42:22.598890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0003.jpg', '/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0000.jpg', '/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0001.jpg', '/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/41/image_06012025_06_41_02_962071_0003.jpg
/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0000.jpg
/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0001.jpg
/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939315","1326939325","1326939349","1326939328"],"photo_ids_order":["1326939315","1326939325","1326939328","1326939349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33de263231b4763d1b89f8f97bde6b34.jpg","text":"TemporaryFile(/tmp/multipartBody3636922568697637890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142213005,"filename":"image_06012025_06_41_02_962071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d4716ada3635fac21e1dcd80c7dc391.jpg","text":"TemporaryFile(/tmp/multipartBody4231294342773715612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142213005,"filename":"image_06012025_06_42_02_486594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/842483dc3f754954970c6389f1c8b07a.jpg","text":"TemporaryFile(/tmp/multipartBody6926271147898192579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142213005,"filename":"image_06012025_06_42_02_486594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb6eb41a0d71f29337e5db502ef41729.jpg","text":"TemporaryFile(/tmp/multipartBody2606979371689322383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142213005,"filename":"image_06012025_06_42_02_486594_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939328","file1":"1326939325","file0":"1326939315","file3":"1326939349"},"map_files_photo_id_array":[{"photo_id":"1326939328","filename":"file2"},{"photo_id":"1326939325","filename":"file1"},{"photo_id":"1326939315","filename":"file0"},{"photo_id":"1326939349","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939315":["hashtag1","hashtag2"]},{"1326939325":["hashtag1","hashtag2"]},{"1326939349":["hashtag1","hashtag2"]},{"1326939328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939315, 1326939325, 1326939349, 1326939328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59443926811218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:43:22.231058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0003.jpg', '/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0000.jpg', '/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0001.jpg', '/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/42/image_06012025_06_42_02_486594_0003.jpg
/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0000.jpg
/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0001.jpg
/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939361","1326939364","1326939358","1326939367"],"photo_ids_order":["1326939358","1326939361","1326939364","1326939367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7d595049a20ac5294b42b8130d319f1.jpg","text":"TemporaryFile(/tmp/multipartBody3063260940307177526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142272357,"filename":"image_06012025_06_43_03_055648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73df5aada7b06bb33ec8ea2b134fb52c.jpg","text":"TemporaryFile(/tmp/multipartBody2606958631823622524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142272357,"filename":"image_06012025_06_43_03_055648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/501433a1da0962867e65bfc817a04756.jpg","text":"TemporaryFile(/tmp/multipartBody7971130488566827784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142272357,"filename":"image_06012025_06_42_02_486594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57f419775e76ec1f51b027b8747556b5.jpg","text":"TemporaryFile(/tmp/multipartBody8214170533982224204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142272357,"filename":"image_06012025_06_43_03_055648_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939364","file1":"1326939361","file0":"1326939358","file3":"1326939367"},"map_files_photo_id_array":[{"photo_id":"1326939364","filename":"file2"},{"photo_id":"1326939361","filename":"file1"},{"photo_id":"1326939358","filename":"file0"},{"photo_id":"1326939367","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939361":["hashtag1","hashtag2"]},{"1326939364":["hashtag1","hashtag2"]},{"1326939358":["hashtag1","hashtag2"]},{"1326939367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939361, 1326939364, 1326939358, 1326939367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.66729474067688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:44:02.284684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:44:21.802860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0003.jpg', '/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0000.jpg', '/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0001.jpg', '/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/43/image_06012025_06_43_03_055648_0003.jpg
/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0000.jpg
/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0001.jpg
/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939386","1326939394","1326939379","1326939390"],"photo_ids_order":["1326939379","1326939386","1326939390","1326939394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc4be34f2cdf5293cd65d2866b04e7a0.jpg","text":"TemporaryFile(/tmp/multipartBody7719051855766942596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142332045,"filename":"image_06012025_06_44_02_631936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67ac71f434ac18f43c34c25c131c0696.jpg","text":"TemporaryFile(/tmp/multipartBody2701483519305950971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142332045,"filename":"image_06012025_06_44_02_631936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9728d1360ddcefc4f930e416fdfbeffa.jpg","text":"TemporaryFile(/tmp/multipartBody5989030668264784741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142332045,"filename":"image_06012025_06_43_03_055648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8b1077f1f4959aa238ea69613285ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5159761282215691195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142332045,"filename":"image_06012025_06_44_02_631936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939390","file1":"1326939386","file0":"1326939379","file3":"1326939394"},"map_files_photo_id_array":[{"photo_id":"1326939390","filename":"file2"},{"photo_id":"1326939386","filename":"file1"},{"photo_id":"1326939379","filename":"file0"},{"photo_id":"1326939394","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939386":["hashtag1","hashtag2"]},{"1326939394":["hashtag1","hashtag2"]},{"1326939379":["hashtag1","hashtag2"]},{"1326939390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939386, 1326939394, 1326939379, 1326939390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36949968338013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:45:03.083254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:45:22.330027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0003.jpg', '/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0000.jpg', '/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0001.jpg', '/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/44/image_06012025_06_44_02_631936_0003.jpg
/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0000.jpg
/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0001.jpg
/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939410","1326939404","1326939407","1326939421"],"photo_ids_order":["1326939404","1326939407","1326939410","1326939421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afcfbd94ce617eeee95ea62505d60e16.jpg","text":"TemporaryFile(/tmp/multipartBody1517572812844523580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142392508,"filename":"image_06012025_06_45_02_240994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da9aa3619cdd69d9ea1587ced49d1be4.jpg","text":"TemporaryFile(/tmp/multipartBody1578939645270560361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142392508,"filename":"image_06012025_06_44_02_631936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f91784ceda3eff34345647fc58f8c6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5445360482800837813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142392508,"filename":"image_06012025_06_45_02_240994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b28027af8116c97506683a2ea390dc15.jpg","text":"TemporaryFile(/tmp/multipartBody7545563061090849304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142392508,"filename":"image_06012025_06_45_02_240994_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939410","file1":"1326939407","file0":"1326939404","file3":"1326939421"},"map_files_photo_id_array":[{"photo_id":"1326939410","filename":"file2"},{"photo_id":"1326939407","filename":"file1"},{"photo_id":"1326939404","filename":"file0"},{"photo_id":"1326939421","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939410":["hashtag1","hashtag2"]},{"1326939404":["hashtag1","hashtag2"]},{"1326939407":["hashtag1","hashtag2"]},{"1326939421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939410, 1326939404, 1326939407, 1326939421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.09819221496582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:46:22.087912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0003.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0000.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0001.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0003.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0000.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0001.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_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.545552015304565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:47:03.260620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0003.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0000.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0001.jpg', '/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/45/image_06012025_06_45_02_240994_0003.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0000.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0001.jpg
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939464","1326939467","1326939461","1326939460"],"photo_ids_order":["1326939460","1326939461","1326939464","1326939467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad32bfaad6f49383d939417745599308.jpg","text":"TemporaryFile(/tmp/multipartBody991416945095906673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142493217,"filename":"image_06012025_06_46_02_750057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/416102ef37777b0002a00dc8d0e39229.jpg","text":"TemporaryFile(/tmp/multipartBody6941825627117742230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142493217,"filename":"image_06012025_06_46_02_750057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d099ec4277ac40586d7167d38137d8.jpg","text":"TemporaryFile(/tmp/multipartBody7191390271081080698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142493217,"filename":"image_06012025_06_46_02_750057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e17528067615415c29bfc250dc82ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5302019747936525693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142493217,"filename":"image_06012025_06_45_02_240994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939464","file1":"1326939461","file0":"1326939460","file3":"1326939467"},"map_files_photo_id_array":[{"photo_id":"1326939464","filename":"file2"},{"photo_id":"1326939461","filename":"file1"},{"photo_id":"1326939460","filename":"file0"},{"photo_id":"1326939467","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939464":["hashtag1","hashtag2"]},{"1326939467":["hashtag1","hashtag2"]},{"1326939461":["hashtag1","hashtag2"]},{"1326939460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939464, 1326939467, 1326939461, 1326939460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.857893228530884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:48:02.763535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0003.jpg', '/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0000.jpg', '/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0001.jpg', '/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/46/image_06012025_06_46_02_750057_0003.jpg
/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0000.jpg
/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0001.jpg
/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939491","1326939498","1326939492","1326939495"],"photo_ids_order":["1326939491","1326939492","1326939495","1326939498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85936b112c3f01c199ac1f15b8369314.jpg","text":"TemporaryFile(/tmp/multipartBody5586363471652698581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142552942,"filename":"image_06012025_06_46_02_750057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df5ac0a55af3ffc9106a241a984808d7.jpg","text":"TemporaryFile(/tmp/multipartBody1919914547643578859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142552942,"filename":"image_06012025_06_47_02_457088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a15d60e6132aedad38c66eded79c36c.jpg","text":"TemporaryFile(/tmp/multipartBody8124636968641382908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142552942,"filename":"image_06012025_06_47_02_457088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ebf63e794e2427f7b9b5da47ac658245.jpg","text":"TemporaryFile(/tmp/multipartBody3877570823079648861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142552942,"filename":"image_06012025_06_47_02_457088_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939495","file1":"1326939492","file0":"1326939491","file3":"1326939498"},"map_files_photo_id_array":[{"photo_id":"1326939495","filename":"file2"},{"photo_id":"1326939492","filename":"file1"},{"photo_id":"1326939491","filename":"file0"},{"photo_id":"1326939498","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939491":["hashtag1","hashtag2"]},{"1326939498":["hashtag1","hashtag2"]},{"1326939492":["hashtag1","hashtag2"]},{"1326939495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939491, 1326939498, 1326939492, 1326939495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7737250328064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:49:02.479066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0003.jpg', '/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0000.jpg', '/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0001.jpg', '/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/47/image_06012025_06_47_02_457088_0003.jpg
/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0000.jpg
/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0001.jpg
/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939596","1326939598","1326939577","1326939600"],"photo_ids_order":["1326939577","1326939596","1326939598","1326939600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d263945a65a4bc700b61b7c9fcaa519.jpg","text":"TemporaryFile(/tmp/multipartBody8593912113746274337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142612711,"filename":"image_06012025_06_48_02_993508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de18bd0799e5aba79d91a33f2025bd53.jpg","text":"TemporaryFile(/tmp/multipartBody5239864332023298977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142612711,"filename":"image_06012025_06_48_02_993508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79db37371ac3d444f7574b165c1f1c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1278560705411509165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142612711,"filename":"image_06012025_06_47_02_457088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4b01217caf4ceadfd4a60163046ad33.jpg","text":"TemporaryFile(/tmp/multipartBody9025439696483415788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142612711,"filename":"image_06012025_06_48_02_993508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939598","file1":"1326939596","file0":"1326939577","file3":"1326939600"},"map_files_photo_id_array":[{"photo_id":"1326939598","filename":"file2"},{"photo_id":"1326939596","filename":"file1"},{"photo_id":"1326939577","filename":"file0"},{"photo_id":"1326939600","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939596":["hashtag1","hashtag2"]},{"1326939598":["hashtag1","hashtag2"]},{"1326939577":["hashtag1","hashtag2"]},{"1326939600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939596, 1326939598, 1326939577, 1326939600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06136727333069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:50:02.915886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0003.jpg', '/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0000.jpg', '/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0001.jpg', '/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/48/image_06012025_06_48_02_993508_0003.jpg
/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0000.jpg
/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0001.jpg
/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939611","1326939610","1326939613","1326939615"],"photo_ids_order":["1326939610","1326939611","1326939613","1326939615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e77dda47bd0bd77133e4250b834924f3.jpg","text":"TemporaryFile(/tmp/multipartBody1379821960147782493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142673148,"filename":"image_06012025_06_49_02_666220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bce9736e90337662aaeedd31f0c5680.jpg","text":"TemporaryFile(/tmp/multipartBody438314813907267728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142673148,"filename":"image_06012025_06_48_02_993508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e6572d25ad493e580333d909d0fa039.jpg","text":"TemporaryFile(/tmp/multipartBody6456146742011050911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142673148,"filename":"image_06012025_06_49_02_666220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9b7aa5bc36a6b53c5a8c4e300ab729b.jpg","text":"TemporaryFile(/tmp/multipartBody4806624344545636706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142673148,"filename":"image_06012025_06_49_02_666220_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939613","file1":"1326939611","file0":"1326939610","file3":"1326939615"},"map_files_photo_id_array":[{"photo_id":"1326939613","filename":"file2"},{"photo_id":"1326939611","filename":"file1"},{"photo_id":"1326939610","filename":"file0"},{"photo_id":"1326939615","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939611":["hashtag1","hashtag2"]},{"1326939610":["hashtag1","hashtag2"]},{"1326939613":["hashtag1","hashtag2"]},{"1326939615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939611, 1326939610, 1326939613, 1326939615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02803635597229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:51:02.850323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0003.jpg', '/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0000.jpg', '/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0001.jpg', '/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/49/image_06012025_06_49_02_666220_0003.jpg
/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0000.jpg
/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0001.jpg
/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939632","1326939634","1326939631","1326939636"],"photo_ids_order":["1326939631","1326939632","1326939634","1326939636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60cc8fc32ad26acada820b21e71b9df4.jpg","text":"TemporaryFile(/tmp/multipartBody560170476625444812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142733048,"filename":"image_06012025_06_50_02_310635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b90b39d75573beb82b274056e5d0c412.jpg","text":"TemporaryFile(/tmp/multipartBody6590391057628629350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142733048,"filename":"image_06012025_06_50_02_310635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bd34f400ab20eb8a253fc1452f37a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody8946415429580613907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142733048,"filename":"image_06012025_06_49_02_666220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9bb41fc44445208440f30b2b74204e9.jpg","text":"TemporaryFile(/tmp/multipartBody5976114620105197838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142733048,"filename":"image_06012025_06_50_02_310635_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939634","file1":"1326939632","file0":"1326939631","file3":"1326939636"},"map_files_photo_id_array":[{"photo_id":"1326939634","filename":"file2"},{"photo_id":"1326939632","filename":"file1"},{"photo_id":"1326939631","filename":"file0"},{"photo_id":"1326939636","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939632":["hashtag1","hashtag2"]},{"1326939634":["hashtag1","hashtag2"]},{"1326939631":["hashtag1","hashtag2"]},{"1326939636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939632, 1326939634, 1326939631, 1326939636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54245591163635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:52:03.093542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0003.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0000.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0001.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0003.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0000.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0001.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_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.760485410690308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:52:22.718543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0003.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0000.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0001.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0002.jpg', '/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0003.jpg', '/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/50/image_06012025_06_50_02_310635_0003.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0000.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0001.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0002.jpg
/home/pi/Desktop/images/06012025/06/51/image_06012025_06_51_02_993736_0003.jpg
/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939711","1326939716","1326939718","1326939783","1326939714","1326939708"],"photo_ids_order":["1326939708","1326939711","1326939714","1326939716","1326939718","1326939783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0149f74935423c97762e39233e15b940.jpg","text":"TemporaryFile(/tmp/multipartBody3373116932450213243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_51_02_993736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e7a60335fa854bee8f3112737165dad.jpg","text":"TemporaryFile(/tmp/multipartBody5193842535120047023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_51_02_993736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aebbd2c899f3e349c986b49f7daf1e78.jpg","text":"TemporaryFile(/tmp/multipartBody6759650379100960117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_51_02_993736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3bec44fdf9b1a327c5b68c8e0e1259b0.jpg","text":"TemporaryFile(/tmp/multipartBody1230624725812161388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_52_02_556795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/933185f496d394936a5b5a9cee2f1692.jpg","text":"TemporaryFile(/tmp/multipartBody717455534362520633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_51_02_993736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e71accca2835f5e392f9bcff83e3d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2212183933166751199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142817562,"filename":"image_06012025_06_50_02_310635_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939714","file1":"1326939711","file0":"1326939708","file4":"1326939718","file5":"1326939783","file3":"1326939716"},"map_files_photo_id_array":[{"photo_id":"1326939783","filename":"file5"},{"photo_id":"1326939714","filename":"file2"},{"photo_id":"1326939718","filename":"file4"},{"photo_id":"1326939711","filename":"file1"},{"photo_id":"1326939708","filename":"file0"},{"photo_id":"1326939716","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939711":["hashtag1","hashtag2"]},{"1326939716":["hashtag1","hashtag2"]},{"1326939718":["hashtag1","hashtag2"]},{"1326939783":["hashtag1","hashtag2"]},{"1326939714":["hashtag1","hashtag2"]},{"1326939708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939711, 1326939716, 1326939718, 1326939783, 1326939714, 1326939708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.65905570983887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:53:22.307760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0001.jpg', '/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0002.jpg', '/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0003.jpg', '/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0000.jpg', '/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0001.jpg', '/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0001.jpg
/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0002.jpg
/home/pi/Desktop/images/06012025/06/52/image_06012025_06_52_02_556795_0003.jpg
/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0000.jpg
/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0001.jpg
/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939899","1326939893","1326939895","1326939841","1326939844","1326939897"],"photo_ids_order":["1326939841","1326939844","1326939893","1326939895","1326939897","1326939899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/190c87d94306bbc31b6b805363ea3876.jpg","text":"TemporaryFile(/tmp/multipartBody4014663266243986528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_53_03_147639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0df6ade665e930091b5c0afdf472e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody2408203631895885662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_52_02_556795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95a40b8f3d4a703bde0e3ec8ba5f9e52.jpg","text":"TemporaryFile(/tmp/multipartBody5838450439059735683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_53_03_147639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a68146f0eca0af562e9e8fa020026694.jpg","text":"TemporaryFile(/tmp/multipartBody1609031578729213311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_52_02_556795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9b11fe4ddc87d11e2b70ad2eeca16d5.jpg","text":"TemporaryFile(/tmp/multipartBody1734975366559302881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_52_02_556795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2290acbf1a9a196df06f95ca52134b56.jpg","text":"TemporaryFile(/tmp/multipartBody4820608296523438814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142877312,"filename":"image_06012025_06_53_03_147639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939893","file1":"1326939844","file0":"1326939841","file4":"1326939897","file5":"1326939899","file3":"1326939895"},"map_files_photo_id_array":[{"photo_id":"1326939899","filename":"file5"},{"photo_id":"1326939893","filename":"file2"},{"photo_id":"1326939897","filename":"file4"},{"photo_id":"1326939844","filename":"file1"},{"photo_id":"1326939841","filename":"file0"},{"photo_id":"1326939895","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939899":["hashtag1","hashtag2"]},{"1326939893":["hashtag1","hashtag2"]},{"1326939895":["hashtag1","hashtag2"]},{"1326939841":["hashtag1","hashtag2"]},{"1326939844":["hashtag1","hashtag2"]},{"1326939897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939899, 1326939893, 1326939895, 1326939841, 1326939844, 1326939897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75323414802551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:54:21.938352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0003.jpg', '/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0000.jpg', '/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0001.jpg', '/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/53/image_06012025_06_53_03_147639_0003.jpg
/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0000.jpg
/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0001.jpg
/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939909","1326939923","1326939913","1326939906"],"photo_ids_order":["1326939906","1326939909","1326939913","1326939923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/badd4063ade50f9d5107f003bea9b971.jpg","text":"TemporaryFile(/tmp/multipartBody3424813084608678535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142932058,"filename":"image_06012025_06_54_02_697377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c48e522741de45adeea46c3535473acd.jpg","text":"TemporaryFile(/tmp/multipartBody1670397519643660590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142932058,"filename":"image_06012025_06_54_02_697377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da3c3d364adad0fb4bf0bd3d3aae522b.jpg","text":"TemporaryFile(/tmp/multipartBody3850479075568961379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142932058,"filename":"image_06012025_06_54_02_697377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d178c6cd6bc3118d82e7277e7627c86f.jpg","text":"TemporaryFile(/tmp/multipartBody658461308524137935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142932058,"filename":"image_06012025_06_53_03_147639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939913","file1":"1326939909","file0":"1326939906","file3":"1326939923"},"map_files_photo_id_array":[{"photo_id":"1326939913","filename":"file2"},{"photo_id":"1326939909","filename":"file1"},{"photo_id":"1326939906","filename":"file0"},{"photo_id":"1326939923","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939909":["hashtag1","hashtag2"]},{"1326939923":["hashtag1","hashtag2"]},{"1326939913":["hashtag1","hashtag2"]},{"1326939906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939909, 1326939923, 1326939913, 1326939906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.696696758270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:55:03.015164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:55:22.431758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0003.jpg', '/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0000.jpg', '/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0001.jpg', '/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/54/image_06012025_06_54_02_697377_0003.jpg
/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0000.jpg
/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0001.jpg
/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939953","1326939962","1326939956","1326939959"],"photo_ids_order":["1326939953","1326939956","1326939959","1326939962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8459ea58d0ba4f4e9934516cfb19c56.jpg","text":"TemporaryFile(/tmp/multipartBody7612824113875355884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142992510,"filename":"image_06012025_06_54_02_697377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b366c68a858b1c5179e71c2f84882007.jpg","text":"TemporaryFile(/tmp/multipartBody6144755100075027670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142992510,"filename":"image_06012025_06_55_02_291919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39ec04f00e0f34234c246dc100ee8241.jpg","text":"TemporaryFile(/tmp/multipartBody4158527462969189158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142992510,"filename":"image_06012025_06_55_02_291919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b4b6ec567590b06351c9819f4e12b02.jpg","text":"TemporaryFile(/tmp/multipartBody142219556565513996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736142992510,"filename":"image_06012025_06_55_02_291919_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939959","file1":"1326939956","file0":"1326939953","file3":"1326939962"},"map_files_photo_id_array":[{"photo_id":"1326939959","filename":"file2"},{"photo_id":"1326939956","filename":"file1"},{"photo_id":"1326939953","filename":"file0"},{"photo_id":"1326939962","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939953":["hashtag1","hashtag2"]},{"1326939962":["hashtag1","hashtag2"]},{"1326939956":["hashtag1","hashtag2"]},{"1326939959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939953, 1326939962, 1326939956, 1326939959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08926177024841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:56:02.540143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:56:22.184054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0003.jpg', '/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0000.jpg', '/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0001.jpg', '/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/55/image_06012025_06_55_02_291919_0003.jpg
/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0000.jpg
/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0001.jpg
/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326939972","1326939975","1326939969","1326939978"],"photo_ids_order":["1326939969","1326939972","1326939975","1326939978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a4099ed35a11108445d01a39a8f01cf.jpg","text":"TemporaryFile(/tmp/multipartBody6739156315019846245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143052287,"filename":"image_06012025_06_56_02_869426_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f573109bf8b17b53a71ec29331ca7789.jpg","text":"TemporaryFile(/tmp/multipartBody9190577369997636652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143052287,"filename":"image_06012025_06_56_02_869426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eef16690912f46432c4591d0a6381647.jpg","text":"TemporaryFile(/tmp/multipartBody495646021497227707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143052287,"filename":"image_06012025_06_55_02_291919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21f43e86884ae97305d1e3a30404df11.jpg","text":"TemporaryFile(/tmp/multipartBody7771074359342561045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143052287,"filename":"image_06012025_06_56_02_869426_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326939975","file1":"1326939972","file0":"1326939969","file3":"1326939978"},"map_files_photo_id_array":[{"photo_id":"1326939975","filename":"file2"},{"photo_id":"1326939972","filename":"file1"},{"photo_id":"1326939969","filename":"file0"},{"photo_id":"1326939978","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326939972":["hashtag1","hashtag2"]},{"1326939975":["hashtag1","hashtag2"]},{"1326939969":["hashtag1","hashtag2"]},{"1326939978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326939972, 1326939975, 1326939969, 1326939978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42467021942139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 06:57:03.207347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 06:57:22.677935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0003.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0000.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0001.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0003.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0000.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0001.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_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-06 06:59:03.072582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0003.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0000.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0001.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0002.jpg', '/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0003.jpg', '/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/56/image_06012025_06_56_02_869426_0003.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0000.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0001.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0002.jpg
/home/pi/Desktop/images/06012025/06/57/image_06012025_06_57_02_576948_0003.jpg
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941291","1326941273","1326941279","1326941284","1326941287","1326941269"],"photo_ids_order":["1326941269","1326941273","1326941279","1326941284","1326941287","1326941291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8220aceddc330cb11b1b356f6ee52edd.jpg","text":"TemporaryFile(/tmp/multipartBody6833483953782190656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_58_03_134490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f671e30565b1592e029ce92419c43a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1259306828693389756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_57_02_576948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49d12238613d31edbd54c274c9e2e2c5.jpg","text":"TemporaryFile(/tmp/multipartBody3968233009073059446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_57_02_576948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5cb8f6dedcda46ba35069b0ddc5c93b2.jpg","text":"TemporaryFile(/tmp/multipartBody8863060608885209711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_57_02_576948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc962c21cc8adb7814bbe6bea6e37045.jpg","text":"TemporaryFile(/tmp/multipartBody7021233897894057234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_57_02_576948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26a98f8c338a58f83caf4ecdac073186.jpg","text":"TemporaryFile(/tmp/multipartBody6225729850162854184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143217975,"filename":"image_06012025_06_56_02_869426_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941279","file1":"1326941273","file0":"1326941269","file4":"1326941287","file5":"1326941291","file3":"1326941284"},"map_files_photo_id_array":[{"photo_id":"1326941291","filename":"file5"},{"photo_id":"1326941279","filename":"file2"},{"photo_id":"1326941287","filename":"file4"},{"photo_id":"1326941273","filename":"file1"},{"photo_id":"1326941269","filename":"file0"},{"photo_id":"1326941284","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941291":["hashtag1","hashtag2"]},{"1326941273":["hashtag1","hashtag2"]},{"1326941279":["hashtag1","hashtag2"]},{"1326941284":["hashtag1","hashtag2"]},{"1326941287":["hashtag1","hashtag2"]},{"1326941269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941291, 1326941273, 1326941279, 1326941284, 1326941287, 1326941269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.875561475753784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:00:02.560764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0001.jpg', '/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0002.jpg', '/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0003.jpg', '/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0000.jpg', '/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0001.jpg
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0002.jpg
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0003.jpg
/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0000.jpg
/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_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: 12.19192624092102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:00:22.056941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0001.jpg', '/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0002.jpg', '/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0003.jpg', '/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0000.jpg', '/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0001.jpg', '/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0001.jpg
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0002.jpg
/home/pi/Desktop/images/06012025/06/58/image_06012025_06_58_03_134490_0003.jpg
/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0000.jpg
/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0001.jpg
/home/pi/Desktop/images/06012025/06/59/image_06012025_06_59_02_808540_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941337","1326941357","1326941371","1326941368","1326941362","1326941335"],"photo_ids_order":["1326941335","1326941337","1326941357","1326941362","1326941368","1326941371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01bda37f39f81c2c492063c0c490cdf9.jpg","text":"TemporaryFile(/tmp/multipartBody3399256490190954544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_58_03_134490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/044fb4dcc22074aa2f46352e8cb1b7b1.jpg","text":"TemporaryFile(/tmp/multipartBody6982452253505374386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_58_03_134490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8e537a3f90e2c173e2ad28a8e4009f9.jpg","text":"TemporaryFile(/tmp/multipartBody1638280342305088918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_59_02_808540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4b836b32e8c3f24bc86b67d7c874552.jpg","text":"TemporaryFile(/tmp/multipartBody2560495632952155343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_59_02_808540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/206853d31a135c301b04afb2e8e95f95.jpg","text":"TemporaryFile(/tmp/multipartBody4522472612780641128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_59_02_808540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/659443f034d7f63144ded93a34f15dde.jpg","text":"TemporaryFile(/tmp/multipartBody2463215783144158128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143296987,"filename":"image_06012025_06_58_03_134490_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941357","file1":"1326941337","file0":"1326941335","file4":"1326941368","file5":"1326941371","file3":"1326941362"},"map_files_photo_id_array":[{"photo_id":"1326941371","filename":"file5"},{"photo_id":"1326941357","filename":"file2"},{"photo_id":"1326941368","filename":"file4"},{"photo_id":"1326941337","filename":"file1"},{"photo_id":"1326941335","filename":"file0"},{"photo_id":"1326941362","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941337":["hashtag1","hashtag2"]},{"1326941357":["hashtag1","hashtag2"]},{"1326941371":["hashtag1","hashtag2"]},{"1326941368":["hashtag1","hashtag2"]},{"1326941362":["hashtag1","hashtag2"]},{"1326941335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941337, 1326941357, 1326941371, 1326941368, 1326941362, 1326941335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35479021072388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:01:22.636229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0000.jpg', '/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0001.jpg', '/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0002.jpg', '/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0003.jpg', '/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0000.jpg', '/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0000.jpg
/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0001.jpg
/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0002.jpg
/home/pi/Desktop/images/06012025/07/00/image_06012025_07_00_02_931382_0003.jpg
/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0000.jpg
/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941409","1326941399","1326941418","1326941441","1326941395","1326941391"],"photo_ids_order":["1326941391","1326941395","1326941399","1326941409","1326941418","1326941441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6efc2a914b47ab1cd5de5689ccc7a40e.jpg","text":"TemporaryFile(/tmp/multipartBody8407679250824095803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_00_02_931382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a04d67bcff2238ec771a5b9de8d30fe0.jpg","text":"TemporaryFile(/tmp/multipartBody780174939790481132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_00_02_931382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b142601c88075710684b932fc97a9de4.jpg","text":"TemporaryFile(/tmp/multipartBody7048918242042669426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_01_02_443268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f7b31cda3955a1b13fb0713b9724add.jpg","text":"TemporaryFile(/tmp/multipartBody5961286237418802670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_01_02_443268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2cafb4851981d6b7f9b3071b8b57f85.jpg","text":"TemporaryFile(/tmp/multipartBody6663905798752579819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_00_02_931382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbe43478f8bc24081b2e027f39556484.jpg","text":"TemporaryFile(/tmp/multipartBody2189561615651317281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143357545,"filename":"image_06012025_07_00_02_931382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941399","file1":"1326941395","file0":"1326941391","file4":"1326941418","file5":"1326941441","file3":"1326941409"},"map_files_photo_id_array":[{"photo_id":"1326941441","filename":"file5"},{"photo_id":"1326941399","filename":"file2"},{"photo_id":"1326941418","filename":"file4"},{"photo_id":"1326941395","filename":"file1"},{"photo_id":"1326941391","filename":"file0"},{"photo_id":"1326941409","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941409":["hashtag1","hashtag2"]},{"1326941399":["hashtag1","hashtag2"]},{"1326941418":["hashtag1","hashtag2"]},{"1326941441":["hashtag1","hashtag2"]},{"1326941395":["hashtag1","hashtag2"]},{"1326941391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941409, 1326941399, 1326941418, 1326941441, 1326941395, 1326941391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.35290241241455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:02:22.238602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0002.jpg', '/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0003.jpg', '/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0000.jpg', '/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0001.jpg', '/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0002.jpg
/home/pi/Desktop/images/06012025/07/01/image_06012025_07_01_02_443268_0003.jpg
/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0000.jpg
/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0001.jpg
/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941456","1326941460","1326941463","1326941451","1326941448"],"photo_ids_order":["1326941448","1326941451","1326941456","1326941460","1326941463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03fd9d3422d1fa7c5e76a1adfdd73ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6440740993370967073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143414781,"filename":"image_06012025_07_02_03_033125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efbd9062ca8c0d62f757cc551d6adb0b.jpg","text":"TemporaryFile(/tmp/multipartBody3758406350146214353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143414781,"filename":"image_06012025_07_02_03_033125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9579789b4dea50515b9c2f0ac870112.jpg","text":"TemporaryFile(/tmp/multipartBody6013052693832088129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143414781,"filename":"image_06012025_07_02_03_033125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e8301d89988e6d98038fc1f2d283e05.jpg","text":"TemporaryFile(/tmp/multipartBody1942214322555692041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143414781,"filename":"image_06012025_07_01_02_443268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/375448dfc40b107d50a63d46a8e6778a.jpg","text":"TemporaryFile(/tmp/multipartBody1477911026686499016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143414781,"filename":"image_06012025_07_01_02_443268_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941456","file1":"1326941451","file0":"1326941448","file4":"1326941463","file3":"1326941460"},"map_files_photo_id_array":[{"photo_id":"1326941456","filename":"file2"},{"photo_id":"1326941463","filename":"file4"},{"photo_id":"1326941451","filename":"file1"},{"photo_id":"1326941448","filename":"file0"},{"photo_id":"1326941460","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941456":["hashtag1","hashtag2"]},{"1326941460":["hashtag1","hashtag2"]},{"1326941463":["hashtag1","hashtag2"]},{"1326941451":["hashtag1","hashtag2"]},{"1326941448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941456, 1326941460, 1326941463, 1326941451, 1326941448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.08569002151489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:03:22.686975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0003.jpg', '/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0000.jpg', '/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0001.jpg', '/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/02/image_06012025_07_02_03_033125_0003.jpg
/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0000.jpg
/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0001.jpg
/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941477","1326941487","1326941481","1326941490"],"photo_ids_order":["1326941477","1326941481","1326941487","1326941490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc853eda43bd5a60bce14a9c2a4d9e12.jpg","text":"TemporaryFile(/tmp/multipartBody1879552450637984461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143472781,"filename":"image_06012025_07_02_03_033125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/111caa7fdc6efa95fffde44bdbb9c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7922393605745477482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143472781,"filename":"image_06012025_07_03_02_550598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/379cbc3af8986d9ea8a25ca6ad367ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7346700886835196260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143472781,"filename":"image_06012025_07_03_02_550598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0683cb3e1af7ff06c63196a9eeea273.jpg","text":"TemporaryFile(/tmp/multipartBody755583455112413764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143472781,"filename":"image_06012025_07_03_02_550598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941487","file1":"1326941481","file0":"1326941477","file3":"1326941490"},"map_files_photo_id_array":[{"photo_id":"1326941487","filename":"file2"},{"photo_id":"1326941481","filename":"file1"},{"photo_id":"1326941477","filename":"file0"},{"photo_id":"1326941490","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941477":["hashtag1","hashtag2"]},{"1326941487":["hashtag1","hashtag2"]},{"1326941481":["hashtag1","hashtag2"]},{"1326941490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941477, 1326941487, 1326941481, 1326941490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.09014892578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:04:22.241093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0003.jpg', '/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0000.jpg', '/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0001.jpg', '/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/03/image_06012025_07_03_02_550598_0003.jpg
/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0000.jpg
/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0001.jpg
/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941513","1326941507","1326941497","1326941501"],"photo_ids_order":["1326941497","1326941501","1326941507","1326941513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4b2308195527186c11512eacae93f73.jpg","text":"TemporaryFile(/tmp/multipartBody4580033015472568514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143532393,"filename":"image_06012025_07_04_03_061969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9bc1525a94613055781c86383557622.jpg","text":"TemporaryFile(/tmp/multipartBody2171803352275006165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143532393,"filename":"image_06012025_07_04_03_061969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/233303d8d5657972442545323262ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody2677514907267235691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143532393,"filename":"image_06012025_07_03_02_550598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/687670ab4633be23bf73b637d72e9c62.jpg","text":"TemporaryFile(/tmp/multipartBody4654645918094497288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143532393,"filename":"image_06012025_07_04_03_061969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941507","file1":"1326941501","file0":"1326941497","file3":"1326941513"},"map_files_photo_id_array":[{"photo_id":"1326941507","filename":"file2"},{"photo_id":"1326941501","filename":"file1"},{"photo_id":"1326941497","filename":"file0"},{"photo_id":"1326941513","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941513":["hashtag1","hashtag2"]},{"1326941507":["hashtag1","hashtag2"]},{"1326941497":["hashtag1","hashtag2"]},{"1326941501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941513, 1326941507, 1326941497, 1326941501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.590800046920776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:05:22.753267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0003.jpg', '/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0000.jpg', '/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0001.jpg', '/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/04/image_06012025_07_04_03_061969_0003.jpg
/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0000.jpg
/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0001.jpg
/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941529","1326941540","1326941534","1326941525"],"photo_ids_order":["1326941525","1326941529","1326941534","1326941540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0e2c90cf2967a912fdc1aa800c0caa7.jpg","text":"TemporaryFile(/tmp/multipartBody5776167872619161984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143593026,"filename":"image_06012025_07_05_02_585858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c676a87dc0c2ca85a8621d91bd37cea.jpg","text":"TemporaryFile(/tmp/multipartBody3226185850788745624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143593026,"filename":"image_06012025_07_05_02_585858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3068b9ea686a2b8404aef9f1a2ce44e8.jpg","text":"TemporaryFile(/tmp/multipartBody6701922885744821135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143593026,"filename":"image_06012025_07_05_02_585858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fea8438bc456c0ed6a05a220fac0427.jpg","text":"TemporaryFile(/tmp/multipartBody2016090588131288528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143593026,"filename":"image_06012025_07_04_03_061969_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941534","file1":"1326941529","file0":"1326941525","file3":"1326941540"},"map_files_photo_id_array":[{"photo_id":"1326941534","filename":"file2"},{"photo_id":"1326941529","filename":"file1"},{"photo_id":"1326941525","filename":"file0"},{"photo_id":"1326941540","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941529":["hashtag1","hashtag2"]},{"1326941540":["hashtag1","hashtag2"]},{"1326941534":["hashtag1","hashtag2"]},{"1326941525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941529, 1326941540, 1326941534, 1326941525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.687395095825195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:06:22.268732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0003.jpg', '/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0000.jpg', '/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0001.jpg', '/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/05/image_06012025_07_05_02_585858_0003.jpg
/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0000.jpg
/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0001.jpg
/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941561","1326941557","1326941554","1326941565"],"photo_ids_order":["1326941554","1326941557","1326941561","1326941565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c644a118dfea5cf14bc31be2cb835f50.jpg","text":"TemporaryFile(/tmp/multipartBody8650566382431102854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143652461,"filename":"image_06012025_07_06_03_142319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e03e290f9fede9e6771adec15b3a2dc.jpg","text":"TemporaryFile(/tmp/multipartBody4389431922974114564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143652461,"filename":"image_06012025_07_06_03_142319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b435f181212c2a62639544acc386666.jpg","text":"TemporaryFile(/tmp/multipartBody5353626404510201085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143652461,"filename":"image_06012025_07_05_02_585858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0597f458ed5c447e702ef2e71241635.jpg","text":"TemporaryFile(/tmp/multipartBody8793143832718426361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143652461,"filename":"image_06012025_07_06_03_142319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941561","file1":"1326941557","file0":"1326941554","file3":"1326941565"},"map_files_photo_id_array":[{"photo_id":"1326941561","filename":"file2"},{"photo_id":"1326941557","filename":"file1"},{"photo_id":"1326941554","filename":"file0"},{"photo_id":"1326941565","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941561":["hashtag1","hashtag2"]},{"1326941557":["hashtag1","hashtag2"]},{"1326941554":["hashtag1","hashtag2"]},{"1326941565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941561, 1326941557, 1326941554, 1326941565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46483302116394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:07:02.377118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:07:21.784109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0003.jpg', '/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0000.jpg', '/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0001.jpg', '/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/06/image_06012025_07_06_03_142319_0003.jpg
/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0000.jpg
/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0001.jpg
/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941628","1326941592","1326941589","1326941631"],"photo_ids_order":["1326941589","1326941592","1326941628","1326941631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/599b764c5f9a45809289f1039a6ded0b.jpg","text":"TemporaryFile(/tmp/multipartBody2561702405774363197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143712112,"filename":"image_06012025_07_07_02_677626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/995e635d397b04e8ab484ee7c4a5b855.jpg","text":"TemporaryFile(/tmp/multipartBody1118014855353818821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143712112,"filename":"image_06012025_07_07_02_677626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f9ce70638b78cc00b116001979e97a8.jpg","text":"TemporaryFile(/tmp/multipartBody5457466162235910415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143712112,"filename":"image_06012025_07_06_03_142319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ce28c78c4b575d07105b1d0fec20b55.jpg","text":"TemporaryFile(/tmp/multipartBody6412812679325552454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143712112,"filename":"image_06012025_07_07_02_677626_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941628","file1":"1326941592","file0":"1326941589","file3":"1326941631"},"map_files_photo_id_array":[{"photo_id":"1326941628","filename":"file2"},{"photo_id":"1326941592","filename":"file1"},{"photo_id":"1326941589","filename":"file0"},{"photo_id":"1326941631","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941628":["hashtag1","hashtag2"]},{"1326941592":["hashtag1","hashtag2"]},{"1326941589":["hashtag1","hashtag2"]},{"1326941631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941628, 1326941592, 1326941589, 1326941631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.920472860336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:08:02.882271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:08:22.452679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0003.jpg', '/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0000.jpg', '/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0001.jpg', '/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/07/image_06012025_07_07_02_677626_0003.jpg
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0000.jpg
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0001.jpg
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941651","1326941647","1326941640","1326941643"],"photo_ids_order":["1326941640","1326941643","1326941647","1326941651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2921c8e1ae6021c837948b3bcb736fd5.jpg","text":"TemporaryFile(/tmp/multipartBody206913097228697050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143772704,"filename":"image_06012025_07_08_02_157821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e7f8f9b031f6d89a9638a1b6dd72624.jpg","text":"TemporaryFile(/tmp/multipartBody1820658168082009710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143772704,"filename":"image_06012025_07_08_02_157821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4ffca168b66a249e9c6186c12f383c7.jpg","text":"TemporaryFile(/tmp/multipartBody468255796372999497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143772704,"filename":"image_06012025_07_07_02_677626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08cf300af72e7fcfd4de10a3e555cb29.jpg","text":"TemporaryFile(/tmp/multipartBody4941679190918554126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736143772704,"filename":"image_06012025_07_08_02_157821_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941647","file1":"1326941643","file0":"1326941640","file3":"1326941651"},"map_files_photo_id_array":[{"photo_id":"1326941647","filename":"file2"},{"photo_id":"1326941643","filename":"file1"},{"photo_id":"1326941640","filename":"file0"},{"photo_id":"1326941651","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941651":["hashtag1","hashtag2"]},{"1326941647":["hashtag1","hashtag2"]},{"1326941640":["hashtag1","hashtag2"]},{"1326941643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941651, 1326941647, 1326941640, 1326941643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58310389518738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:09:02.453762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:09:21.925382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.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>88433aegj</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>88433aegj</strong>.
uploaded 0 photos
time to upload: 39.94763207435608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:10:02.949227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_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>88433cn98</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>88433cn98</strong>.
uploaded 0 photos
time to upload: 39.961588859558105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:11:02.613757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.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>88433geji</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>88433geji</strong>.
uploaded 0 photos
time to upload: 44.7892746925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:12:02.240649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.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>88433joo6</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>88433joo6</strong>.
uploaded 0 photos
time to upload: 44.76977252960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:13:03.074130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.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>88433naok</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>88433naok</strong>.
uploaded 0 photos
time to upload: 44.78970909118652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:14:02.505920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg', '/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/08/image_06012025_07_08_02_157821_0003.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0000.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0001.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0002.jpg
/home/pi/Desktop/images/06012025/07/09/image_06012025_07_09_02_818660_0003.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_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":["1326941672","1326941666","1326941660","1326941683","1326941677","1326941686"],"photo_ids_order":["1326941660","1326941666","1326941672","1326941677","1326941683","1326941686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf50a3d2bb5cdf956d3c5d65105015fd.jpg","text":"TemporaryFile(/tmp/multipartBody8524523992013236197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_09_02_818660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a7d1c6536e70812311e4c2a53c2c06e.jpg","text":"TemporaryFile(/tmp/multipartBody412873673017237239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_09_02_818660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6863df1f354db1114b9893b9c17b878b.jpg","text":"TemporaryFile(/tmp/multipartBody3177889149395899964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_08_02_157821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79179e904c33ff3f41337449645fe205.jpg","text":"TemporaryFile(/tmp/multipartBody508146548982983175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_09_02_818660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51a3fd7f7f0023f26f8bb99de0aec0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2735968124262255516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_09_02_818660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a63aef3168967291acc84e55c4ac2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3261420902930362085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144117639,"filename":"image_06012025_07_10_02_412421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941672","file1":"1326941666","file0":"1326941660","file4":"1326941683","file5":"1326941686","file3":"1326941677"},"map_files_photo_id_array":[{"photo_id":"1326941686","filename":"file5"},{"photo_id":"1326941672","filename":"file2"},{"photo_id":"1326941683","filename":"file4"},{"photo_id":"1326941666","filename":"file1"},{"photo_id":"1326941660","filename":"file0"},{"photo_id":"1326941677","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941672":["hashtag1","hashtag2"]},{"1326941666":["hashtag1","hashtag2"]},{"1326941660":["hashtag1","hashtag2"]},{"1326941683":["hashtag1","hashtag2"]},{"1326941677":["hashtag1","hashtag2"]},{"1326941686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941672, 1326941666, 1326941660, 1326941683, 1326941677, 1326941686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.67900538444519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:15:22.562210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0001.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0002.jpg', '/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0003.jpg', '/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0000.jpg', '/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0001.jpg', '/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0001.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0002.jpg
/home/pi/Desktop/images/06012025/07/10/image_06012025_07_10_02_412421_0003.jpg
/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0000.jpg
/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0001.jpg
/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_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":["1326941731","1326941719","1326941728","1326941713","1326941722","1326941716"],"photo_ids_order":["1326941713","1326941716","1326941719","1326941722","1326941728","1326941731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/201806c498a80bc69287abc19f3be49e.jpg","text":"TemporaryFile(/tmp/multipartBody422581654889950382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_11_02_964497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4cd17d79acd8ba27ae135a2db4576a5.jpg","text":"TemporaryFile(/tmp/multipartBody1159864342880301623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_10_02_412421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d13e04946923fd96e2d7e3c07c59eb62.jpg","text":"TemporaryFile(/tmp/multipartBody6034444005055481550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_11_02_964497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a261d013ddc17689ee4042c99cbe716.jpg","text":"TemporaryFile(/tmp/multipartBody468797113788869939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_10_02_412421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0af390bba4525e040bdc420d79451b89.jpg","text":"TemporaryFile(/tmp/multipartBody6035552622629807803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_11_02_964497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8817a4020bb2bcaefce5a141b2b898aa.jpg","text":"TemporaryFile(/tmp/multipartBody8164395284651762678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144197252,"filename":"image_06012025_07_10_02_412421_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941719","file1":"1326941716","file0":"1326941713","file4":"1326941728","file5":"1326941731","file3":"1326941722"},"map_files_photo_id_array":[{"photo_id":"1326941731","filename":"file5"},{"photo_id":"1326941719","filename":"file2"},{"photo_id":"1326941728","filename":"file4"},{"photo_id":"1326941716","filename":"file1"},{"photo_id":"1326941713","filename":"file0"},{"photo_id":"1326941722","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941731":["hashtag1","hashtag2"]},{"1326941719":["hashtag1","hashtag2"]},{"1326941728":["hashtag1","hashtag2"]},{"1326941713":["hashtag1","hashtag2"]},{"1326941722":["hashtag1","hashtag2"]},{"1326941716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941731, 1326941719, 1326941728, 1326941713, 1326941722, 1326941716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.41809320449829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:17:03.023551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0003.jpg', '/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0000.jpg', '/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0001.jpg', '/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0002.jpg', '/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0003.jpg', '/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/11/image_06012025_07_11_02_964497_0003.jpg
/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0000.jpg
/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0001.jpg
/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0002.jpg
/home/pi/Desktop/images/06012025/07/12/image_06012025_07_12_02_537284_0003.jpg
/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941831","1326941824","1326941833","1326941827","1326941835","1326941820"],"photo_ids_order":["1326941820","1326941824","1326941827","1326941831","1326941833","1326941835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db3ceb00d417804733f175f679e89420.jpg","text":"TemporaryFile(/tmp/multipartBody750119029263413718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_12_02_537284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f201a42edefc8be3b835229ab74e612.jpg","text":"TemporaryFile(/tmp/multipartBody6531210873060187279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_12_02_537284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e20eb7665579b9a4064ac4acde4646a7.jpg","text":"TemporaryFile(/tmp/multipartBody8408714820131143710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_12_02_537284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/414721e44b3f47631c225d4581b6da63.jpg","text":"TemporaryFile(/tmp/multipartBody8636327773816346801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_12_02_537284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2a1ba28a78cc397141274575e879925.jpg","text":"TemporaryFile(/tmp/multipartBody8668399810138358837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_13_02_217809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f561f2c6ba626860d68000e4b1e53394.jpg","text":"TemporaryFile(/tmp/multipartBody2829924116478000814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144297955,"filename":"image_06012025_07_11_02_964497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941827","file1":"1326941824","file0":"1326941820","file4":"1326941833","file5":"1326941835","file3":"1326941831"},"map_files_photo_id_array":[{"photo_id":"1326941835","filename":"file5"},{"photo_id":"1326941827","filename":"file2"},{"photo_id":"1326941833","filename":"file4"},{"photo_id":"1326941824","filename":"file1"},{"photo_id":"1326941820","filename":"file0"},{"photo_id":"1326941831","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941831":["hashtag1","hashtag2"]},{"1326941824":["hashtag1","hashtag2"]},{"1326941833":["hashtag1","hashtag2"]},{"1326941827":["hashtag1","hashtag2"]},{"1326941835":["hashtag1","hashtag2"]},{"1326941820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941831, 1326941824, 1326941833, 1326941827, 1326941835, 1326941820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.55015325546265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:18:02.770616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0001.jpg', '/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0002.jpg', '/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0003.jpg', '/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0000.jpg', '/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0001.jpg', '/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0001.jpg
/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0002.jpg
/home/pi/Desktop/images/06012025/07/13/image_06012025_07_13_02_217809_0003.jpg
/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0000.jpg
/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0001.jpg
/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941863","1326941851","1326941859","1326941868","1326941853","1326941856"],"photo_ids_order":["1326941851","1326941853","1326941856","1326941859","1326941863","1326941868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20b812af6206d4247f03d77beb3d022e.jpg","text":"TemporaryFile(/tmp/multipartBody7581613395008618986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_14_02_701154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d26a318eee470dad4fbc042ba09f5c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3750254870558781900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_13_02_217809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00b061d17a08a6d46466dbaabfdec558.jpg","text":"TemporaryFile(/tmp/multipartBody3894868565743236241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_14_02_701154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ac112b2a9392be37c21d96780edd29b.jpg","text":"TemporaryFile(/tmp/multipartBody426778526663030247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_14_02_701154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5290b27efcaca82d16bf1de86274959.jpg","text":"TemporaryFile(/tmp/multipartBody843070705839919356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_13_02_217809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0488704bae6a4271699a3b7d4df76153.jpg","text":"TemporaryFile(/tmp/multipartBody2491457602992348353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144357681,"filename":"image_06012025_07_13_02_217809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941856","file1":"1326941853","file0":"1326941851","file4":"1326941863","file5":"1326941868","file3":"1326941859"},"map_files_photo_id_array":[{"photo_id":"1326941868","filename":"file5"},{"photo_id":"1326941856","filename":"file2"},{"photo_id":"1326941863","filename":"file4"},{"photo_id":"1326941853","filename":"file1"},{"photo_id":"1326941851","filename":"file0"},{"photo_id":"1326941859","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941863":["hashtag1","hashtag2"]},{"1326941851":["hashtag1","hashtag2"]},{"1326941859":["hashtag1","hashtag2"]},{"1326941868":["hashtag1","hashtag2"]},{"1326941853":["hashtag1","hashtag2"]},{"1326941856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941863, 1326941851, 1326941859, 1326941868, 1326941853, 1326941856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.90982246398926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:19:02.508319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0003.jpg', '/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0000.jpg', '/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0001.jpg', '/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0002.jpg', '/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0003.jpg', '/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/14/image_06012025_07_14_02_701154_0003.jpg
/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0000.jpg
/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0001.jpg
/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0002.jpg
/home/pi/Desktop/images/06012025/07/15/image_06012025_07_15_02_419263_0003.jpg
/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941888","1326941933","1326941935","1326941938","1326941895","1326941892"],"photo_ids_order":["1326941888","1326941892","1326941895","1326941933","1326941935","1326941938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ea1ca330256f6d1c6f4b518bc32eee7.jpg","text":"TemporaryFile(/tmp/multipartBody4129299438449738932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_14_02_701154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d4d1ed21594f155177a9773d376a10.jpg","text":"TemporaryFile(/tmp/multipartBody5960778045190645808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_15_02_419263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c098300a68aa32c93e325f4556f9314c.jpg","text":"TemporaryFile(/tmp/multipartBody4345249979073425411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_15_02_419263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/781c0bad4c30ba56b4bdad7640547a6c.jpg","text":"TemporaryFile(/tmp/multipartBody757082873009453675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_16_02_913004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccdfd0ee308747dbb28c4df8c44e99e4.jpg","text":"TemporaryFile(/tmp/multipartBody2081006651279387684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_15_02_419263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b68add3d6072dd08ca7c6e5dc21f9344.jpg","text":"TemporaryFile(/tmp/multipartBody4683423754938140428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144417616,"filename":"image_06012025_07_15_02_419263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941895","file1":"1326941892","file0":"1326941888","file4":"1326941935","file5":"1326941938","file3":"1326941933"},"map_files_photo_id_array":[{"photo_id":"1326941938","filename":"file5"},{"photo_id":"1326941895","filename":"file2"},{"photo_id":"1326941935","filename":"file4"},{"photo_id":"1326941892","filename":"file1"},{"photo_id":"1326941888","filename":"file0"},{"photo_id":"1326941933","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941888":["hashtag1","hashtag2"]},{"1326941933":["hashtag1","hashtag2"]},{"1326941935":["hashtag1","hashtag2"]},{"1326941938":["hashtag1","hashtag2"]},{"1326941895":["hashtag1","hashtag2"]},{"1326941892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941888, 1326941933, 1326941935, 1326941938, 1326941895, 1326941892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10867238044739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:20:03.032896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0001.jpg', '/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0002.jpg', '/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0003.jpg', '/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0000.jpg', '/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0001.jpg', '/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0001.jpg
/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0002.jpg
/home/pi/Desktop/images/06012025/07/16/image_06012025_07_16_02_913004_0003.jpg
/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0000.jpg
/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0001.jpg
/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941960","1326941957","1326941966","1326941951","1326941954","1326941964"],"photo_ids_order":["1326941951","1326941954","1326941957","1326941960","1326941964","1326941966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fdfc10d5c02dd922de10635c0c58b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7934864089446891317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_17_02_507052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed0e5bd19f1a8443d0cdcd69216f75a1.jpg","text":"TemporaryFile(/tmp/multipartBody8128238566296462447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_16_02_913004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3d0ae9a711f005c091ce7736dd13e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2132671600511229263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_17_02_507052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0e1946bb5fc7a7f6b5ef777701860ec.jpg","text":"TemporaryFile(/tmp/multipartBody5981952291103459496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_16_02_913004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42b45b50b8e255320f30e76da6b20c11.jpg","text":"TemporaryFile(/tmp/multipartBody3259178730405334713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_16_02_913004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78a58783a5fe0bf05a0cfc2ab0f12d41.jpg","text":"TemporaryFile(/tmp/multipartBody7413597089693651331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144478150,"filename":"image_06012025_07_17_02_507052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941957","file1":"1326941954","file0":"1326941951","file4":"1326941964","file5":"1326941966","file3":"1326941960"},"map_files_photo_id_array":[{"photo_id":"1326941966","filename":"file5"},{"photo_id":"1326941957","filename":"file2"},{"photo_id":"1326941964","filename":"file4"},{"photo_id":"1326941954","filename":"file1"},{"photo_id":"1326941951","filename":"file0"},{"photo_id":"1326941960","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941960":["hashtag1","hashtag2"]},{"1326941957":["hashtag1","hashtag2"]},{"1326941966":["hashtag1","hashtag2"]},{"1326941951":["hashtag1","hashtag2"]},{"1326941954":["hashtag1","hashtag2"]},{"1326941964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941960, 1326941957, 1326941966, 1326941951, 1326941954, 1326941964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54283547401428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:21:02.814937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0003.jpg', '/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0000.jpg', '/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0001.jpg', '/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0002.jpg', '/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0003.jpg', '/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/17/image_06012025_07_17_02_507052_0003.jpg
/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0000.jpg
/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0001.jpg
/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0002.jpg
/home/pi/Desktop/images/06012025/07/18/image_06012025_07_18_03_099571_0003.jpg
/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326941993","1326941987","1326941990","1326941982","1326941985","1326941979"],"photo_ids_order":["1326941979","1326941982","1326941985","1326941987","1326941990","1326941993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5eb42cfa0296d6baa0979d908deed3d0.jpg","text":"TemporaryFile(/tmp/multipartBody4227379163618259639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_19_02_768473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0053f1609429aeb03b6e3941d1f792fd.jpg","text":"TemporaryFile(/tmp/multipartBody1284065175306993588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_18_03_099571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bbbf11fb2346e419d39d68150db8c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2699095497315033939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_18_03_099571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbcba81c6561018d342eb2c3039b28ca.jpg","text":"TemporaryFile(/tmp/multipartBody6888868093923504498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_18_03_099571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6975e6f6c1cc862d73afb80dfe45e62c.jpg","text":"TemporaryFile(/tmp/multipartBody3828183045722359682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_18_03_099571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ecf64405dd790ad63da75fd664232ff.jpg","text":"TemporaryFile(/tmp/multipartBody1319259535515245194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144537984,"filename":"image_06012025_07_17_02_507052_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326941985","file1":"1326941982","file0":"1326941979","file4":"1326941990","file5":"1326941993","file3":"1326941987"},"map_files_photo_id_array":[{"photo_id":"1326941993","filename":"file5"},{"photo_id":"1326941985","filename":"file2"},{"photo_id":"1326941990","filename":"file4"},{"photo_id":"1326941982","filename":"file1"},{"photo_id":"1326941979","filename":"file0"},{"photo_id":"1326941987","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326941993":["hashtag1","hashtag2"]},{"1326941987":["hashtag1","hashtag2"]},{"1326941990":["hashtag1","hashtag2"]},{"1326941982":["hashtag1","hashtag2"]},{"1326941985":["hashtag1","hashtag2"]},{"1326941979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326941993, 1326941987, 1326941990, 1326941982, 1326941985, 1326941979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.00232982635498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:22:02.265984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0001.jpg', '/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0002.jpg', '/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0003.jpg', '/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0000.jpg', '/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0001.jpg', '/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0001.jpg
/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0002.jpg
/home/pi/Desktop/images/06012025/07/19/image_06012025_07_19_02_768473_0003.jpg
/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0000.jpg
/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0001.jpg
/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942059","1326942055","1326942013","1326942063","1326942015","1326942018"],"photo_ids_order":["1326942013","1326942015","1326942018","1326942055","1326942059","1326942063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1fdf38d1f7ac4711ab7222317179f429.jpg","text":"TemporaryFile(/tmp/multipartBody2298722957851615790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_20_02_319694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ce4904f4c326b2e0217446f45d39685.jpg","text":"TemporaryFile(/tmp/multipartBody8970302073622989986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_20_02_319694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be465e2a7abcaa2f35168399db64ff8e.jpg","text":"TemporaryFile(/tmp/multipartBody2921678204525015693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_19_02_768473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf4267e54f6d28d94830c46bed87013f.jpg","text":"TemporaryFile(/tmp/multipartBody4085779276389834545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_20_02_319694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/340af672d8761b3ba845d5eb2f513866.jpg","text":"TemporaryFile(/tmp/multipartBody8685271538613020011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_19_02_768473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edbf3958c3f5552d9c5f17ca29d4bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody635356828872729953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144597499,"filename":"image_06012025_07_19_02_768473_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942018","file1":"1326942015","file0":"1326942013","file4":"1326942059","file5":"1326942063","file3":"1326942055"},"map_files_photo_id_array":[{"photo_id":"1326942063","filename":"file5"},{"photo_id":"1326942018","filename":"file2"},{"photo_id":"1326942059","filename":"file4"},{"photo_id":"1326942015","filename":"file1"},{"photo_id":"1326942013","filename":"file0"},{"photo_id":"1326942055","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942059":["hashtag1","hashtag2"]},{"1326942055":["hashtag1","hashtag2"]},{"1326942013":["hashtag1","hashtag2"]},{"1326942063":["hashtag1","hashtag2"]},{"1326942015":["hashtag1","hashtag2"]},{"1326942018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942059, 1326942055, 1326942013, 1326942063, 1326942015, 1326942018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.569185733795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:23:03.030459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0003.jpg', '/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0000.jpg', '/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0001.jpg', '/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0002.jpg', '/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0003.jpg', '/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/20/image_06012025_07_20_02_319694_0003.jpg
/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0000.jpg
/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0001.jpg
/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0002.jpg
/home/pi/Desktop/images/06012025/07/21/image_06012025_07_21_03_045440_0003.jpg
/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942077","1326942091","1326942094","1326942081","1326942086","1326942089"],"photo_ids_order":["1326942077","1326942081","1326942086","1326942089","1326942091","1326942094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33b46ded3c8e669da050de5c2b5661c0.jpg","text":"TemporaryFile(/tmp/multipartBody2563259431144504165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_20_02_319694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f21f76719453a5a69f65688209570103.jpg","text":"TemporaryFile(/tmp/multipartBody2645293615184194744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_21_03_045440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bf03dadf5f8f70deddec72683e03c98.jpg","text":"TemporaryFile(/tmp/multipartBody6700904010396903635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_22_02_592668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aaba2ad073e1c975567aa206780dedf7.jpg","text":"TemporaryFile(/tmp/multipartBody9196677830214774631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_21_03_045440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4930ded47a6fd9b6f75b2838373c2994.jpg","text":"TemporaryFile(/tmp/multipartBody4318593817169725451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_21_03_045440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0aa6f6633cb3eebd3c3cf3378a6aa7c2.jpg","text":"TemporaryFile(/tmp/multipartBody6614243006689886997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144658029,"filename":"image_06012025_07_21_03_045440_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942086","file1":"1326942081","file0":"1326942077","file4":"1326942091","file5":"1326942094","file3":"1326942089"},"map_files_photo_id_array":[{"photo_id":"1326942094","filename":"file5"},{"photo_id":"1326942086","filename":"file2"},{"photo_id":"1326942091","filename":"file4"},{"photo_id":"1326942081","filename":"file1"},{"photo_id":"1326942077","filename":"file0"},{"photo_id":"1326942089","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942077":["hashtag1","hashtag2"]},{"1326942091":["hashtag1","hashtag2"]},{"1326942094":["hashtag1","hashtag2"]},{"1326942081":["hashtag1","hashtag2"]},{"1326942086":["hashtag1","hashtag2"]},{"1326942089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942077, 1326942091, 1326942094, 1326942081, 1326942086, 1326942089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.89997148513794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:24:02.319989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0001.jpg', '/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0002.jpg', '/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0003.jpg', '/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0000.jpg', '/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0001.jpg', '/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0001.jpg
/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0002.jpg
/home/pi/Desktop/images/06012025/07/22/image_06012025_07_22_02_592668_0003.jpg
/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0000.jpg
/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0001.jpg
/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942116","1326942125","1326942128","1326942107","1326942112","1326942120"],"photo_ids_order":["1326942107","1326942112","1326942116","1326942120","1326942125","1326942128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea94d95846dd85b2057c853d2813501e.jpg","text":"TemporaryFile(/tmp/multipartBody6860148200152595452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_22_02_592668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/831b18636af670ecdd5046842f3797e9.jpg","text":"TemporaryFile(/tmp/multipartBody9041605522292218072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_23_02_242268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ccfc47cfc734d6897022058ed11cc99.jpg","text":"TemporaryFile(/tmp/multipartBody6951320210304918198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_23_02_242268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31d104983b48cc54a686720a72e80522.jpg","text":"TemporaryFile(/tmp/multipartBody485918235665656617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_22_02_592668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b24c8a118cc6839c4e4e41d564c25e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2823039060185099744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_22_02_592668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76a1e0d1da2e44b53d07fb2be08d811a.jpg","text":"TemporaryFile(/tmp/multipartBody1678382658765558573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144717321,"filename":"image_06012025_07_23_02_242268_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942116","file1":"1326942112","file0":"1326942107","file4":"1326942125","file5":"1326942128","file3":"1326942120"},"map_files_photo_id_array":[{"photo_id":"1326942128","filename":"file5"},{"photo_id":"1326942116","filename":"file2"},{"photo_id":"1326942125","filename":"file4"},{"photo_id":"1326942112","filename":"file1"},{"photo_id":"1326942107","filename":"file0"},{"photo_id":"1326942120","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942116":["hashtag1","hashtag2"]},{"1326942125":["hashtag1","hashtag2"]},{"1326942128":["hashtag1","hashtag2"]},{"1326942107":["hashtag1","hashtag2"]},{"1326942112":["hashtag1","hashtag2"]},{"1326942120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942116, 1326942125, 1326942128, 1326942107, 1326942112, 1326942120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.764800786972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:25:03.153443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0003.jpg', '/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0000.jpg', '/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0001.jpg', '/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/23/image_06012025_07_23_02_242268_0003.jpg
/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0000.jpg
/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0001.jpg
/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942163","1326942166","1326942171","1326942173"],"photo_ids_order":["1326942163","1326942166","1326942171","1326942173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d2e08a6f32395c6e6c82f38b192e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3636982073927352212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144773352,"filename":"image_06012025_07_23_02_242268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da2e1b1c811c8f6807ac83db06c07785.jpg","text":"TemporaryFile(/tmp/multipartBody2803243582534856841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144773352,"filename":"image_06012025_07_24_02_723300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02dd57ce1010af637717f38e2fa979ae.jpg","text":"TemporaryFile(/tmp/multipartBody6590309611593445149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144773352,"filename":"image_06012025_07_24_02_723300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c890dd6034fd86382aba7881a947481.jpg","text":"TemporaryFile(/tmp/multipartBody3407122197069361564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144773352,"filename":"image_06012025_07_24_02_723300_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942171","file1":"1326942166","file0":"1326942163","file3":"1326942173"},"map_files_photo_id_array":[{"photo_id":"1326942171","filename":"file2"},{"photo_id":"1326942166","filename":"file1"},{"photo_id":"1326942163","filename":"file0"},{"photo_id":"1326942173","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942163":["hashtag1","hashtag2"]},{"1326942166":["hashtag1","hashtag2"]},{"1326942171":["hashtag1","hashtag2"]},{"1326942173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942163, 1326942166, 1326942171, 1326942173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.652058839797974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:26:02.575267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0003.jpg', '/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0000.jpg', '/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0001.jpg', '/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/24/image_06012025_07_24_02_723300_0003.jpg
/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0000.jpg
/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0001.jpg
/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942344","1326942302","1326942340","1326942304"],"photo_ids_order":["1326942302","1326942304","1326942340","1326942344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a19c110e1817a2c86b5639076897acc.jpg","text":"TemporaryFile(/tmp/multipartBody3688400480491408279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144832789,"filename":"image_06012025_07_25_02_342158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c35096d439e2161e27bb55aea76d5cb9.jpg","text":"TemporaryFile(/tmp/multipartBody346715433384078430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144832789,"filename":"image_06012025_07_24_02_723300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f7769add711be97a52b060fc0f24f22.jpg","text":"TemporaryFile(/tmp/multipartBody1955055517121449543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144832789,"filename":"image_06012025_07_25_02_342158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53c904f3b4851c65be64ef39ec57115b.jpg","text":"TemporaryFile(/tmp/multipartBody9077212758624319043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144832789,"filename":"image_06012025_07_25_02_342158_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942340","file1":"1326942304","file0":"1326942302","file3":"1326942344"},"map_files_photo_id_array":[{"photo_id":"1326942340","filename":"file2"},{"photo_id":"1326942304","filename":"file1"},{"photo_id":"1326942302","filename":"file0"},{"photo_id":"1326942344","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942344":["hashtag1","hashtag2"]},{"1326942302":["hashtag1","hashtag2"]},{"1326942340":["hashtag1","hashtag2"]},{"1326942304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942344, 1326942302, 1326942340, 1326942304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.23257374763489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:27:03.133170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0003.jpg', '/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0000.jpg', '/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0001.jpg', '/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/25/image_06012025_07_25_02_342158_0003.jpg
/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0000.jpg
/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0001.jpg
/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942364","1326942367","1326942366","1326942369"],"photo_ids_order":["1326942364","1326942366","1326942367","1326942369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88f2d3e4d328567b5b4fda20b9161631.jpg","text":"TemporaryFile(/tmp/multipartBody2145406096825269986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144893485,"filename":"image_06012025_07_25_02_342158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ada1bb22510f0901fb4ec7900e2a5faf.jpg","text":"TemporaryFile(/tmp/multipartBody957756947178478827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144893485,"filename":"image_06012025_07_26_02_883294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72e48c43d2cb5d16fa0803eda75406c9.jpg","text":"TemporaryFile(/tmp/multipartBody7623547638217948821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144893485,"filename":"image_06012025_07_26_02_883294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be0bf63757796858653979d2cd60c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody5411514118111796440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144893485,"filename":"image_06012025_07_26_02_883294_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942367","file1":"1326942366","file0":"1326942364","file3":"1326942369"},"map_files_photo_id_array":[{"photo_id":"1326942367","filename":"file2"},{"photo_id":"1326942366","filename":"file1"},{"photo_id":"1326942364","filename":"file0"},{"photo_id":"1326942369","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942364":["hashtag1","hashtag2"]},{"1326942367":["hashtag1","hashtag2"]},{"1326942366":["hashtag1","hashtag2"]},{"1326942369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942364, 1326942367, 1326942366, 1326942369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01516652107239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:28:02.812124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0003.jpg', '/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0000.jpg', '/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0001.jpg', '/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/26/image_06012025_07_26_02_883294_0003.jpg
/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0000.jpg
/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0001.jpg
/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942388","1326942421","1326942390","1326942418"],"photo_ids_order":["1326942388","1326942390","1326942418","1326942421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/607bfd7c7c1ed9a6367c1c02a876207f.jpg","text":"TemporaryFile(/tmp/multipartBody8762106763135150751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144953077,"filename":"image_06012025_07_26_02_883294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72a0def759acccf6f3cbca3d81ff1777.jpg","text":"TemporaryFile(/tmp/multipartBody8662660049864815160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144953077,"filename":"image_06012025_07_27_02_507354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d730673709d59e7b5395d8499f61fb8c.jpg","text":"TemporaryFile(/tmp/multipartBody6703918667742661365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144953077,"filename":"image_06012025_07_27_02_507354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1af597f9f284687f152066955501946.jpg","text":"TemporaryFile(/tmp/multipartBody4965378533227425379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736144953077,"filename":"image_06012025_07_27_02_507354_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942418","file1":"1326942390","file0":"1326942388","file3":"1326942421"},"map_files_photo_id_array":[{"photo_id":"1326942418","filename":"file2"},{"photo_id":"1326942390","filename":"file1"},{"photo_id":"1326942388","filename":"file0"},{"photo_id":"1326942421","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942388":["hashtag1","hashtag2"]},{"1326942421":["hashtag1","hashtag2"]},{"1326942390":["hashtag1","hashtag2"]},{"1326942418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942388, 1326942421, 1326942390, 1326942418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90930247306824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:29:02.654975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0003.jpg', '/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0000.jpg', '/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0001.jpg', '/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/27/image_06012025_07_27_02_507354_0003.jpg
/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0000.jpg
/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0001.jpg
/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942475","1326942516","1326942606","1326942584"],"photo_ids_order":["1326942475","1326942516","1326942584","1326942606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f794c2b13f2a215d149601131396e0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4020600998035231884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145012890,"filename":"image_06012025_07_27_02_507354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f7f4f29849646d8270307f12d29e969.jpg","text":"TemporaryFile(/tmp/multipartBody8923056871545912684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145012890,"filename":"image_06012025_07_28_03_049103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bea0305126aba2147375d98d9043d49.jpg","text":"TemporaryFile(/tmp/multipartBody725061978339121245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145012890,"filename":"image_06012025_07_28_03_049103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6104f6093b56f86c20767cf3246376a.jpg","text":"TemporaryFile(/tmp/multipartBody3840034939704980677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145012890,"filename":"image_06012025_07_28_03_049103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942584","file1":"1326942516","file0":"1326942475","file3":"1326942606"},"map_files_photo_id_array":[{"photo_id":"1326942584","filename":"file2"},{"photo_id":"1326942516","filename":"file1"},{"photo_id":"1326942475","filename":"file0"},{"photo_id":"1326942606","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942475":["hashtag1","hashtag2"]},{"1326942516":["hashtag1","hashtag2"]},{"1326942606":["hashtag1","hashtag2"]},{"1326942584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942475, 1326942516, 1326942606, 1326942584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.834312200546265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:30:03.064127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0003.jpg', '/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0000.jpg', '/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0001.jpg', '/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/28/image_06012025_07_28_03_049103_0003.jpg
/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0000.jpg
/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0001.jpg
/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942653","1326942649","1326942643","1326942645"],"photo_ids_order":["1326942643","1326942645","1326942649","1326942653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40f4e78e16f8a36a064066978d73bf8a.jpg","text":"TemporaryFile(/tmp/multipartBody3447074843084553635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145073105,"filename":"image_06012025_07_29_02_740865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e14a03cecdaf0ffd210a7f4d48da9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8056240451505198842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145073105,"filename":"image_06012025_07_29_02_740865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a75a6f451c1f2a3d2973047160ecbc6.jpg","text":"TemporaryFile(/tmp/multipartBody5797675562180726498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145073105,"filename":"image_06012025_07_28_03_049103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78a6a53a87ba7e56818603d073a8761e.jpg","text":"TemporaryFile(/tmp/multipartBody398115660460838565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145073105,"filename":"image_06012025_07_29_02_740865_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942649","file1":"1326942645","file0":"1326942643","file3":"1326942653"},"map_files_photo_id_array":[{"photo_id":"1326942649","filename":"file2"},{"photo_id":"1326942645","filename":"file1"},{"photo_id":"1326942643","filename":"file0"},{"photo_id":"1326942653","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942653":["hashtag1","hashtag2"]},{"1326942649":["hashtag1","hashtag2"]},{"1326942643":["hashtag1","hashtag2"]},{"1326942645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942653, 1326942649, 1326942643, 1326942645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.343459367752075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:31:02.669717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0003.jpg', '/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0000.jpg', '/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0001.jpg', '/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/29/image_06012025_07_29_02_740865_0003.jpg
/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0000.jpg
/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0001.jpg
/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942671","1326942666","1326942674","1326942668"],"photo_ids_order":["1326942666","1326942668","1326942671","1326942674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c238d65f7d3d47e4f00995f26a61dfbf.jpg","text":"TemporaryFile(/tmp/multipartBody5472410057041723780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145133004,"filename":"image_06012025_07_30_02_276525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48091dd864a57b8eedb00672d0a921f8.jpg","text":"TemporaryFile(/tmp/multipartBody1950423379226494122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145133004,"filename":"image_06012025_07_29_02_740865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48dc0df7b90afa85cadf97db76b65e82.jpg","text":"TemporaryFile(/tmp/multipartBody559013920874222755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145133004,"filename":"image_06012025_07_30_02_276525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7992bbc23e14f36d4bd5b06acea56607.jpg","text":"TemporaryFile(/tmp/multipartBody6426903695774678824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145133004,"filename":"image_06012025_07_30_02_276525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942671","file1":"1326942668","file0":"1326942666","file3":"1326942674"},"map_files_photo_id_array":[{"photo_id":"1326942671","filename":"file2"},{"photo_id":"1326942668","filename":"file1"},{"photo_id":"1326942666","filename":"file0"},{"photo_id":"1326942674","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942671":["hashtag1","hashtag2"]},{"1326942666":["hashtag1","hashtag2"]},{"1326942674":["hashtag1","hashtag2"]},{"1326942668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942671, 1326942666, 1326942674, 1326942668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.244094371795654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:32:03.078861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0003.jpg', '/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0000.jpg', '/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0001.jpg', '/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/30/image_06012025_07_30_02_276525_0003.jpg
/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0000.jpg
/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0001.jpg
/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942806","1326942809","1326942775","1326942762"],"photo_ids_order":["1326942762","1326942775","1326942806","1326942809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c36ca492bb0637001e13a137a29387d.jpg","text":"TemporaryFile(/tmp/multipartBody4311228617018886140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145193357,"filename":"image_06012025_07_31_02_885209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2206cf5bb5222d01119045adf82bc7c.jpg","text":"TemporaryFile(/tmp/multipartBody8989724456002352054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145193357,"filename":"image_06012025_07_31_02_885209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea527e13ad920026eb8410718c3a81d6.jpg","text":"TemporaryFile(/tmp/multipartBody6653447918701309179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145193357,"filename":"image_06012025_07_31_02_885209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/370ccdc8938e35b0ca6124998a86966b.jpg","text":"TemporaryFile(/tmp/multipartBody3792020935386306734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145193357,"filename":"image_06012025_07_30_02_276525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942806","file1":"1326942775","file0":"1326942762","file3":"1326942809"},"map_files_photo_id_array":[{"photo_id":"1326942806","filename":"file2"},{"photo_id":"1326942775","filename":"file1"},{"photo_id":"1326942762","filename":"file0"},{"photo_id":"1326942809","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942806":["hashtag1","hashtag2"]},{"1326942809":["hashtag1","hashtag2"]},{"1326942775":["hashtag1","hashtag2"]},{"1326942762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942806, 1326942809, 1326942775, 1326942762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63468647003174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:33:02.738314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0003.jpg', '/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0000.jpg', '/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0001.jpg', '/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/31/image_06012025_07_31_02_885209_0003.jpg
/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0000.jpg
/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0001.jpg
/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942886","1326942891","1326942884","1326942893"],"photo_ids_order":["1326942884","1326942886","1326942891","1326942893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61a42ab6532fd8a5d06c2d3b1fa1fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody7170922220906784579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145253036,"filename":"image_06012025_07_32_02_409414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20d5289fba800f71ee8ec2eb4b09f59d.jpg","text":"TemporaryFile(/tmp/multipartBody3729070679576837473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145253036,"filename":"image_06012025_07_32_02_409414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0513de1be5952e53435f7564d81d60e.jpg","text":"TemporaryFile(/tmp/multipartBody6045609169663946157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145253036,"filename":"image_06012025_07_31_02_885209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0183d7fa03ce15f66cf580e69e91c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody6454702441389681159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145253036,"filename":"image_06012025_07_32_02_409414_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942891","file1":"1326942886","file0":"1326942884","file3":"1326942893"},"map_files_photo_id_array":[{"photo_id":"1326942891","filename":"file2"},{"photo_id":"1326942886","filename":"file1"},{"photo_id":"1326942884","filename":"file0"},{"photo_id":"1326942893","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942886":["hashtag1","hashtag2"]},{"1326942891":["hashtag1","hashtag2"]},{"1326942884":["hashtag1","hashtag2"]},{"1326942893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942886, 1326942891, 1326942884, 1326942893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.641011238098145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:34:03.127509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0003.jpg', '/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0000.jpg', '/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0001.jpg', '/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/32/image_06012025_07_32_02_409414_0003.jpg
/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0000.jpg
/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0001.jpg
/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942938","1326942940","1326942925","1326942942"],"photo_ids_order":["1326942925","1326942938","1326942940","1326942942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08cba24b921d154deb04fabc76f73ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1747763844200677587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145313500,"filename":"image_06012025_07_33_03_008281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/049e04329518c42c296ac37615449058.jpg","text":"TemporaryFile(/tmp/multipartBody1490363693171956010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145313500,"filename":"image_06012025_07_33_03_008281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b7895dc86f7391022193d91ecf10979.jpg","text":"TemporaryFile(/tmp/multipartBody9156454297646192223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145313500,"filename":"image_06012025_07_32_02_409414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7aa101e9ea81cbe1769c3bfbcde51dfd.jpg","text":"TemporaryFile(/tmp/multipartBody2851563813478248389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145313500,"filename":"image_06012025_07_33_03_008281_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942940","file1":"1326942938","file0":"1326942925","file3":"1326942942"},"map_files_photo_id_array":[{"photo_id":"1326942940","filename":"file2"},{"photo_id":"1326942938","filename":"file1"},{"photo_id":"1326942925","filename":"file0"},{"photo_id":"1326942942","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942938":["hashtag1","hashtag2"]},{"1326942940":["hashtag1","hashtag2"]},{"1326942925":["hashtag1","hashtag2"]},{"1326942942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942938, 1326942940, 1326942925, 1326942942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81190371513367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:35:02.851665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0003.jpg', '/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0000.jpg', '/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0001.jpg', '/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/33/image_06012025_07_33_03_008281_0003.jpg
/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0000.jpg
/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0001.jpg
/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326942985","1326942992","1326942995","1326942989"],"photo_ids_order":["1326942985","1326942989","1326942992","1326942995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/432f2b1a82c53f33c5ce7e1c64da909f.jpg","text":"TemporaryFile(/tmp/multipartBody5707115012730364166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145373070,"filename":"image_06012025_07_33_03_008281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/866628db97de2d842bbfa1ccd601415e.jpg","text":"TemporaryFile(/tmp/multipartBody3974663751355090560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145373070,"filename":"image_06012025_07_34_02_525556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32f043dc362e55ad4a79d5ee68b1297a.jpg","text":"TemporaryFile(/tmp/multipartBody1472642532933415547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145373070,"filename":"image_06012025_07_34_02_525556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c419f9cab754ee7f2f8838abd3e57e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2030692500569448262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145373070,"filename":"image_06012025_07_34_02_525556_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326942992","file1":"1326942989","file0":"1326942985","file3":"1326942995"},"map_files_photo_id_array":[{"photo_id":"1326942992","filename":"file2"},{"photo_id":"1326942989","filename":"file1"},{"photo_id":"1326942985","filename":"file0"},{"photo_id":"1326942995","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326942985":["hashtag1","hashtag2"]},{"1326942992":["hashtag1","hashtag2"]},{"1326942995":["hashtag1","hashtag2"]},{"1326942989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326942985, 1326942992, 1326942995, 1326942989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57676434516907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:36:02.204188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0003.jpg', '/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0000.jpg', '/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0001.jpg', '/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/34/image_06012025_07_34_02_525556_0003.jpg
/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0000.jpg
/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0001.jpg
/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943019","1326943015","1326943011","1326943008"],"photo_ids_order":["1326943008","1326943011","1326943015","1326943019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e883b05d9efb00520819dd451e93120.jpg","text":"TemporaryFile(/tmp/multipartBody4821037246111288548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145432352,"filename":"image_06012025_07_35_03_062439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2855cd133306e5bf161f3674a4c6315a.jpg","text":"TemporaryFile(/tmp/multipartBody7432051011199416196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145432352,"filename":"image_06012025_07_35_03_062439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/211592301b493f412d48e844e8c3d717.jpg","text":"TemporaryFile(/tmp/multipartBody5161489181021766071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145432352,"filename":"image_06012025_07_35_03_062439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ccd1b32caea27784e160badf42c702a.jpg","text":"TemporaryFile(/tmp/multipartBody584464808599972859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145432352,"filename":"image_06012025_07_34_02_525556_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943015","file1":"1326943011","file0":"1326943008","file3":"1326943019"},"map_files_photo_id_array":[{"photo_id":"1326943015","filename":"file2"},{"photo_id":"1326943011","filename":"file1"},{"photo_id":"1326943008","filename":"file0"},{"photo_id":"1326943019","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943019":["hashtag1","hashtag2"]},{"1326943015":["hashtag1","hashtag2"]},{"1326943011":["hashtag1","hashtag2"]},{"1326943008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943019, 1326943015, 1326943011, 1326943008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99996519088745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:37:02.875455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0003.jpg', '/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0000.jpg', '/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0001.jpg', '/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/35/image_06012025_07_35_03_062439_0003.jpg
/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0000.jpg
/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0001.jpg
/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943124","1326943089","1326943062","1326943067"],"photo_ids_order":["1326943062","1326943067","1326943089","1326943124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0491a6a868cc206d56360ced6ce8705f.jpg","text":"TemporaryFile(/tmp/multipartBody1117147201740057245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145493172,"filename":"image_06012025_07_36_02_534881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26f8bf260e9ee33e3b2c33b04fea4ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3753547184298142670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145493172,"filename":"image_06012025_07_36_02_534881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46e238135f5c9d76ac40b389d4cdc6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6727866130685457098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145493172,"filename":"image_06012025_07_35_03_062439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e894b368469439182f86bb65f851dedf.jpg","text":"TemporaryFile(/tmp/multipartBody3632877594945371795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145493172,"filename":"image_06012025_07_36_02_534881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943089","file1":"1326943067","file0":"1326943062","file3":"1326943124"},"map_files_photo_id_array":[{"photo_id":"1326943089","filename":"file2"},{"photo_id":"1326943067","filename":"file1"},{"photo_id":"1326943062","filename":"file0"},{"photo_id":"1326943124","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943124":["hashtag1","hashtag2"]},{"1326943089":["hashtag1","hashtag2"]},{"1326943062":["hashtag1","hashtag2"]},{"1326943067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943124, 1326943089, 1326943062, 1326943067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.36334276199341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:38:02.392728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0003.jpg', '/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0000.jpg', '/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0001.jpg', '/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/36/image_06012025_07_36_02_534881_0003.jpg
/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0000.jpg
/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0001.jpg
/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943291","1326943287","1326943149","1326943283"],"photo_ids_order":["1326943149","1326943283","1326943287","1326943291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ad816dc0dffea870908c8f0bb8d5445.jpg","text":"TemporaryFile(/tmp/multipartBody285412841771760444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145552844,"filename":"image_06012025_07_37_02_127792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39c4a24ab98140f5386173516e31a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody1499750585124599135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145552844,"filename":"image_06012025_07_37_02_127792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3474ff3223747c31eb230bdada983dac.jpg","text":"TemporaryFile(/tmp/multipartBody7754368247494126544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145552844,"filename":"image_06012025_07_36_02_534881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee817969919e3d088bbf7cfba41bf45e.jpg","text":"TemporaryFile(/tmp/multipartBody1610042349782741738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145552844,"filename":"image_06012025_07_37_02_127792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943287","file1":"1326943283","file0":"1326943149","file3":"1326943291"},"map_files_photo_id_array":[{"photo_id":"1326943287","filename":"file2"},{"photo_id":"1326943283","filename":"file1"},{"photo_id":"1326943149","filename":"file0"},{"photo_id":"1326943291","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943291":["hashtag1","hashtag2"]},{"1326943287":["hashtag1","hashtag2"]},{"1326943149":["hashtag1","hashtag2"]},{"1326943283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943291, 1326943287, 1326943149, 1326943283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09942150115967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:39:03.140631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0003.jpg', '/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0000.jpg', '/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0001.jpg', '/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/37/image_06012025_07_37_02_127792_0003.jpg
/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0000.jpg
/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0001.jpg
/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943399","1326943393","1326943396","1326943394"],"photo_ids_order":["1326943393","1326943394","1326943396","1326943399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b342b0b2cd7c546194c099f531d0c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8031595774191403038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145613290,"filename":"image_06012025_07_38_02_635498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e2b820e932aefb14fedc0e925c8a34d.jpg","text":"TemporaryFile(/tmp/multipartBody6210296280550145062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145613290,"filename":"image_06012025_07_37_02_127792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eaa6463ee3fb1781f17613c28481b00a.jpg","text":"TemporaryFile(/tmp/multipartBody7349598239258048191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145613290,"filename":"image_06012025_07_38_02_635498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/121b24fdaa306a061bda4a4fcf1f64a3.jpg","text":"TemporaryFile(/tmp/multipartBody4255863296429213669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145613290,"filename":"image_06012025_07_38_02_635498_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943396","file1":"1326943394","file0":"1326943393","file3":"1326943399"},"map_files_photo_id_array":[{"photo_id":"1326943396","filename":"file2"},{"photo_id":"1326943394","filename":"file1"},{"photo_id":"1326943393","filename":"file0"},{"photo_id":"1326943399","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943399":["hashtag1","hashtag2"]},{"1326943393":["hashtag1","hashtag2"]},{"1326943396":["hashtag1","hashtag2"]},{"1326943394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943399, 1326943393, 1326943396, 1326943394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.673768758773804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:40:02.422217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0003.jpg', '/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0000.jpg', '/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/38/image_06012025_07_38_02_635498_0003.jpg
/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0000.jpg
/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943420","1326943442","1326943427"],"photo_ids_order":["1326943420","1326943427","1326943442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9801402b05dfd5fd3cd80647cf237ae.jpg","text":"TemporaryFile(/tmp/multipartBody8780653096278156836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145670225,"filename":"image_06012025_07_38_02_635498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49d3ba2e3911f58e68793a45d8d30f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7490817085841600739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145670225,"filename":"image_06012025_07_39_02_319348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/885c3d8ee564aae997bfd7023f15767e.jpg","text":"TemporaryFile(/tmp/multipartBody909966643345777679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145670225,"filename":"image_06012025_07_39_02_319348_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943442","file1":"1326943427","file0":"1326943420"},"map_files_photo_id_array":[{"photo_id":"1326943442","filename":"file2"},{"photo_id":"1326943427","filename":"file1"},{"photo_id":"1326943420","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943420":["hashtag1","hashtag2"]},{"1326943442":["hashtag1","hashtag2"]},{"1326943427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943420, 1326943442, 1326943427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.151882886886597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:41:03.282987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0003.jpg', '/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0000.jpg', '/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0001.jpg', '/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/39/image_06012025_07_39_02_319348_0003.jpg
/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0000.jpg
/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0001.jpg
/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943540","1326943543","1326943541","1326943547"],"photo_ids_order":["1326943540","1326943541","1326943543","1326943547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5db2b3ad2ed1d995819378b43a3567db.jpg","text":"TemporaryFile(/tmp/multipartBody196813124660831845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145733608,"filename":"image_06012025_07_39_02_319348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d186cb36f4a98ae42b2234250c6af3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4185632681716890800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145733608,"filename":"image_06012025_07_40_02_820018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c3cfef61f77adbb84fb4ea860203ff6.jpg","text":"TemporaryFile(/tmp/multipartBody630720065296626207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145733608,"filename":"image_06012025_07_40_02_820018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8c1e4d64be1a6c9e963f9c0fca5bef7.jpg","text":"TemporaryFile(/tmp/multipartBody8084514898328897231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145733608,"filename":"image_06012025_07_40_02_820018_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943543","file1":"1326943541","file0":"1326943540","file3":"1326943547"},"map_files_photo_id_array":[{"photo_id":"1326943543","filename":"file2"},{"photo_id":"1326943541","filename":"file1"},{"photo_id":"1326943540","filename":"file0"},{"photo_id":"1326943547","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943540":["hashtag1","hashtag2"]},{"1326943543":["hashtag1","hashtag2"]},{"1326943541":["hashtag1","hashtag2"]},{"1326943547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943540, 1326943543, 1326943541, 1326943547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.896899700164795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:42:02.744288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0003.jpg', '/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0000.jpg', '/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0001.jpg', '/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/40/image_06012025_07_40_02_820018_0003.jpg
/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0000.jpg
/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0001.jpg
/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943591","1326943594","1326943590","1326943598"],"photo_ids_order":["1326943590","1326943591","1326943594","1326943598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/befd1654f69f29d756e23396e24710d1.jpg","text":"TemporaryFile(/tmp/multipartBody665079895277296304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145792935,"filename":"image_06012025_07_41_02_509858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ec5fc319e4a0634c2999a6fe44ef134.jpg","text":"TemporaryFile(/tmp/multipartBody2945146595554814514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145792935,"filename":"image_06012025_07_41_02_509858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4c7e3fe878ad1080e3eb621a3270af3.jpg","text":"TemporaryFile(/tmp/multipartBody7368880369634557044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145792935,"filename":"image_06012025_07_40_02_820018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ffcfcb121367640f9768cf0e00eab16.jpg","text":"TemporaryFile(/tmp/multipartBody7919857410048419955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145792935,"filename":"image_06012025_07_41_02_509858_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943594","file1":"1326943591","file0":"1326943590","file3":"1326943598"},"map_files_photo_id_array":[{"photo_id":"1326943594","filename":"file2"},{"photo_id":"1326943591","filename":"file1"},{"photo_id":"1326943590","filename":"file0"},{"photo_id":"1326943598","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943591":["hashtag1","hashtag2"]},{"1326943594":["hashtag1","hashtag2"]},{"1326943590":["hashtag1","hashtag2"]},{"1326943598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943591, 1326943594, 1326943590, 1326943598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.630794525146484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:43:02.481752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0003.jpg', '/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0000.jpg', '/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0001.jpg', '/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/41/image_06012025_07_41_02_509858_0003.jpg
/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0000.jpg
/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0001.jpg
/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943614","1326943622","1326943616","1326943619"],"photo_ids_order":["1326943614","1326943616","1326943619","1326943622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07d7a4e1a2e945c80ff559500a518ada.jpg","text":"TemporaryFile(/tmp/multipartBody4308329856736071565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145852842,"filename":"image_06012025_07_41_02_509858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/379834bda9c21abd84aadc3a04b1dce9.jpg","text":"TemporaryFile(/tmp/multipartBody140122085301585131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145852842,"filename":"image_06012025_07_42_03_006623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68ddd7186b5f8621114415a6bdecc3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3265603607530207313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145852842,"filename":"image_06012025_07_42_03_006623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc6f6d910a01d188454cfb20dcc22c93.jpg","text":"TemporaryFile(/tmp/multipartBody8470337439567177522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145852842,"filename":"image_06012025_07_42_03_006623_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943619","file1":"1326943616","file0":"1326943614","file3":"1326943622"},"map_files_photo_id_array":[{"photo_id":"1326943619","filename":"file2"},{"photo_id":"1326943616","filename":"file1"},{"photo_id":"1326943614","filename":"file0"},{"photo_id":"1326943622","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943614":["hashtag1","hashtag2"]},{"1326943622":["hashtag1","hashtag2"]},{"1326943616":["hashtag1","hashtag2"]},{"1326943619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943614, 1326943622, 1326943616, 1326943619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.406643867492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:44:03.080402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0003.jpg', '/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0000.jpg', '/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0001.jpg', '/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/42/image_06012025_07_42_03_006623_0003.jpg
/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0000.jpg
/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0001.jpg
/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943686","1326943695","1326943691","1326943649"],"photo_ids_order":["1326943649","1326943686","1326943691","1326943695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22027d03a5b6b53c3a1ad0df427a97a5.jpg","text":"TemporaryFile(/tmp/multipartBody8148170881112403276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145913245,"filename":"image_06012025_07_43_02_745422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a42f482ba32fb4180d85dd2016c447fb.jpg","text":"TemporaryFile(/tmp/multipartBody7765649772850816972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145913245,"filename":"image_06012025_07_43_02_745422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edf68d4a166993baaf026cc860b4910e.jpg","text":"TemporaryFile(/tmp/multipartBody1151026101740451587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145913245,"filename":"image_06012025_07_43_02_745422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/412a1ffd76463fce4788ba3d34b97ded.jpg","text":"TemporaryFile(/tmp/multipartBody3949865338928620951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145913245,"filename":"image_06012025_07_42_03_006623_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943691","file1":"1326943686","file0":"1326943649","file3":"1326943695"},"map_files_photo_id_array":[{"photo_id":"1326943691","filename":"file2"},{"photo_id":"1326943686","filename":"file1"},{"photo_id":"1326943649","filename":"file0"},{"photo_id":"1326943695","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943686":["hashtag1","hashtag2"]},{"1326943695":["hashtag1","hashtag2"]},{"1326943691":["hashtag1","hashtag2"]},{"1326943649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943686, 1326943695, 1326943691, 1326943649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22305703163147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:45:02.678415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0003.jpg', '/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0000.jpg', '/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0001.jpg', '/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/43/image_06012025_07_43_02_745422_0003.jpg
/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0000.jpg
/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0001.jpg
/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943725","1326943719","1326943721","1326943718"],"photo_ids_order":["1326943718","1326943719","1326943721","1326943725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a2424c8c9f51abbec0c6ef37327214f.jpg","text":"TemporaryFile(/tmp/multipartBody3972136218419324797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145972847,"filename":"image_06012025_07_44_02_333197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb62faa2ec1d87f08fe0a23f9c841100.jpg","text":"TemporaryFile(/tmp/multipartBody298270991614372613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145972847,"filename":"image_06012025_07_44_02_333197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc2dd9fef7269713dfd07c4968827ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6204944149267844473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145972847,"filename":"image_06012025_07_44_02_333197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6836c3aadfc5c8eb75fd62f9482a9aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3120236809310886900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736145972847,"filename":"image_06012025_07_43_02_745422_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943721","file1":"1326943719","file0":"1326943718","file3":"1326943725"},"map_files_photo_id_array":[{"photo_id":"1326943721","filename":"file2"},{"photo_id":"1326943719","filename":"file1"},{"photo_id":"1326943718","filename":"file0"},{"photo_id":"1326943725","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943725":["hashtag1","hashtag2"]},{"1326943719":["hashtag1","hashtag2"]},{"1326943721":["hashtag1","hashtag2"]},{"1326943718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943725, 1326943719, 1326943721, 1326943718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65146470069885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:46:02.270916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0003.jpg', '/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0000.jpg', '/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0001.jpg', '/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/44/image_06012025_07_44_02_333197_0003.jpg
/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0000.jpg
/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0001.jpg
/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943771","1326943765","1326943796","1326943775"],"photo_ids_order":["1326943765","1326943771","1326943775","1326943796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0afca3b02a9a52185358b5a21c3eba00.jpg","text":"TemporaryFile(/tmp/multipartBody4303736354253681080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146032489,"filename":"image_06012025_07_45_02_883741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5506cb845dba784f659b5b7b3ec541e1.jpg","text":"TemporaryFile(/tmp/multipartBody7121369188106931033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146032489,"filename":"image_06012025_07_44_02_333197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7fc7bccb6b132b586843be989e1f42d.jpg","text":"TemporaryFile(/tmp/multipartBody1119097679841897974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146032489,"filename":"image_06012025_07_45_02_883741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34e723048e765c93cfb7eaa104d3000e.jpg","text":"TemporaryFile(/tmp/multipartBody8630420581793136963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146032489,"filename":"image_06012025_07_45_02_883741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943775","file1":"1326943771","file0":"1326943765","file3":"1326943796"},"map_files_photo_id_array":[{"photo_id":"1326943775","filename":"file2"},{"photo_id":"1326943771","filename":"file1"},{"photo_id":"1326943765","filename":"file0"},{"photo_id":"1326943796","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943771":["hashtag1","hashtag2"]},{"1326943765":["hashtag1","hashtag2"]},{"1326943796":["hashtag1","hashtag2"]},{"1326943775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943771, 1326943765, 1326943796, 1326943775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.58794808387756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:47:02.926977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0003.jpg', '/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0000.jpg', '/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0001.jpg', '/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/45/image_06012025_07_45_02_883741_0003.jpg
/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0000.jpg
/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0001.jpg
/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943869","1326943871","1326943874","1326943868"],"photo_ids_order":["1326943868","1326943869","1326943871","1326943874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/491f3032c4172da1220688756f28ecf9.jpg","text":"TemporaryFile(/tmp/multipartBody818931472863171970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146093215,"filename":"image_06012025_07_46_02_477857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e06963b1b2a1fc9e3d2438fa2fa1b08d.jpg","text":"TemporaryFile(/tmp/multipartBody6004742730581410639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146093215,"filename":"image_06012025_07_46_02_477857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c675272bbbd7870e64434c231d88ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody6767952731311417739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146093215,"filename":"image_06012025_07_46_02_477857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d538692ff48b15102d8dbafc39f9682.jpg","text":"TemporaryFile(/tmp/multipartBody9205954910995567769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146093215,"filename":"image_06012025_07_45_02_883741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943871","file1":"1326943869","file0":"1326943868","file3":"1326943874"},"map_files_photo_id_array":[{"photo_id":"1326943871","filename":"file2"},{"photo_id":"1326943869","filename":"file1"},{"photo_id":"1326943868","filename":"file0"},{"photo_id":"1326943874","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943869":["hashtag1","hashtag2"]},{"1326943871":["hashtag1","hashtag2"]},{"1326943874":["hashtag1","hashtag2"]},{"1326943868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943869, 1326943871, 1326943874, 1326943868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7631459236145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:48:02.433478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0003.jpg', '/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0000.jpg', '/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0001.jpg', '/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/46/image_06012025_07_46_02_477857_0003.jpg
/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0000.jpg
/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0001.jpg
/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943890","1326943893","1326943895","1326943891"],"photo_ids_order":["1326943890","1326943891","1326943893","1326943895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ae6b68b38b6d1a54a8e224a76c9d24f.jpg","text":"TemporaryFile(/tmp/multipartBody1736046021408687815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146152658,"filename":"image_06012025_07_46_02_477857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/374c5ab8d6c912d458b5fd3bef484b34.jpg","text":"TemporaryFile(/tmp/multipartBody1346598773018797345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146152658,"filename":"image_06012025_07_47_02_213721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76b02a1a38142f557ee98deed20f7685.jpg","text":"TemporaryFile(/tmp/multipartBody2930137028717758051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146152658,"filename":"image_06012025_07_47_02_213721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/967d1537eb4b7da2a542b9f150d26ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4228958138732464573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146152658,"filename":"image_06012025_07_47_02_213721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943893","file1":"1326943891","file0":"1326943890","file3":"1326943895"},"map_files_photo_id_array":[{"photo_id":"1326943893","filename":"file2"},{"photo_id":"1326943891","filename":"file1"},{"photo_id":"1326943890","filename":"file0"},{"photo_id":"1326943895","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943890":["hashtag1","hashtag2"]},{"1326943893":["hashtag1","hashtag2"]},{"1326943895":["hashtag1","hashtag2"]},{"1326943891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943890, 1326943893, 1326943895, 1326943891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.134257316589355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:49:03.408820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0003.jpg', '/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0000.jpg', '/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0001.jpg', '/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/47/image_06012025_07_47_02_213721_0003.jpg
/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0000.jpg
/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0001.jpg
/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326943936","1326944030","1326943943","1326943990"],"photo_ids_order":["1326943936","1326943943","1326943990","1326944030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e070c563c454bb9d459d0ba884183dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1337336903836193472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146213558,"filename":"image_06012025_07_47_02_213721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b93868856e99ffab27c0dcbc50ea3aca.jpg","text":"TemporaryFile(/tmp/multipartBody1118340915348044459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146213558,"filename":"image_06012025_07_48_02_721820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77ae7f6d6b74fc9c855c46f06781a8e2.jpg","text":"TemporaryFile(/tmp/multipartBody6120110335538365836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146213558,"filename":"image_06012025_07_48_02_721820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46e428c0454c0c7edb31e39fb639bb91.jpg","text":"TemporaryFile(/tmp/multipartBody7427602780516233200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146213558,"filename":"image_06012025_07_48_02_721820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326943990","file1":"1326943943","file0":"1326943936","file3":"1326944030"},"map_files_photo_id_array":[{"photo_id":"1326943990","filename":"file2"},{"photo_id":"1326943943","filename":"file1"},{"photo_id":"1326943936","filename":"file0"},{"photo_id":"1326944030","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326943936":["hashtag1","hashtag2"]},{"1326944030":["hashtag1","hashtag2"]},{"1326943943":["hashtag1","hashtag2"]},{"1326943990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326943936, 1326944030, 1326943943, 1326943990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.168731927871704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:50:02.606149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0003.jpg', '/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0000.jpg', '/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0001.jpg', '/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/48/image_06012025_07_48_02_721820_0003.jpg
/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0000.jpg
/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0001.jpg
/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944093","1326944096","1326944099","1326944090"],"photo_ids_order":["1326944090","1326944093","1326944096","1326944099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8e7daa2471ade9690980628c5609916.jpg","text":"TemporaryFile(/tmp/multipartBody5342591638576484349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146272710,"filename":"image_06012025_07_49_02_461381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0373d60ae68f9f68eacf09589d3bc7a.jpg","text":"TemporaryFile(/tmp/multipartBody3484632387507398277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146272710,"filename":"image_06012025_07_49_02_461381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ac0874bc972a5d9aa7dd61712797cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5447654668371977648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146272710,"filename":"image_06012025_07_49_02_461381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a969f729c7b1c37381a8aa65edfb984d.jpg","text":"TemporaryFile(/tmp/multipartBody5444793135303460583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146272710,"filename":"image_06012025_07_48_02_721820_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944096","file1":"1326944093","file0":"1326944090","file3":"1326944099"},"map_files_photo_id_array":[{"photo_id":"1326944096","filename":"file2"},{"photo_id":"1326944093","filename":"file1"},{"photo_id":"1326944090","filename":"file0"},{"photo_id":"1326944099","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944093":["hashtag1","hashtag2"]},{"1326944096":["hashtag1","hashtag2"]},{"1326944099":["hashtag1","hashtag2"]},{"1326944090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944093, 1326944096, 1326944099, 1326944090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48132014274597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:51:03.261718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0003.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0000.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0001.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0003.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0000.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0001.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_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.754237174987793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:51:22.678226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0003.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0000.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0001.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0002.jpg', '/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0003.jpg', '/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/49/image_06012025_07_49_02_461381_0003.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0000.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0001.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0002.jpg
/home/pi/Desktop/images/06012025/07/50/image_06012025_07_50_03_029173_0003.jpg
/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944137","1326944139","1326944133","1326944126","1326944135","1326944129"],"photo_ids_order":["1326944126","1326944129","1326944133","1326944135","1326944137","1326944139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86f047a75946e261f27dc6c3a504b62e.jpg","text":"TemporaryFile(/tmp/multipartBody8336205505917044542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_50_03_029173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/073131d8cab3f5d17ef94aca4d5d332c.jpg","text":"TemporaryFile(/tmp/multipartBody2665422488009849567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_51_02_567334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5ddcffbe7309eb807dc2ab890e15f40.jpg","text":"TemporaryFile(/tmp/multipartBody2792174693266697566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_50_03_029173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ead4c94556c9824867461b536c9da98.jpg","text":"TemporaryFile(/tmp/multipartBody2607182884081477761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_49_02_461381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4699ec5b35e950795ed56e5347a6df03.jpg","text":"TemporaryFile(/tmp/multipartBody5366616452777197906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_50_03_029173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3317d9b5e2834909f0f78953262c2725.jpg","text":"TemporaryFile(/tmp/multipartBody7711262856485426894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146357451,"filename":"image_06012025_07_50_03_029173_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944133","file1":"1326944129","file0":"1326944126","file4":"1326944137","file5":"1326944139","file3":"1326944135"},"map_files_photo_id_array":[{"photo_id":"1326944139","filename":"file5"},{"photo_id":"1326944133","filename":"file2"},{"photo_id":"1326944137","filename":"file4"},{"photo_id":"1326944129","filename":"file1"},{"photo_id":"1326944126","filename":"file0"},{"photo_id":"1326944135","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944137":["hashtag1","hashtag2"]},{"1326944139":["hashtag1","hashtag2"]},{"1326944133":["hashtag1","hashtag2"]},{"1326944126":["hashtag1","hashtag2"]},{"1326944135":["hashtag1","hashtag2"]},{"1326944129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944137, 1326944139, 1326944133, 1326944126, 1326944135, 1326944129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48528218269348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:52:22.380801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0002.jpg', '/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0003.jpg', '/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0000.jpg', '/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0001.jpg', '/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0002.jpg
/home/pi/Desktop/images/06012025/07/51/image_06012025_07_51_02_567334_0003.jpg
/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0000.jpg
/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0001.jpg
/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944175","1326944177","1326944171","1326944165","1326944159"],"photo_ids_order":["1326944159","1326944165","1326944171","1326944175","1326944177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67d3bb8d02da5da8f4937d0698685456.jpg","text":"TemporaryFile(/tmp/multipartBody7047746242035038230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146414934,"filename":"image_06012025_07_52_03_094416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/137b1e2b7aab4f69e1c001b93c738127.jpg","text":"TemporaryFile(/tmp/multipartBody1686737316714849650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146414934,"filename":"image_06012025_07_52_03_094416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5a131775b6c66aa696620d3a2aaa6cf.jpg","text":"TemporaryFile(/tmp/multipartBody7122367712251254485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146414934,"filename":"image_06012025_07_52_03_094416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b300dfffcbb61217b7a9f247024d4a5f.jpg","text":"TemporaryFile(/tmp/multipartBody1250292546077843450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146414934,"filename":"image_06012025_07_51_02_567334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42d1c97dad6f45a259674a32f609849a.jpg","text":"TemporaryFile(/tmp/multipartBody7428481733159379000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146414934,"filename":"image_06012025_07_51_02_567334_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944171","file1":"1326944165","file0":"1326944159","file4":"1326944177","file3":"1326944175"},"map_files_photo_id_array":[{"photo_id":"1326944171","filename":"file2"},{"photo_id":"1326944177","filename":"file4"},{"photo_id":"1326944165","filename":"file1"},{"photo_id":"1326944159","filename":"file0"},{"photo_id":"1326944175","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944175":["hashtag1","hashtag2"]},{"1326944177":["hashtag1","hashtag2"]},{"1326944171":["hashtag1","hashtag2"]},{"1326944165":["hashtag1","hashtag2"]},{"1326944159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944175, 1326944177, 1326944171, 1326944165, 1326944159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.983861684799194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:53:21.844965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0003.jpg', '/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0000.jpg', '/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/52/image_06012025_07_52_03_094416_0003.jpg
/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0000.jpg
/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944229","1326944220","1326944225"],"photo_ids_order":["1326944220","1326944225","1326944229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf38c03658540bb21023a5f034f81a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6018429771232351704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146469584,"filename":"image_06012025_07_53_02_714707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8b6f62a7210694b1987af8604312cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3258385688409192967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146469584,"filename":"image_06012025_07_52_03_094416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f42c9cf3675b946b098d3e06441a6dde.jpg","text":"TemporaryFile(/tmp/multipartBody4360787158871711953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146469584,"filename":"image_06012025_07_53_02_714707_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944229","file1":"1326944225","file0":"1326944220"},"map_files_photo_id_array":[{"photo_id":"1326944229","filename":"file2"},{"photo_id":"1326944225","filename":"file1"},{"photo_id":"1326944220","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944229":["hashtag1","hashtag2"]},{"1326944220":["hashtag1","hashtag2"]},{"1326944225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944229, 1326944220, 1326944225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.667996168136597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:54:02.866219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:54:22.446020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0003.jpg', '/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0000.jpg', '/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0001.jpg', '/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/53/image_06012025_07_53_02_714707_0003.jpg
/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0000.jpg
/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0001.jpg
/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944254","1326944257","1326944250","1326944246"],"photo_ids_order":["1326944246","1326944250","1326944254","1326944257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1511d790714db8eca44b5dff9adc574e.jpg","text":"TemporaryFile(/tmp/multipartBody678510330243607280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146532548,"filename":"image_06012025_07_54_02_294108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8bf61da4c7d85ba2bf67dee929b2521.jpg","text":"TemporaryFile(/tmp/multipartBody5746885662537121241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146532548,"filename":"image_06012025_07_54_02_294108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46756734e3647a1c42ddae0abd5d4939.jpg","text":"TemporaryFile(/tmp/multipartBody1272102847483030526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146532548,"filename":"image_06012025_07_54_02_294108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c9b3324d4f60d079b8e4dbfb6187a22.jpg","text":"TemporaryFile(/tmp/multipartBody7867630171510793337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146532548,"filename":"image_06012025_07_53_02_714707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944254","file1":"1326944250","file0":"1326944246","file3":"1326944257"},"map_files_photo_id_array":[{"photo_id":"1326944254","filename":"file2"},{"photo_id":"1326944250","filename":"file1"},{"photo_id":"1326944246","filename":"file0"},{"photo_id":"1326944257","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944254":["hashtag1","hashtag2"]},{"1326944257":["hashtag1","hashtag2"]},{"1326944250":["hashtag1","hashtag2"]},{"1326944246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944254, 1326944257, 1326944250, 1326944246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20227646827698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:55:21.993149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0003.jpg', '/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0000.jpg', '/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0001.jpg', '/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/54/image_06012025_07_54_02_294108_0003.jpg
/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0000.jpg
/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0001.jpg
/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944404","1326944280","1326944409","1326944276"],"photo_ids_order":["1326944276","1326944280","1326944404","1326944409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dddb8385ffdcf86fb6c70aeacf3c32ba.jpg","text":"TemporaryFile(/tmp/multipartBody3574689586085457987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146592171,"filename":"image_06012025_07_55_02_881986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92e5a3cf1adec5b86376b366a3c2b09c.jpg","text":"TemporaryFile(/tmp/multipartBody5393102718068960215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146592171,"filename":"image_06012025_07_55_02_881986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61566a912b24a29e2c223742a23810c9.jpg","text":"TemporaryFile(/tmp/multipartBody2653496893867689970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146592171,"filename":"image_06012025_07_55_02_881986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4049729f73b46a62eeb72719616e8de.jpg","text":"TemporaryFile(/tmp/multipartBody3435306945283497455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146592171,"filename":"image_06012025_07_54_02_294108_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944404","file1":"1326944280","file0":"1326944276","file3":"1326944409"},"map_files_photo_id_array":[{"photo_id":"1326944404","filename":"file2"},{"photo_id":"1326944280","filename":"file1"},{"photo_id":"1326944276","filename":"file0"},{"photo_id":"1326944409","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944404":["hashtag1","hashtag2"]},{"1326944280":["hashtag1","hashtag2"]},{"1326944409":["hashtag1","hashtag2"]},{"1326944276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944404, 1326944280, 1326944409, 1326944276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14891743659973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:56:02.844283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:56:22.553791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0003.jpg', '/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0000.jpg', '/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0001.jpg', '/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/55/image_06012025_07_55_02_881986_0003.jpg
/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0000.jpg
/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0001.jpg
/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326944895","1326944844","1326944847","1326944686"],"photo_ids_order":["1326944686","1326944844","1326944847","1326944895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90fcdf85f9890f09798d719974d91267.jpg","text":"TemporaryFile(/tmp/multipartBody2464886893865644508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146652504,"filename":"image_06012025_07_56_02_381012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0298d000dd399271ccddae35ff62c66e.jpg","text":"TemporaryFile(/tmp/multipartBody6195911941230847617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146652504,"filename":"image_06012025_07_56_02_381012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67618614625f683db58e5aef591a6ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6810408258335596762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146652504,"filename":"image_06012025_07_56_02_381012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c27c62d95df1ed579a67787112f3a86d.jpg","text":"TemporaryFile(/tmp/multipartBody2613721407669763454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146652504,"filename":"image_06012025_07_55_02_881986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326944847","file1":"1326944844","file0":"1326944686","file3":"1326944895"},"map_files_photo_id_array":[{"photo_id":"1326944847","filename":"file2"},{"photo_id":"1326944844","filename":"file1"},{"photo_id":"1326944686","filename":"file0"},{"photo_id":"1326944895","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326944895":["hashtag1","hashtag2"]},{"1326944844":["hashtag1","hashtag2"]},{"1326944847":["hashtag1","hashtag2"]},{"1326944686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326944895, 1326944844, 1326944847, 1326944686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.935489654541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:57:02.553878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 07:57:22.098832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0003.jpg', '/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0000.jpg', '/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/56/image_06012025_07_56_02_381012_0003.jpg
/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0000.jpg
/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326945314","1326945317","1326945199"],"photo_ids_order":["1326945199","1326945314","1326945317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96afd232b5756c6e42cb9571066f5e57.jpg","text":"TemporaryFile(/tmp/multipartBody2074031974973323269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146709831,"filename":"image_06012025_07_57_02_927384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5283f3881b9234613ab4a1cdd86e174b.jpg","text":"TemporaryFile(/tmp/multipartBody2229534280454758536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146709831,"filename":"image_06012025_07_57_02_927384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50116864e50230e6dfc1bcf2e89553ee.jpg","text":"TemporaryFile(/tmp/multipartBody4243679835767868182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146709831,"filename":"image_06012025_07_56_02_381012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326945317","file1":"1326945314","file0":"1326945199"},"map_files_photo_id_array":[{"photo_id":"1326945317","filename":"file2"},{"photo_id":"1326945314","filename":"file1"},{"photo_id":"1326945199","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326945314":["hashtag1","hashtag2"]},{"1326945317":["hashtag1","hashtag2"]},{"1326945199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326945314, 1326945317, 1326945199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.986151695251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 07:59:02.751029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 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-06 07:59:22.021029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0002.jpg', '/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0000.jpg', '/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0001.jpg', '/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0002.jpg', '/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0003.jpg', '/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/57/image_06012025_07_57_02_927384_0002.jpg
/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0000.jpg
/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0001.jpg
/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0002.jpg
/home/pi/Desktop/images/06012025/07/58/image_06012025_07_58_02_499328_0003.jpg
/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326945993","1326945978","1326945983","1326945986","1326945997","1326945990"],"photo_ids_order":["1326945978","1326945983","1326945986","1326945990","1326945993","1326945997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd495fb139ca21b0062a00f5a842ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody7171795565453117876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_58_02_499328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7951f474ea18087b506dde005af115f.jpg","text":"TemporaryFile(/tmp/multipartBody8077827728785835882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_57_02_927384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8ff59ca91f4ce43cb2a0a2e0c00056d.jpg","text":"TemporaryFile(/tmp/multipartBody661970637133672074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_58_02_499328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40ce7e5d6634ebbf25dfe14b58e1313b.jpg","text":"TemporaryFile(/tmp/multipartBody4806633032743023820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_58_02_499328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40e808b0e2d252a28df5ad639dd6738a.jpg","text":"TemporaryFile(/tmp/multipartBody8622135279476841328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_59_02_198400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5b3285db9cb46c4db6bde5141768011.jpg","text":"TemporaryFile(/tmp/multipartBody7660485554942236129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146836653,"filename":"image_06012025_07_58_02_499328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326945986","file1":"1326945983","file0":"1326945978","file4":"1326945993","file5":"1326945997","file3":"1326945990"},"map_files_photo_id_array":[{"photo_id":"1326945997","filename":"file5"},{"photo_id":"1326945986","filename":"file2"},{"photo_id":"1326945993","filename":"file4"},{"photo_id":"1326945983","filename":"file1"},{"photo_id":"1326945978","filename":"file0"},{"photo_id":"1326945990","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326945993":["hashtag1","hashtag2"]},{"1326945978":["hashtag1","hashtag2"]},{"1326945983":["hashtag1","hashtag2"]},{"1326945986":["hashtag1","hashtag2"]},{"1326945997":["hashtag1","hashtag2"]},{"1326945990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326945993, 1326945978, 1326945983, 1326945986, 1326945997, 1326945990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.151379108428955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:00:22.703267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0001.jpg', '/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0002.jpg', '/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0003.jpg', '/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0000.jpg', '/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0001.jpg', '/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0001.jpg
/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0002.jpg
/home/pi/Desktop/images/06012025/07/59/image_06012025_07_59_02_198400_0003.jpg
/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0000.jpg
/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0001.jpg
/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946038","1326946022","1326946019","1326946045","1326946033","1326946027"],"photo_ids_order":["1326946019","1326946022","1326946027","1326946033","1326946038","1326946045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d5090869c133644896fd668ac2efeeb.jpg","text":"TemporaryFile(/tmp/multipartBody1561072384404210733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_08_00_02_418496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f061c1506f519bd6d9ab8073cad7733.jpg","text":"TemporaryFile(/tmp/multipartBody22846880812603731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_07_59_02_198400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6469269a281730af0581cf38be90bc11.jpg","text":"TemporaryFile(/tmp/multipartBody4487476515170026379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_07_59_02_198400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e1a5bd43dc0f6cdd4e511b5e2cc2393.jpg","text":"TemporaryFile(/tmp/multipartBody179252906549805540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_08_00_02_418496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a6d8b502ce1f567ee5b64a4ebe7b045.jpg","text":"TemporaryFile(/tmp/multipartBody2323931152445405476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_08_00_02_418496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1472671640179cbbef36f0eb73ed995b.jpg","text":"TemporaryFile(/tmp/multipartBody7280650569241380280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146897620,"filename":"image_06012025_07_59_02_198400_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946027","file1":"1326946022","file0":"1326946019","file4":"1326946038","file5":"1326946045","file3":"1326946033"},"map_files_photo_id_array":[{"photo_id":"1326946045","filename":"file5"},{"photo_id":"1326946027","filename":"file2"},{"photo_id":"1326946038","filename":"file4"},{"photo_id":"1326946022","filename":"file1"},{"photo_id":"1326946019","filename":"file0"},{"photo_id":"1326946033","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946038":["hashtag1","hashtag2"]},{"1326946022":["hashtag1","hashtag2"]},{"1326946019":["hashtag1","hashtag2"]},{"1326946045":["hashtag1","hashtag2"]},{"1326946033":["hashtag1","hashtag2"]},{"1326946027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946038, 1326946022, 1326946019, 1326946045, 1326946033, 1326946027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29415416717529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:01:22.125632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0003.jpg', '/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0000.jpg', '/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0001.jpg', '/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/00/image_06012025_08_00_02_418496_0003.jpg
/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0000.jpg
/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0001.jpg
/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946065","1326946069","1326946078","1326946074"],"photo_ids_order":["1326946065","1326946069","1326946074","1326946078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b31dc5de513cf6aa3f8fa9ff75699d78.jpg","text":"TemporaryFile(/tmp/multipartBody6657479573705020226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146952205,"filename":"image_06012025_08_00_02_418496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d887b71e3cf14e1e220d403c57e681a.jpg","text":"TemporaryFile(/tmp/multipartBody3221467122158833598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146952205,"filename":"image_06012025_08_01_03_003639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3b7351d8c924d678be38239ce5ef4a5.jpg","text":"TemporaryFile(/tmp/multipartBody6364142849840367820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146952205,"filename":"image_06012025_08_01_03_003639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad2d475e4853e2c7ddc545f96db20566.jpg","text":"TemporaryFile(/tmp/multipartBody7431510288791489472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736146952205,"filename":"image_06012025_08_01_03_003639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946074","file1":"1326946069","file0":"1326946065","file3":"1326946078"},"map_files_photo_id_array":[{"photo_id":"1326946074","filename":"file2"},{"photo_id":"1326946069","filename":"file1"},{"photo_id":"1326946065","filename":"file0"},{"photo_id":"1326946078","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946065":["hashtag1","hashtag2"]},{"1326946069":["hashtag1","hashtag2"]},{"1326946078":["hashtag1","hashtag2"]},{"1326946074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946065, 1326946069, 1326946078, 1326946074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67576551437378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:02:03.059433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:02:22.706593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0003.jpg', '/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0000.jpg', '/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0001.jpg', '/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/01/image_06012025_08_01_03_003639_0003.jpg
/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0000.jpg
/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0001.jpg
/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946128","1326946137","1326946133","1326946124"],"photo_ids_order":["1326946124","1326946128","1326946133","1326946137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f97f2b531c39bd954877bd3f2a685d54.jpg","text":"TemporaryFile(/tmp/multipartBody4067285657472329845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147012745,"filename":"image_06012025_08_02_02_522845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/562e32103c6532353623ff0ea66656b2.jpg","text":"TemporaryFile(/tmp/multipartBody5314158221838730335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147012745,"filename":"image_06012025_08_02_02_522845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/432b1dafd020ecbe7d86801e6056eace.jpg","text":"TemporaryFile(/tmp/multipartBody2516247225753528606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147012745,"filename":"image_06012025_08_02_02_522845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87e902c584ef9935d56f75209840f241.jpg","text":"TemporaryFile(/tmp/multipartBody688321995833006428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147012745,"filename":"image_06012025_08_01_03_003639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946133","file1":"1326946128","file0":"1326946124","file3":"1326946137"},"map_files_photo_id_array":[{"photo_id":"1326946133","filename":"file2"},{"photo_id":"1326946128","filename":"file1"},{"photo_id":"1326946124","filename":"file0"},{"photo_id":"1326946137","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946128":["hashtag1","hashtag2"]},{"1326946137":["hashtag1","hashtag2"]},{"1326946133":["hashtag1","hashtag2"]},{"1326946124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946128, 1326946137, 1326946133, 1326946124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34359407424927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:03:22.197332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0003.jpg', '/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0000.jpg', '/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0001.jpg', '/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/02/image_06012025_08_02_02_522845_0003.jpg
/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0000.jpg
/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0001.jpg
/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946156","1326946159","1326946150","1326946153"],"photo_ids_order":["1326946150","1326946153","1326946156","1326946159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f09be08056554dcbe95e6ef711556ae.jpg","text":"TemporaryFile(/tmp/multipartBody902638326568519027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147072319,"filename":"image_06012025_08_03_03_069242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70b35f966439ba776f88ee1aeb4a9c12.jpg","text":"TemporaryFile(/tmp/multipartBody5714880522167536866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147072319,"filename":"image_06012025_08_03_03_069242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e34bfa1fceb22311f0d16ba9d71d43f.jpg","text":"TemporaryFile(/tmp/multipartBody6123724459444608180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147072319,"filename":"image_06012025_08_02_02_522845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c67e62c94678f8e8040d56ab30a3a17.jpg","text":"TemporaryFile(/tmp/multipartBody3882040663293527945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147072319,"filename":"image_06012025_08_03_03_069242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946156","file1":"1326946153","file0":"1326946150","file3":"1326946159"},"map_files_photo_id_array":[{"photo_id":"1326946156","filename":"file2"},{"photo_id":"1326946153","filename":"file1"},{"photo_id":"1326946150","filename":"file0"},{"photo_id":"1326946159","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946156":["hashtag1","hashtag2"]},{"1326946159":["hashtag1","hashtag2"]},{"1326946150":["hashtag1","hashtag2"]},{"1326946153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946156, 1326946159, 1326946150, 1326946153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.008859395980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:04:02.316337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:04:21.792139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0003.jpg', '/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0000.jpg', '/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0001.jpg', '/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/03/image_06012025_08_03_03_069242_0003.jpg
/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0000.jpg
/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0001.jpg
/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946193","1326946181","1326946175","1326946172"],"photo_ids_order":["1326946172","1326946175","1326946181","1326946193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/323f1c001f7f0dfc43df031d8d2f6681.jpg","text":"TemporaryFile(/tmp/multipartBody4513101363164930373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147132109,"filename":"image_06012025_08_04_02_596035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/854e578622de41a79cb90bc1bb20f339.jpg","text":"TemporaryFile(/tmp/multipartBody8501039203582482489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147132109,"filename":"image_06012025_08_04_02_596035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37bbb6b51d0d0513b07c5fa0f2cd797d.jpg","text":"TemporaryFile(/tmp/multipartBody7794006699835058151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147132109,"filename":"image_06012025_08_04_02_596035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4251aab160f8bab422b0d679b987512a.jpg","text":"TemporaryFile(/tmp/multipartBody7501393961027769499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147132109,"filename":"image_06012025_08_03_03_069242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946181","file1":"1326946175","file0":"1326946172","file3":"1326946193"},"map_files_photo_id_array":[{"photo_id":"1326946181","filename":"file2"},{"photo_id":"1326946175","filename":"file1"},{"photo_id":"1326946172","filename":"file0"},{"photo_id":"1326946193","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946193":["hashtag1","hashtag2"]},{"1326946181":["hashtag1","hashtag2"]},{"1326946175":["hashtag1","hashtag2"]},{"1326946172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946193, 1326946181, 1326946175, 1326946172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29938769340515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:05:02.778212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:05:22.307963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0003.jpg', '/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0000.jpg', '/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0001.jpg', '/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/04/image_06012025_08_04_02_596035_0003.jpg
/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0000.jpg
/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0001.jpg
/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946280","1326946271","1326946276","1326946284"],"photo_ids_order":["1326946271","1326946276","1326946280","1326946284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce3e850929d06cf4ae7625d97b44b568.jpg","text":"TemporaryFile(/tmp/multipartBody7726750386281361383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147192337,"filename":"image_06012025_08_05_02_120056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8462d45d1ccb74eac10a23fa3a371731.jpg","text":"TemporaryFile(/tmp/multipartBody6163840522456318953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147192337,"filename":"image_06012025_08_04_02_596035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ceee7ba380adbe7f568498951022c4eb.jpg","text":"TemporaryFile(/tmp/multipartBody1954688964248414286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147192337,"filename":"image_06012025_08_05_02_120056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76e76e2a5139cd5db80900314d9d024c.jpg","text":"TemporaryFile(/tmp/multipartBody8703618551601409558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147192337,"filename":"image_06012025_08_05_02_120056_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946280","file1":"1326946276","file0":"1326946271","file3":"1326946284"},"map_files_photo_id_array":[{"photo_id":"1326946280","filename":"file2"},{"photo_id":"1326946276","filename":"file1"},{"photo_id":"1326946271","filename":"file0"},{"photo_id":"1326946284","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946280":["hashtag1","hashtag2"]},{"1326946271":["hashtag1","hashtag2"]},{"1326946276":["hashtag1","hashtag2"]},{"1326946284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946280, 1326946271, 1326946276, 1326946284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19273567199707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:06:21.891213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0003.jpg', '/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0000.jpg', '/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0001.jpg', '/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/05/image_06012025_08_05_02_120056_0003.jpg
/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0000.jpg
/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0001.jpg
/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946320","1326946295","1326946325","1326946303"],"photo_ids_order":["1326946295","1326946303","1326946320","1326946325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7133af8fe44968a1257f3061966330b7.jpg","text":"TemporaryFile(/tmp/multipartBody2954163062966475412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147252101,"filename":"image_06012025_08_06_02_635149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77d4c24cb8734d2c3a9161ba0724a755.jpg","text":"TemporaryFile(/tmp/multipartBody4236802047716595005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147252101,"filename":"image_06012025_08_05_02_120056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f3df7a73b9c270be8b1bd5096f96e970.jpg","text":"TemporaryFile(/tmp/multipartBody2910146871845112338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147252101,"filename":"image_06012025_08_06_02_635149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7dce13fe0b3cf540e3186d39815b2b4c.jpg","text":"TemporaryFile(/tmp/multipartBody1913560020411661687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147252101,"filename":"image_06012025_08_06_02_635149_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946320","file1":"1326946303","file0":"1326946295","file3":"1326946325"},"map_files_photo_id_array":[{"photo_id":"1326946320","filename":"file2"},{"photo_id":"1326946303","filename":"file1"},{"photo_id":"1326946295","filename":"file0"},{"photo_id":"1326946325","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946320":["hashtag1","hashtag2"]},{"1326946295":["hashtag1","hashtag2"]},{"1326946325":["hashtag1","hashtag2"]},{"1326946303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946320, 1326946295, 1326946325, 1326946303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82515621185303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:07:22.471781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0003.jpg', '/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0000.jpg', '/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/06/image_06012025_08_06_02_635149_0003.jpg
/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0000.jpg
/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946341","1326946338","1326946348"],"photo_ids_order":["1326946338","1326946341","1326946348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4ff8f8cbedb26b1c78bf44309356056.jpg","text":"TemporaryFile(/tmp/multipartBody3651107529742861979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147310200,"filename":"image_06012025_08_07_02_289240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d75eb5b19ceb462bea157d131ae55db.jpg","text":"TemporaryFile(/tmp/multipartBody7357828698487129990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147310200,"filename":"image_06012025_08_06_02_635149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af0bb4be3d5daeb196b480084cf8e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7277776975857697768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147310200,"filename":"image_06012025_08_07_02_289240_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946348","file1":"1326946341","file0":"1326946338"},"map_files_photo_id_array":[{"photo_id":"1326946348","filename":"file2"},{"photo_id":"1326946341","filename":"file1"},{"photo_id":"1326946338","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946341":["hashtag1","hashtag2"]},{"1326946338":["hashtag1","hashtag2"]},{"1326946348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946341, 1326946338, 1326946348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.998143672943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:08:02.398521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:08:22.031852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0002.jpg', '/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0000.jpg', '/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0001.jpg', '/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/07/image_06012025_08_07_02_289240_0002.jpg
/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0000.jpg
/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0001.jpg
/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946407","1326946403","1326946393","1326946398"],"photo_ids_order":["1326946393","1326946398","1326946403","1326946407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f7ea517d12004eeade1ef90e352a5a8.jpg","text":"TemporaryFile(/tmp/multipartBody8514136035343078917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147372147,"filename":"image_06012025_08_08_02_886694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e96f01df6835ed67beb9b6cda62a947.jpg","text":"TemporaryFile(/tmp/multipartBody3729857217478325076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147372147,"filename":"image_06012025_08_08_02_886694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ebac342b7638c1c540c16d003b08b724.jpg","text":"TemporaryFile(/tmp/multipartBody7104383792941020745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147372147,"filename":"image_06012025_08_07_02_289240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e43a0e84dfce6d3670287fe51c8f7413.jpg","text":"TemporaryFile(/tmp/multipartBody4102291864996339662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147372147,"filename":"image_06012025_08_08_02_886694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946403","file1":"1326946398","file0":"1326946393","file3":"1326946407"},"map_files_photo_id_array":[{"photo_id":"1326946403","filename":"file2"},{"photo_id":"1326946398","filename":"file1"},{"photo_id":"1326946393","filename":"file0"},{"photo_id":"1326946407","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946407":["hashtag1","hashtag2"]},{"1326946403":["hashtag1","hashtag2"]},{"1326946393":["hashtag1","hashtag2"]},{"1326946398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946407, 1326946403, 1326946393, 1326946398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17733359336853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:09:03.036658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:09:22.614004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0003.jpg', '/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0000.jpg', '/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0001.jpg', '/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/08/image_06012025_08_08_02_886694_0003.jpg
/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0000.jpg
/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0001.jpg
/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946572","1326946562","1326946576","1326946567"],"photo_ids_order":["1326946562","1326946567","1326946572","1326946576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1a64e3df1ed40b190eeadb99424f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody920918340339970231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147432681,"filename":"image_06012025_08_09_02_404610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/459d89c2a285928d988a9fb9b11f1d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2166796828986877517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147432681,"filename":"image_06012025_08_08_02_886694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e93bbf9c54d5686333c046747665d431.jpg","text":"TemporaryFile(/tmp/multipartBody2355003987994284044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147432681,"filename":"image_06012025_08_09_02_404610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b43f6e8bf2d3f0c46f6e7fb6fee1cc68.jpg","text":"TemporaryFile(/tmp/multipartBody685106044130624316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147432681,"filename":"image_06012025_08_09_02_404610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946572","file1":"1326946567","file0":"1326946562","file3":"1326946576"},"map_files_photo_id_array":[{"photo_id":"1326946572","filename":"file2"},{"photo_id":"1326946567","filename":"file1"},{"photo_id":"1326946562","filename":"file0"},{"photo_id":"1326946576","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946572":["hashtag1","hashtag2"]},{"1326946562":["hashtag1","hashtag2"]},{"1326946576":["hashtag1","hashtag2"]},{"1326946567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946572, 1326946562, 1326946576, 1326946567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.088863134384155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:10:02.700166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:10:22.154709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0003.jpg', '/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0000.jpg', '/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0001.jpg', '/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/09/image_06012025_08_09_02_404610_0003.jpg
/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0000.jpg
/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0001.jpg
/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946608","1326946600","1326946603","1326946596"],"photo_ids_order":["1326946596","1326946600","1326946603","1326946608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f493c2df7f37650aa032ed91ec7acf5.jpg","text":"TemporaryFile(/tmp/multipartBody3795441629124344511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147492199,"filename":"image_06012025_08_10_02_914023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5402f7231789de6055686714325e6998.jpg","text":"TemporaryFile(/tmp/multipartBody5718294678725422799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147492199,"filename":"image_06012025_08_10_02_914023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21a13acdac7f473e96d0fb9fe1b15ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2828824535477662534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147492199,"filename":"image_06012025_08_10_02_914023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e250824cb9a2ab6eabe9d990f43dbce.jpg","text":"TemporaryFile(/tmp/multipartBody1357724392536376617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147492199,"filename":"image_06012025_08_09_02_404610_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946603","file1":"1326946600","file0":"1326946596","file3":"1326946608"},"map_files_photo_id_array":[{"photo_id":"1326946603","filename":"file2"},{"photo_id":"1326946600","filename":"file1"},{"photo_id":"1326946596","filename":"file0"},{"photo_id":"1326946608","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946608":["hashtag1","hashtag2"]},{"1326946600":["hashtag1","hashtag2"]},{"1326946603":["hashtag1","hashtag2"]},{"1326946596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946608, 1326946600, 1326946603, 1326946596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22235059738159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:11:22.768771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0003.jpg', '/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0000.jpg', '/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0001.jpg', '/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/10/image_06012025_08_10_02_914023_0003.jpg
/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0000.jpg
/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0001.jpg
/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946663","1326946666","1326946669","1326946660"],"photo_ids_order":["1326946660","1326946663","1326946666","1326946669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e51697ceb94edc9691dba49486a59bf.jpg","text":"TemporaryFile(/tmp/multipartBody4701025610898344355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147552903,"filename":"image_06012025_08_11_02_575413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dc720e9ed89af6d5212f8afc49af1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6533106962611667766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147552903,"filename":"image_06012025_08_11_02_575413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8dd751c85d6798d9b40ca29cf171b13.jpg","text":"TemporaryFile(/tmp/multipartBody5522223265104830462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147552903,"filename":"image_06012025_08_11_02_575413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/889629565248b3b7a7ccae988d0ebccd.jpg","text":"TemporaryFile(/tmp/multipartBody5875303477402227582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147552903,"filename":"image_06012025_08_10_02_914023_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946666","file1":"1326946663","file0":"1326946660","file3":"1326946669"},"map_files_photo_id_array":[{"photo_id":"1326946666","filename":"file2"},{"photo_id":"1326946663","filename":"file1"},{"photo_id":"1326946660","filename":"file0"},{"photo_id":"1326946669","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946663":["hashtag1","hashtag2"]},{"1326946666":["hashtag1","hashtag2"]},{"1326946669":["hashtag1","hashtag2"]},{"1326946660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946663, 1326946666, 1326946669, 1326946660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.700390577316284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:12:02.670331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:12:22.295519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0003.jpg', '/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0000.jpg', '/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/11/image_06012025_08_11_02_575413_0003.jpg
/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0000.jpg
/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946784","1326946787","1326946780"],"photo_ids_order":["1326946780","1326946784","1326946787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bc486ce903d00a6321200a7b68e1384.jpg","text":"TemporaryFile(/tmp/multipartBody8711710496673346432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147610005,"filename":"image_06012025_08_12_03_210528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ecf3eaf133cf7b51e7880b263c0f4d1.jpg","text":"TemporaryFile(/tmp/multipartBody7356481354213838588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147610005,"filename":"image_06012025_08_12_03_210528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/341e03980565ab60b186c9a4678b95b0.jpg","text":"TemporaryFile(/tmp/multipartBody4245730797709020866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147610005,"filename":"image_06012025_08_11_02_575413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946787","file1":"1326946784","file0":"1326946780"},"map_files_photo_id_array":[{"photo_id":"1326946787","filename":"file2"},{"photo_id":"1326946784","filename":"file1"},{"photo_id":"1326946780","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946784":["hashtag1","hashtag2"]},{"1326946787":["hashtag1","hashtag2"]},{"1326946780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946784, 1326946787, 1326946780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.87456440925598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:13:02.512116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:13:21.969487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0003.jpg', '/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0000.jpg', '/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0001.jpg', '/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/12/image_06012025_08_12_03_210528_0003.jpg
/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0000.jpg
/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0001.jpg
/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326946821","1326946824","1326946880","1326946946"],"photo_ids_order":["1326946821","1326946824","1326946880","1326946946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24e757ff526a0fbbf2103ec2579cab9b.jpg","text":"TemporaryFile(/tmp/multipartBody2671814629961649812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147672067,"filename":"image_06012025_08_12_03_210528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be27007b48c88d17ca665b41b90d733a.jpg","text":"TemporaryFile(/tmp/multipartBody1259878470169693891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147672067,"filename":"image_06012025_08_13_02_752294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e83cee1a31a056ee0ce09b8541f16185.jpg","text":"TemporaryFile(/tmp/multipartBody1374856599081051966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147672067,"filename":"image_06012025_08_13_02_752294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3dd9d11fec82a2e8235e22c6f13a1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3935872537414775262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147672067,"filename":"image_06012025_08_13_02_752294_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326946880","file1":"1326946824","file0":"1326946821","file3":"1326946946"},"map_files_photo_id_array":[{"photo_id":"1326946880","filename":"file2"},{"photo_id":"1326946824","filename":"file1"},{"photo_id":"1326946821","filename":"file0"},{"photo_id":"1326946946","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326946821":["hashtag1","hashtag2"]},{"1326946824":["hashtag1","hashtag2"]},{"1326946880":["hashtag1","hashtag2"]},{"1326946946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326946821, 1326946824, 1326946880, 1326946946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.64124417304993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:14:02.965413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:14:22.541290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0003.jpg', '/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0000.jpg', '/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0001.jpg', '/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/13/image_06012025_08_13_02_752294_0003.jpg
/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0000.jpg
/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0001.jpg
/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947124","1326947102","1326947127","1326947121"],"photo_ids_order":["1326947102","1326947121","1326947124","1326947127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37bc3a35f73a00cf48f51eb8ba231a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1140021440602955178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147732577,"filename":"image_06012025_08_14_02_309510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/621279b93ca59bb5504a27f189853f51.jpg","text":"TemporaryFile(/tmp/multipartBody1616620251118762250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147732577,"filename":"image_06012025_08_13_02_752294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bec0b19ce37d50455340f501ccf568bf.jpg","text":"TemporaryFile(/tmp/multipartBody1923658708580841847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147732577,"filename":"image_06012025_08_14_02_309510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38b68ffc4e02ac13185dd613196526ea.jpg","text":"TemporaryFile(/tmp/multipartBody171661006379926791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147732577,"filename":"image_06012025_08_14_02_309510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947124","file1":"1326947121","file0":"1326947102","file3":"1326947127"},"map_files_photo_id_array":[{"photo_id":"1326947124","filename":"file2"},{"photo_id":"1326947121","filename":"file1"},{"photo_id":"1326947102","filename":"file0"},{"photo_id":"1326947127","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947124":["hashtag1","hashtag2"]},{"1326947102":["hashtag1","hashtag2"]},{"1326947127":["hashtag1","hashtag2"]},{"1326947121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947124, 1326947102, 1326947127, 1326947121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.436190605163574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:15:22.109741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0003.jpg', '/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0000.jpg', '/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/14/image_06012025_08_14_02_309510_0003.jpg
/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0000.jpg
/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947159","1326947149","1326947154"],"photo_ids_order":["1326947149","1326947154","1326947159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/abd4d004913a7fb789501bd011a4d953.jpg","text":"TemporaryFile(/tmp/multipartBody2182069267172427397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147789882,"filename":"image_06012025_08_15_02_905645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58fa4e035d6866c782c928642e733144.jpg","text":"TemporaryFile(/tmp/multipartBody1097500097593597890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147789882,"filename":"image_06012025_08_14_02_309510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd777236fa5991f9c46924382356edfe.jpg","text":"TemporaryFile(/tmp/multipartBody5416749097278281924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147789882,"filename":"image_06012025_08_15_02_905645_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947159","file1":"1326947154","file0":"1326947149"},"map_files_photo_id_array":[{"photo_id":"1326947159","filename":"file2"},{"photo_id":"1326947154","filename":"file1"},{"photo_id":"1326947149","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947159":["hashtag1","hashtag2"]},{"1326947149":["hashtag1","hashtag2"]},{"1326947154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947159, 1326947149, 1326947154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.456663131713867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:16:03.117703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:16:22.577123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0003.jpg', '/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0000.jpg', '/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0001.jpg', '/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/15/image_06012025_08_15_02_905645_0003.jpg
/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0000.jpg
/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0001.jpg
/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947197","1326947215","1326947209","1326947220"],"photo_ids_order":["1326947197","1326947209","1326947215","1326947220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/938603f56b6cc34065f52c2aae396512.jpg","text":"TemporaryFile(/tmp/multipartBody2082993413635249524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147852707,"filename":"image_06012025_08_15_02_905645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9fbdb82f3bf376b7c3bf2b4314e8925.jpg","text":"TemporaryFile(/tmp/multipartBody6218800257879850433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147852707,"filename":"image_06012025_08_16_02_474395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05fce065cabc22fd3297a56d6c137c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8399308110324592628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147852707,"filename":"image_06012025_08_16_02_474395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9294f571e644d3bef4a6d8a9d46597cf.jpg","text":"TemporaryFile(/tmp/multipartBody5519917459976402471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147852707,"filename":"image_06012025_08_16_02_474395_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947215","file1":"1326947209","file0":"1326947197","file3":"1326947220"},"map_files_photo_id_array":[{"photo_id":"1326947215","filename":"file2"},{"photo_id":"1326947209","filename":"file1"},{"photo_id":"1326947197","filename":"file0"},{"photo_id":"1326947220","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947197":["hashtag1","hashtag2"]},{"1326947215":["hashtag1","hashtag2"]},{"1326947209":["hashtag1","hashtag2"]},{"1326947220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947197, 1326947215, 1326947209, 1326947220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.84369874000549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:17:22.190938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0003.jpg', '/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0000.jpg', '/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0001.jpg', '/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/16/image_06012025_08_16_02_474395_0003.jpg
/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0000.jpg
/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0001.jpg
/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947270","1326947275","1326947280","1326947283"],"photo_ids_order":["1326947270","1326947275","1326947280","1326947283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a179a20c9ce9e5d24c56a6f62c17193.jpg","text":"TemporaryFile(/tmp/multipartBody5991939013386543208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147912367,"filename":"image_06012025_08_16_02_474395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d739ca1b1db12e92cf052fb027035a8.jpg","text":"TemporaryFile(/tmp/multipartBody3319623879799062141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147912367,"filename":"image_06012025_08_17_03_051305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d76fe3000ce5898ff176e54e1c5e2441.jpg","text":"TemporaryFile(/tmp/multipartBody1867359179169098922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147912367,"filename":"image_06012025_08_17_03_051305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fa0d223aeac58aa01f4bd42575458c7.jpg","text":"TemporaryFile(/tmp/multipartBody6065002725802214923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147912367,"filename":"image_06012025_08_17_03_051305_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947280","file1":"1326947275","file0":"1326947270","file3":"1326947283"},"map_files_photo_id_array":[{"photo_id":"1326947280","filename":"file2"},{"photo_id":"1326947275","filename":"file1"},{"photo_id":"1326947270","filename":"file0"},{"photo_id":"1326947283","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947270":["hashtag1","hashtag2"]},{"1326947275":["hashtag1","hashtag2"]},{"1326947280":["hashtag1","hashtag2"]},{"1326947283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947270, 1326947275, 1326947280, 1326947283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24338698387146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:18:22.096508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0003.jpg', '/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0000.jpg', '/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0001.jpg', '/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/17/image_06012025_08_17_03_051305_0003.jpg
/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0000.jpg
/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0001.jpg
/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947348","1326947345","1326947352","1326947340"],"photo_ids_order":["1326947340","1326947345","1326947348","1326947352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3f9072c5cff470b91f2667d4ab7f205.jpg","text":"TemporaryFile(/tmp/multipartBody8642059415989948390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147972316,"filename":"image_06012025_08_18_02_587979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a06f14a3554965fb7fee22181437d4df.jpg","text":"TemporaryFile(/tmp/multipartBody1736716265905324956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147972316,"filename":"image_06012025_08_18_02_587979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e58efd34f590a5f63438f156ad95bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1330627856255053783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147972316,"filename":"image_06012025_08_18_02_587979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d81d4ce26ee6ff018f9571f3a9e5aef.jpg","text":"TemporaryFile(/tmp/multipartBody797205149422281954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736147972316,"filename":"image_06012025_08_17_03_051305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947348","file1":"1326947345","file0":"1326947340","file3":"1326947352"},"map_files_photo_id_array":[{"photo_id":"1326947348","filename":"file2"},{"photo_id":"1326947345","filename":"file1"},{"photo_id":"1326947340","filename":"file0"},{"photo_id":"1326947352","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947348":["hashtag1","hashtag2"]},{"1326947345":["hashtag1","hashtag2"]},{"1326947352":["hashtag1","hashtag2"]},{"1326947340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947348, 1326947345, 1326947352, 1326947340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35966658592224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:19:22.559492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0003.jpg', '/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0000.jpg', '/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0001.jpg', '/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/18/image_06012025_08_18_02_587979_0003.jpg
/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0000.jpg
/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0001.jpg
/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947381","1326947369","1326947377","1326947373"],"photo_ids_order":["1326947369","1326947373","1326947377","1326947381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b2d301bfd8c82dff9499074c1afe31c.jpg","text":"TemporaryFile(/tmp/multipartBody8812571271079566428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148032802,"filename":"image_06012025_08_19_02_409656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8569783de12cfd0dcdf79951131ae62c.jpg","text":"TemporaryFile(/tmp/multipartBody1862642554221968116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148032802,"filename":"image_06012025_08_18_02_587979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ded72dd3cb10875f42111bb0521e3bc1.jpg","text":"TemporaryFile(/tmp/multipartBody502808436469054544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148032802,"filename":"image_06012025_08_19_02_409656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82ef5a6b046178139f249090ae5b6709.jpg","text":"TemporaryFile(/tmp/multipartBody7153458191645060152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148032802,"filename":"image_06012025_08_19_02_409656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947377","file1":"1326947373","file0":"1326947369","file3":"1326947381"},"map_files_photo_id_array":[{"photo_id":"1326947377","filename":"file2"},{"photo_id":"1326947373","filename":"file1"},{"photo_id":"1326947369","filename":"file0"},{"photo_id":"1326947381","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947381":["hashtag1","hashtag2"]},{"1326947369":["hashtag1","hashtag2"]},{"1326947377":["hashtag1","hashtag2"]},{"1326947373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947381, 1326947369, 1326947377, 1326947373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79360508918762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:20:02.519039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:20:22.131528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0003.jpg', '/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0000.jpg', '/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0001.jpg', '/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/19/image_06012025_08_19_02_409656_0003.jpg
/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0000.jpg
/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0001.jpg
/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947549","1326947540","1326947554","1326947544"],"photo_ids_order":["1326947540","1326947544","1326947549","1326947554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/506ea2dc7bfc1a542d13792bee8e0261.jpg","text":"TemporaryFile(/tmp/multipartBody7241456423506075406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148092337,"filename":"image_06012025_08_20_02_893115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89742376bfddd3bfb802e42189131a5c.jpg","text":"TemporaryFile(/tmp/multipartBody1736854077477039399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148092337,"filename":"image_06012025_08_19_02_409656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4f619a6f2911886920120db653ab749.jpg","text":"TemporaryFile(/tmp/multipartBody4581464897662444879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148092337,"filename":"image_06012025_08_20_02_893115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad563a5e0a7bb02f2c0d2da7f597cf3f.jpg","text":"TemporaryFile(/tmp/multipartBody5147817403512567100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148092337,"filename":"image_06012025_08_20_02_893115_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947549","file1":"1326947544","file0":"1326947540","file3":"1326947554"},"map_files_photo_id_array":[{"photo_id":"1326947549","filename":"file2"},{"photo_id":"1326947544","filename":"file1"},{"photo_id":"1326947540","filename":"file0"},{"photo_id":"1326947554","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947549":["hashtag1","hashtag2"]},{"1326947540":["hashtag1","hashtag2"]},{"1326947554":["hashtag1","hashtag2"]},{"1326947544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947549, 1326947540, 1326947554, 1326947544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79106307029724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:21:03.205155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:21:22.618118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0003.jpg', '/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0000.jpg', '/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0001.jpg', '/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/20/image_06012025_08_20_02_893115_0003.jpg
/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0000.jpg
/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0001.jpg
/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947609","1326947603","1326947606","1326947611"],"photo_ids_order":["1326947603","1326947606","1326947609","1326947611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6f93a2b24741f18defdcf23bb06969c.jpg","text":"TemporaryFile(/tmp/multipartBody25899026499134725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148152956,"filename":"image_06012025_08_21_02_436753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be89b23d934ab79b8296a4378d63caf6.jpg","text":"TemporaryFile(/tmp/multipartBody7260461029048043155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148152956,"filename":"image_06012025_08_20_02_893115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09698528adc42c38b2c9ed81f34689e1.jpg","text":"TemporaryFile(/tmp/multipartBody6567212461773584690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148152956,"filename":"image_06012025_08_21_02_436753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/263c16646b6eecc2563a8be6a5e12eec.jpg","text":"TemporaryFile(/tmp/multipartBody1871864219073648715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148152956,"filename":"image_06012025_08_21_02_436753_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947609","file1":"1326947606","file0":"1326947603","file3":"1326947611"},"map_files_photo_id_array":[{"photo_id":"1326947609","filename":"file2"},{"photo_id":"1326947606","filename":"file1"},{"photo_id":"1326947603","filename":"file0"},{"photo_id":"1326947611","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947609":["hashtag1","hashtag2"]},{"1326947603":["hashtag1","hashtag2"]},{"1326947606":["hashtag1","hashtag2"]},{"1326947611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947609, 1326947603, 1326947606, 1326947611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.0182101726532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:22:22.190130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0003.jpg', '/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0000.jpg', '/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0001.jpg', '/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/21/image_06012025_08_21_02_436753_0003.jpg
/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0000.jpg
/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0001.jpg
/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947678","1326947666","1326947674","1326947670"],"photo_ids_order":["1326947666","1326947670","1326947674","1326947678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adcfd5e816610d67b51e45f38f76066f.jpg","text":"TemporaryFile(/tmp/multipartBody2339176211813625575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148212459,"filename":"image_06012025_08_22_02_971024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23402a24f8376cce4f044dbb24cec853.jpg","text":"TemporaryFile(/tmp/multipartBody2281089526386588541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148212459,"filename":"image_06012025_08_21_02_436753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81f88d23a2560385a9a46bbb99e96278.jpg","text":"TemporaryFile(/tmp/multipartBody8133141780007263698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148212459,"filename":"image_06012025_08_22_02_971024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88b6ac42d6f4835e3f30928b9ff8191a.jpg","text":"TemporaryFile(/tmp/multipartBody6478706636870359060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148212459,"filename":"image_06012025_08_22_02_971024_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947674","file1":"1326947670","file0":"1326947666","file3":"1326947678"},"map_files_photo_id_array":[{"photo_id":"1326947674","filename":"file2"},{"photo_id":"1326947670","filename":"file1"},{"photo_id":"1326947666","filename":"file0"},{"photo_id":"1326947678","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947678":["hashtag1","hashtag2"]},{"1326947666":["hashtag1","hashtag2"]},{"1326947674":["hashtag1","hashtag2"]},{"1326947670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947678, 1326947666, 1326947674, 1326947670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.971434593200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:23:03.292215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:23:22.776477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0003.jpg', '/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0000.jpg', '/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0001.jpg', '/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/22/image_06012025_08_22_02_971024_0003.jpg
/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0000.jpg
/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0001.jpg
/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326947756","1326947764","1326947751","1326947748"],"photo_ids_order":["1326947748","1326947751","1326947756","1326947764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b35dc157360cc2d4e8327be10afa2c87.jpg","text":"TemporaryFile(/tmp/multipartBody8350712217761628224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148273013,"filename":"image_06012025_08_23_02_525941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/406f41674255e2b7a83222de7a415aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2610837141852231217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148273013,"filename":"image_06012025_08_23_02_525941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/feda8de94a3bda2e5d7bca4f08ac53a5.jpg","text":"TemporaryFile(/tmp/multipartBody4572380051554219468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148273013,"filename":"image_06012025_08_23_02_525941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac8a38ccb3fa4b2aa9374203eaead0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7829832154544644307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148273013,"filename":"image_06012025_08_22_02_971024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326947756","file1":"1326947751","file0":"1326947748","file3":"1326947764"},"map_files_photo_id_array":[{"photo_id":"1326947756","filename":"file2"},{"photo_id":"1326947751","filename":"file1"},{"photo_id":"1326947748","filename":"file0"},{"photo_id":"1326947764","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326947756":["hashtag1","hashtag2"]},{"1326947764":["hashtag1","hashtag2"]},{"1326947751":["hashtag1","hashtag2"]},{"1326947748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326947756, 1326947764, 1326947751, 1326947748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.883845806121826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:24:02.940013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:24:22.435781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0003.jpg', '/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0000.jpg', '/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0001.jpg', '/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/23/image_06012025_08_23_02_525941_0003.jpg
/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0000.jpg
/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0001.jpg
/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948161","1326947987","1326948061","1326948083"],"photo_ids_order":["1326947987","1326948061","1326948083","1326948161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52d17989eb09476dc5bb8879a200e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5658211321342605007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148332683,"filename":"image_06012025_08_24_03_120474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4032d2918e4c39f5d955ddec0b676f2.jpg","text":"TemporaryFile(/tmp/multipartBody5705955146582142581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148332683,"filename":"image_06012025_08_23_02_525941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1dd57a044e51b76717978d5e315c3cef.jpg","text":"TemporaryFile(/tmp/multipartBody5477013039334203365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148332683,"filename":"image_06012025_08_24_03_120474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66c48d318212ce7c6622b196da5c6c71.jpg","text":"TemporaryFile(/tmp/multipartBody2184129836011598865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148332683,"filename":"image_06012025_08_24_03_120474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948083","file1":"1326948061","file0":"1326947987","file3":"1326948161"},"map_files_photo_id_array":[{"photo_id":"1326948083","filename":"file2"},{"photo_id":"1326948061","filename":"file1"},{"photo_id":"1326947987","filename":"file0"},{"photo_id":"1326948161","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948161":["hashtag1","hashtag2"]},{"1326947987":["hashtag1","hashtag2"]},{"1326948061":["hashtag1","hashtag2"]},{"1326948083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948161, 1326947987, 1326948061, 1326948083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.14614200592041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:25:21.974072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0003.jpg', '/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0000.jpg', '/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0001.jpg', '/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/24/image_06012025_08_24_03_120474_0003.jpg
/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0000.jpg
/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0001.jpg
/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948239","1326948203","1326948277","1326948243"],"photo_ids_order":["1326948203","1326948239","1326948243","1326948277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6337e81ca3f9c5fda0b8630e0cfa0ab.jpg","text":"TemporaryFile(/tmp/multipartBody1370771832002752275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148392093,"filename":"image_06012025_08_25_02_811113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/002943356b216a26bed09652ca72fd74.jpg","text":"TemporaryFile(/tmp/multipartBody7805846375152048757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148392093,"filename":"image_06012025_08_24_03_120474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cb33ae79f6b5876227ba225c702431e.jpg","text":"TemporaryFile(/tmp/multipartBody865336824993891250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148392093,"filename":"image_06012025_08_25_02_811113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8eb14286516a1e92ae51a4209ba403ce.jpg","text":"TemporaryFile(/tmp/multipartBody536986966418798146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148392093,"filename":"image_06012025_08_25_02_811113_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948243","file1":"1326948239","file0":"1326948203","file3":"1326948277"},"map_files_photo_id_array":[{"photo_id":"1326948243","filename":"file2"},{"photo_id":"1326948239","filename":"file1"},{"photo_id":"1326948203","filename":"file0"},{"photo_id":"1326948277","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948239":["hashtag1","hashtag2"]},{"1326948203":["hashtag1","hashtag2"]},{"1326948277":["hashtag1","hashtag2"]},{"1326948243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948239, 1326948203, 1326948277, 1326948243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22186994552612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:26:22.513545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0003.jpg', '/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0000.jpg', '/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0001.jpg', '/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/25/image_06012025_08_25_02_811113_0003.jpg
/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0000.jpg
/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0001.jpg
/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948304","1326948297","1326948301","1326948293"],"photo_ids_order":["1326948293","1326948297","1326948301","1326948304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61d5aba83f941a24d3dede1bdbb72188.jpg","text":"TemporaryFile(/tmp/multipartBody428085149597684835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148452724,"filename":"image_06012025_08_26_02_338285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b99e8bad085a36900c48acc855533479.jpg","text":"TemporaryFile(/tmp/multipartBody6342986390649217219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148452724,"filename":"image_06012025_08_26_02_338285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03758f3397b1bbb22ded978d9cc5fa77.jpg","text":"TemporaryFile(/tmp/multipartBody7015907365805306160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148452724,"filename":"image_06012025_08_26_02_338285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ab9397b89f4528b8e50ac6b4c56b893.jpg","text":"TemporaryFile(/tmp/multipartBody8782290353946231344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148452724,"filename":"image_06012025_08_25_02_811113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948301","file1":"1326948297","file0":"1326948293","file3":"1326948304"},"map_files_photo_id_array":[{"photo_id":"1326948301","filename":"file2"},{"photo_id":"1326948297","filename":"file1"},{"photo_id":"1326948293","filename":"file0"},{"photo_id":"1326948304","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948304":["hashtag1","hashtag2"]},{"1326948297":["hashtag1","hashtag2"]},{"1326948301":["hashtag1","hashtag2"]},{"1326948293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948304, 1326948297, 1326948301, 1326948293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.517305850982666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:27:22.044031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0003.jpg', '/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0000.jpg', '/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0001.jpg', '/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/26/image_06012025_08_26_02_338285_0003.jpg
/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0000.jpg
/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0001.jpg
/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948323","1326948334","1326948318","1326948327"],"photo_ids_order":["1326948318","1326948323","1326948327","1326948334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79ac3360fe4bb6772ee57557861af9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4951666164392400859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148512184,"filename":"image_06012025_08_27_02_845572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4489e01272707a796322479f031045b1.jpg","text":"TemporaryFile(/tmp/multipartBody3765756983532664621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148512184,"filename":"image_06012025_08_27_02_845572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27a8d58800dea9f5613e591f4486032e.jpg","text":"TemporaryFile(/tmp/multipartBody165755820367818519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148512184,"filename":"image_06012025_08_26_02_338285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf1557fb7b9ad9be7d535270702765db.jpg","text":"TemporaryFile(/tmp/multipartBody8118803694470672583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148512184,"filename":"image_06012025_08_27_02_845572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948327","file1":"1326948323","file0":"1326948318","file3":"1326948334"},"map_files_photo_id_array":[{"photo_id":"1326948327","filename":"file2"},{"photo_id":"1326948323","filename":"file1"},{"photo_id":"1326948318","filename":"file0"},{"photo_id":"1326948334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948323":["hashtag1","hashtag2"]},{"1326948334":["hashtag1","hashtag2"]},{"1326948318":["hashtag1","hashtag2"]},{"1326948327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948323, 1326948334, 1326948318, 1326948327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.270135164260864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:28:02.982478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:28:22.540789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0003.jpg', '/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0000.jpg', '/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0001.jpg', '/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/27/image_06012025_08_27_02_845572_0003.jpg
/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0000.jpg
/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0001.jpg
/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948366","1326948363","1326948374","1326948408"],"photo_ids_order":["1326948363","1326948366","1326948374","1326948408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60caa16a800fcb06d2ba5d090e86cfbe.jpg","text":"TemporaryFile(/tmp/multipartBody5988963245409328051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148572677,"filename":"image_06012025_08_28_02_378769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ece2e7a3b14ba942b3340fd82439915e.jpg","text":"TemporaryFile(/tmp/multipartBody6366834154816850463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148572677,"filename":"image_06012025_08_27_02_845572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ee158bb2ac69daaa7c96bd3be1ed1ab.jpg","text":"TemporaryFile(/tmp/multipartBody7915093192057614458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148572677,"filename":"image_06012025_08_28_02_378769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81e138767d16c5f63110bd8baa9d442a.jpg","text":"TemporaryFile(/tmp/multipartBody351891432125967476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148572677,"filename":"image_06012025_08_28_02_378769_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948374","file1":"1326948366","file0":"1326948363","file3":"1326948408"},"map_files_photo_id_array":[{"photo_id":"1326948374","filename":"file2"},{"photo_id":"1326948366","filename":"file1"},{"photo_id":"1326948363","filename":"file0"},{"photo_id":"1326948408","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948366":["hashtag1","hashtag2"]},{"1326948363":["hashtag1","hashtag2"]},{"1326948374":["hashtag1","hashtag2"]},{"1326948408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948366, 1326948363, 1326948374, 1326948408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18428039550781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:29:22.095260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0003.jpg', '/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0000.jpg', '/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0001.jpg', '/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/28/image_06012025_08_28_02_378769_0003.jpg
/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0000.jpg
/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0001.jpg
/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948439","1326948433","1326948447","1326948443"],"photo_ids_order":["1326948433","1326948439","1326948443","1326948447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0588b5f05428707f10a10f7ffefeb78a.jpg","text":"TemporaryFile(/tmp/multipartBody4709091313867955712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148632120,"filename":"image_06012025_08_29_02_924206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74f52a636fec4e51a4bb67f6bfee6284.jpg","text":"TemporaryFile(/tmp/multipartBody5648490760873867145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148632120,"filename":"image_06012025_08_28_02_378769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/871e40c80540a4cb9af22204baa07614.jpg","text":"TemporaryFile(/tmp/multipartBody6005707915811161896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148632120,"filename":"image_06012025_08_29_02_924206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2ac9e257d2a9fcb4c15d0420f287287.jpg","text":"TemporaryFile(/tmp/multipartBody8289344492467098352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148632120,"filename":"image_06012025_08_29_02_924206_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948443","file1":"1326948439","file0":"1326948433","file3":"1326948447"},"map_files_photo_id_array":[{"photo_id":"1326948443","filename":"file2"},{"photo_id":"1326948439","filename":"file1"},{"photo_id":"1326948433","filename":"file0"},{"photo_id":"1326948447","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948439":["hashtag1","hashtag2"]},{"1326948433":["hashtag1","hashtag2"]},{"1326948447":["hashtag1","hashtag2"]},{"1326948443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948439, 1326948433, 1326948447, 1326948443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97069597244263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:30:03.041882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:30:22.658850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0003.jpg', '/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0000.jpg', '/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0001.jpg', '/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/29/image_06012025_08_29_02_924206_0003.jpg
/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0000.jpg
/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0001.jpg
/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948478","1326948474","1326948488","1326948482"],"photo_ids_order":["1326948474","1326948478","1326948482","1326948488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc5c23ad6d6c0d355abfaf7fcfa768d9.jpg","text":"TemporaryFile(/tmp/multipartBody1699646412182622992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148692720,"filename":"image_06012025_08_30_02_503689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d51df8376aa9b60a58fec0bfa7f9a333.jpg","text":"TemporaryFile(/tmp/multipartBody2017054878778307108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148692720,"filename":"image_06012025_08_29_02_924206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26e8a5a357bf72613642822efa908c08.jpg","text":"TemporaryFile(/tmp/multipartBody5389631940946304952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148692720,"filename":"image_06012025_08_30_02_503689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45123ecd1f085bc47a8cb71b50d2928f.jpg","text":"TemporaryFile(/tmp/multipartBody7890469465611528740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148692720,"filename":"image_06012025_08_30_02_503689_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948482","file1":"1326948478","file0":"1326948474","file3":"1326948488"},"map_files_photo_id_array":[{"photo_id":"1326948482","filename":"file2"},{"photo_id":"1326948478","filename":"file1"},{"photo_id":"1326948474","filename":"file0"},{"photo_id":"1326948488","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948478":["hashtag1","hashtag2"]},{"1326948474":["hashtag1","hashtag2"]},{"1326948488":["hashtag1","hashtag2"]},{"1326948482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948478, 1326948474, 1326948488, 1326948482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.150636434555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:31:02.920348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:31:22.183653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0003.jpg', '/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0000.jpg', '/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0001.jpg', '/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/30/image_06012025_08_30_02_503689_0003.jpg
/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0000.jpg
/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0001.jpg
/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948623","1326948620","1326948604","1326948599"],"photo_ids_order":["1326948599","1326948604","1326948620","1326948623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/742b0f96ae7f0a0328cf98756ae4d133.jpg","text":"TemporaryFile(/tmp/multipartBody9009954820849819712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148752434,"filename":"image_06012025_08_31_03_056656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6767e51867e0be1eff3edbedd79f0aff.jpg","text":"TemporaryFile(/tmp/multipartBody6752929160316418585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148752434,"filename":"image_06012025_08_31_03_056656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca94c881aed28a1cf905e7e58f7de311.jpg","text":"TemporaryFile(/tmp/multipartBody1137537909386284819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148752434,"filename":"image_06012025_08_31_03_056656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e44a4e63331bbd5bb4242ea8fedf0a1f.jpg","text":"TemporaryFile(/tmp/multipartBody923625732427421532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148752434,"filename":"image_06012025_08_30_02_503689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948620","file1":"1326948604","file0":"1326948599","file3":"1326948623"},"map_files_photo_id_array":[{"photo_id":"1326948620","filename":"file2"},{"photo_id":"1326948604","filename":"file1"},{"photo_id":"1326948599","filename":"file0"},{"photo_id":"1326948623","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948623":["hashtag1","hashtag2"]},{"1326948620":["hashtag1","hashtag2"]},{"1326948604":["hashtag1","hashtag2"]},{"1326948599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948623, 1326948620, 1326948604, 1326948599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60678696632385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:32:02.220669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:32:21.785116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0003.jpg', '/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0000.jpg', '/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0001.jpg', '/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/31/image_06012025_08_31_03_056656_0003.jpg
/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0000.jpg
/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0001.jpg
/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948681","1326948675","1326948684","1326948678"],"photo_ids_order":["1326948675","1326948678","1326948681","1326948684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0d677995959bb051fa4ddebe98e4023.jpg","text":"TemporaryFile(/tmp/multipartBody1072459336618362197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148811983,"filename":"image_06012025_08_32_02_538723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f9f35923d60fa5ae55ec7ba287c3f34.jpg","text":"TemporaryFile(/tmp/multipartBody1319168235611493505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148811983,"filename":"image_06012025_08_31_03_056656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77b5b5e8f16ab969aea20d4644ac8f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3240465112615281902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148811983,"filename":"image_06012025_08_32_02_538723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d744aad4fe659f64e6cc2989412e09.jpg","text":"TemporaryFile(/tmp/multipartBody3284496526250205512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148811983,"filename":"image_06012025_08_32_02_538723_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948681","file1":"1326948678","file0":"1326948675","file3":"1326948684"},"map_files_photo_id_array":[{"photo_id":"1326948681","filename":"file2"},{"photo_id":"1326948678","filename":"file1"},{"photo_id":"1326948675","filename":"file0"},{"photo_id":"1326948684","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948681":["hashtag1","hashtag2"]},{"1326948675":["hashtag1","hashtag2"]},{"1326948684":["hashtag1","hashtag2"]},{"1326948678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948681, 1326948675, 1326948684, 1326948678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02713084220886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:33:02.955380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:33:22.273702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0003.jpg', '/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0000.jpg', '/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0001.jpg', '/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/32/image_06012025_08_32_02_538723_0003.jpg
/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0000.jpg
/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0001.jpg
/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948721","1326948718","1326948723","1326948714"],"photo_ids_order":["1326948714","1326948718","1326948721","1326948723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4e2337149545ed9d36568510ee4cafc.jpg","text":"TemporaryFile(/tmp/multipartBody3989979524254165966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148872376,"filename":"image_06012025_08_33_02_150423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afe80e8096a11b0b77a8de62d40b8b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1190205173402970627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148872376,"filename":"image_06012025_08_33_02_150423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf9073d1549c015e199b45aa36602865.jpg","text":"TemporaryFile(/tmp/multipartBody4725107814965914351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148872376,"filename":"image_06012025_08_33_02_150423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95efd0826fb10529b26062dfe0b6d523.jpg","text":"TemporaryFile(/tmp/multipartBody4058454024695822942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148872376,"filename":"image_06012025_08_32_02_538723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948721","file1":"1326948718","file0":"1326948714","file3":"1326948723"},"map_files_photo_id_array":[{"photo_id":"1326948721","filename":"file2"},{"photo_id":"1326948718","filename":"file1"},{"photo_id":"1326948714","filename":"file0"},{"photo_id":"1326948723","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948721":["hashtag1","hashtag2"]},{"1326948718":["hashtag1","hashtag2"]},{"1326948723":["hashtag1","hashtag2"]},{"1326948714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948721, 1326948718, 1326948723, 1326948714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73761963844299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:34:02.346492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:34:21.979633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0003.jpg', '/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0000.jpg', '/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/33/image_06012025_08_33_02_150423_0003.jpg
/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0000.jpg
/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948744","1326948738","1326948749"],"photo_ids_order":["1326948738","1326948744","1326948749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a0f54cbfa28268aec4c6c914750ebba.jpg","text":"TemporaryFile(/tmp/multipartBody1401200875751667037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148929693,"filename":"image_06012025_08_34_02_716617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab1ffe21843f91ad2d8bd7b698279890.jpg","text":"TemporaryFile(/tmp/multipartBody1057598269018113208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148929693,"filename":"image_06012025_08_33_02_150423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8a787262328c64384d50d85a6923d65.jpg","text":"TemporaryFile(/tmp/multipartBody7717086671589887111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148929693,"filename":"image_06012025_08_34_02_716617_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948749","file1":"1326948744","file0":"1326948738"},"map_files_photo_id_array":[{"photo_id":"1326948749","filename":"file2"},{"photo_id":"1326948744","filename":"file1"},{"photo_id":"1326948738","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948744":["hashtag1","hashtag2"]},{"1326948738":["hashtag1","hashtag2"]},{"1326948749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948744, 1326948738, 1326948749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.575847148895264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:35:03.194133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:35:22.503336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0002.jpg', '/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0000.jpg', '/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/34/image_06012025_08_34_02_716617_0002.jpg
/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0000.jpg
/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948839","1326948831","1326948834"],"photo_ids_order":["1326948831","1326948834","1326948839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06d37c783c47dc07bda2b00f8bdbb4e6.jpg","text":"TemporaryFile(/tmp/multipartBody4294723108833805397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148990190,"filename":"image_06012025_08_35_02_341354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7141775fb48d8733d6293528fac80a1.jpg","text":"TemporaryFile(/tmp/multipartBody1194025480337741795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148990190,"filename":"image_06012025_08_34_02_716617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9dc1a971f7b33e326aa63c7917aafea4.jpg","text":"TemporaryFile(/tmp/multipartBody3762816644539739888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736148990190,"filename":"image_06012025_08_35_02_341354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948839","file1":"1326948834","file0":"1326948831"},"map_files_photo_id_array":[{"photo_id":"1326948839","filename":"file2"},{"photo_id":"1326948834","filename":"file1"},{"photo_id":"1326948831","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948839":["hashtag1","hashtag2"]},{"1326948831":["hashtag1","hashtag2"]},{"1326948834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948839, 1326948831, 1326948834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.876032829284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:36:02.721476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:36:22.192440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0002.jpg', '/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0000.jpg', '/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/35/image_06012025_08_35_02_341354_0002.jpg
/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0000.jpg
/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948895","1326948901","1326948904"],"photo_ids_order":["1326948895","1326948901","1326948904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed4e6c21173cff912cc6ed42ad521404.jpg","text":"TemporaryFile(/tmp/multipartBody6399237236037001597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149049778,"filename":"image_06012025_08_35_02_341354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d18c779eb4fd3e0307878e878f3a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1883121072556671044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149049778,"filename":"image_06012025_08_36_02_870926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8185c2e9a97609794716c7a2c8db54dc.jpg","text":"TemporaryFile(/tmp/multipartBody6213781531373009158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149049778,"filename":"image_06012025_08_36_02_870926_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948904","file1":"1326948901","file0":"1326948895"},"map_files_photo_id_array":[{"photo_id":"1326948904","filename":"file2"},{"photo_id":"1326948901","filename":"file1"},{"photo_id":"1326948895","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948895":["hashtag1","hashtag2"]},{"1326948901":["hashtag1","hashtag2"]},{"1326948904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948895, 1326948901, 1326948904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.63722848892212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:37:02.679235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:37:22.095908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0002.jpg', '/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0000.jpg', '/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0001.jpg', '/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/36/image_06012025_08_36_02_870926_0002.jpg
/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0000.jpg
/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0001.jpg
/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948935","1326948925","1326948930","1326948918"],"photo_ids_order":["1326948918","1326948925","1326948930","1326948935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23f3ca7083e4b65d096ceb7a92e208c4.jpg","text":"TemporaryFile(/tmp/multipartBody3686240601391530419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149112183,"filename":"image_06012025_08_37_02_557367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46b6082b9fdb1b1713144f8cbf4c1885.jpg","text":"TemporaryFile(/tmp/multipartBody2909677790634042324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149112183,"filename":"image_06012025_08_37_02_557367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a48f62bc8306591bf41badf38ec40f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7598195787043671130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149112183,"filename":"image_06012025_08_37_02_557367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2582bd7c83bd68b4415c64dcbeffed55.jpg","text":"TemporaryFile(/tmp/multipartBody7833510357035862964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149112183,"filename":"image_06012025_08_36_02_870926_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948930","file1":"1326948925","file0":"1326948918","file3":"1326948935"},"map_files_photo_id_array":[{"photo_id":"1326948930","filename":"file2"},{"photo_id":"1326948925","filename":"file1"},{"photo_id":"1326948918","filename":"file0"},{"photo_id":"1326948935","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948935":["hashtag1","hashtag2"]},{"1326948925":["hashtag1","hashtag2"]},{"1326948930":["hashtag1","hashtag2"]},{"1326948918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948935, 1326948925, 1326948930, 1326948918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.45763087272644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:38:03.022856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:38:22.616359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0003.jpg', '/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0000.jpg', '/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0001.jpg', '/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/37/image_06012025_08_37_02_557367_0003.jpg
/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0000.jpg
/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0001.jpg
/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326948991","1326948999","1326948987","1326948995"],"photo_ids_order":["1326948987","1326948991","1326948995","1326948999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c676ab3127ba7d17ab346ce7810b2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8772430355731449310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149172659,"filename":"image_06012025_08_38_02_441471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ce40228f28eae2c726397a5a4c2120c.jpg","text":"TemporaryFile(/tmp/multipartBody2882955802866954996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149172659,"filename":"image_06012025_08_38_02_441471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28d697122ae91edbbe070f5316f8cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody1965898628982694596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149172659,"filename":"image_06012025_08_37_02_557367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d73ff98881e3e44bd487fea63a4b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2949890980259990969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149172659,"filename":"image_06012025_08_38_02_441471_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326948995","file1":"1326948991","file0":"1326948987","file3":"1326948999"},"map_files_photo_id_array":[{"photo_id":"1326948995","filename":"file2"},{"photo_id":"1326948991","filename":"file1"},{"photo_id":"1326948987","filename":"file0"},{"photo_id":"1326948999","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326948991":["hashtag1","hashtag2"]},{"1326948999":["hashtag1","hashtag2"]},{"1326948987":["hashtag1","hashtag2"]},{"1326948995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326948991, 1326948999, 1326948987, 1326948995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.59750413894653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:39:02.651306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:39:22.141861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0003.jpg', '/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0000.jpg', '/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0001.jpg', '/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/38/image_06012025_08_38_02_441471_0003.jpg
/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0000.jpg
/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0001.jpg
/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949010","1326949006","1326949015","1326949020"],"photo_ids_order":["1326949006","1326949010","1326949015","1326949020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6f332337ea22bf170d8b81560399a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6218167841281286601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149232129,"filename":"image_06012025_08_39_02_941819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/785c9c344e04eb86c7a01d9b2b77e87f.jpg","text":"TemporaryFile(/tmp/multipartBody6636788660827333000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149232129,"filename":"image_06012025_08_38_02_441471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9ff3d468d4e3ac54a6b5fe64a77e58a.jpg","text":"TemporaryFile(/tmp/multipartBody1065642735872992141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149232129,"filename":"image_06012025_08_39_02_941819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ff1e519db11f8f3acb3478ca0cd58d3.jpg","text":"TemporaryFile(/tmp/multipartBody8349105903968121035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149232129,"filename":"image_06012025_08_39_02_941819_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949015","file1":"1326949010","file0":"1326949006","file3":"1326949020"},"map_files_photo_id_array":[{"photo_id":"1326949015","filename":"file2"},{"photo_id":"1326949010","filename":"file1"},{"photo_id":"1326949006","filename":"file0"},{"photo_id":"1326949020","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949010":["hashtag1","hashtag2"]},{"1326949006":["hashtag1","hashtag2"]},{"1326949015":["hashtag1","hashtag2"]},{"1326949020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949010, 1326949006, 1326949015, 1326949020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.647162199020386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:40:02.185576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:40:21.742474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0003.jpg', '/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0000.jpg', '/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0001.jpg', '/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/39/image_06012025_08_39_02_941819_0003.jpg
/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0000.jpg
/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0001.jpg
/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949042","1326949045","1326949048","1326949037"],"photo_ids_order":["1326949037","1326949042","1326949045","1326949048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5fc507f2e6eeae4fdf729f2f5818086.jpg","text":"TemporaryFile(/tmp/multipartBody282588176212469179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149291897,"filename":"image_06012025_08_40_02_491278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18b767d7b272de7b39d6c2cd45594e30.jpg","text":"TemporaryFile(/tmp/multipartBody8098188076825043193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149291897,"filename":"image_06012025_08_40_02_491278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6401ebbe3abdc706ceb0ee5bd1b9276e.jpg","text":"TemporaryFile(/tmp/multipartBody5467847540973555920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149291897,"filename":"image_06012025_08_40_02_491278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9b089aa1b40e8f5f6a08dee2d404ace.jpg","text":"TemporaryFile(/tmp/multipartBody2407211455683620556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149291897,"filename":"image_06012025_08_39_02_941819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949045","file1":"1326949042","file0":"1326949037","file3":"1326949048"},"map_files_photo_id_array":[{"photo_id":"1326949045","filename":"file2"},{"photo_id":"1326949042","filename":"file1"},{"photo_id":"1326949037","filename":"file0"},{"photo_id":"1326949048","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949042":["hashtag1","hashtag2"]},{"1326949045":["hashtag1","hashtag2"]},{"1326949048":["hashtag1","hashtag2"]},{"1326949037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949042, 1326949045, 1326949048, 1326949037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98095917701721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:41:02.807078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:41:22.312353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0003.jpg', '/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0000.jpg', '/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/40/image_06012025_08_40_02_491278_0003.jpg
/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0000.jpg
/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949081","1326949084","1326949088"],"photo_ids_order":["1326949081","1326949084","1326949088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b338a212d0f6187c6d848e1d578eab7f.jpg","text":"TemporaryFile(/tmp/multipartBody6037477690233852563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149350042,"filename":"image_06012025_08_40_02_491278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff454a0743acb9ba1cb9787f912899e0.jpg","text":"TemporaryFile(/tmp/multipartBody3726556027757128294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149350042,"filename":"image_06012025_08_41_02_099101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e622e74aa6259cbbcf8934eef82eb2df.jpg","text":"TemporaryFile(/tmp/multipartBody823699881398983078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149350042,"filename":"image_06012025_08_41_02_099101_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949088","file1":"1326949084","file0":"1326949081"},"map_files_photo_id_array":[{"photo_id":"1326949088","filename":"file2"},{"photo_id":"1326949084","filename":"file1"},{"photo_id":"1326949081","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949081":["hashtag1","hashtag2"]},{"1326949084":["hashtag1","hashtag2"]},{"1326949088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949081, 1326949084, 1326949088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.260631799697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:42:02.286332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:42:21.908344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0003.jpg', '/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0000.jpg', '/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0001.jpg', '/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/41/image_06012025_08_41_02_099101_0003.jpg
/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0000.jpg
/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0001.jpg
/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949098","1326949101","1326949104","1326949107"],"photo_ids_order":["1326949098","1326949101","1326949104","1326949107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2b24ff1314f43f5ad533cb8a4c71e3d.jpg","text":"TemporaryFile(/tmp/multipartBody544420722803325294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149412100,"filename":"image_06012025_08_41_02_099101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bc26ae98a5b7a9ad1393e234e642cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5597337090463203015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149412100,"filename":"image_06012025_08_42_02_616774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57b2d2a52ebd731b9c44404660356609.jpg","text":"TemporaryFile(/tmp/multipartBody5119012339306227948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149412100,"filename":"image_06012025_08_42_02_616774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af703013b30f68b8ed9b99e5f76c8553.jpg","text":"TemporaryFile(/tmp/multipartBody6321883741231494553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149412100,"filename":"image_06012025_08_42_02_616774_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949104","file1":"1326949101","file0":"1326949098","file3":"1326949107"},"map_files_photo_id_array":[{"photo_id":"1326949104","filename":"file2"},{"photo_id":"1326949101","filename":"file1"},{"photo_id":"1326949098","filename":"file0"},{"photo_id":"1326949107","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949098":["hashtag1","hashtag2"]},{"1326949101":["hashtag1","hashtag2"]},{"1326949104":["hashtag1","hashtag2"]},{"1326949107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949098, 1326949101, 1326949104, 1326949107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.54456400871277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:43:02.958984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:43:22.410519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0003.jpg', '/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0000.jpg', '/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0001.jpg', '/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/42/image_06012025_08_42_02_616774_0003.jpg
/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0000.jpg
/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0001.jpg
/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949118","1326949124","1326949121","1326949115"],"photo_ids_order":["1326949115","1326949118","1326949121","1326949124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7fb8a7b4b9c4ef5bdc33769a66b9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody5555432784962060937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149472616,"filename":"image_06012025_08_43_02_258170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac4abac536aa83a073160af18febfa18.jpg","text":"TemporaryFile(/tmp/multipartBody1477835553205302428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149472616,"filename":"image_06012025_08_43_02_258170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da21322ec9042f7e988ed4742c3151a2.jpg","text":"TemporaryFile(/tmp/multipartBody1561824977156509694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149472616,"filename":"image_06012025_08_43_02_258170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00b4a9be78a12b3df6c936ad69e400e8.jpg","text":"TemporaryFile(/tmp/multipartBody5219246027094780542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149472616,"filename":"image_06012025_08_42_02_616774_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949121","file1":"1326949118","file0":"1326949115","file3":"1326949124"},"map_files_photo_id_array":[{"photo_id":"1326949121","filename":"file2"},{"photo_id":"1326949118","filename":"file1"},{"photo_id":"1326949115","filename":"file0"},{"photo_id":"1326949124","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949118":["hashtag1","hashtag2"]},{"1326949124":["hashtag1","hashtag2"]},{"1326949121":["hashtag1","hashtag2"]},{"1326949115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949118, 1326949124, 1326949121, 1326949115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42934465408325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:44:02.507147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:44:22.049245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0003.jpg', '/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0000.jpg', '/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0001.jpg', '/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/43/image_06012025_08_43_02_258170_0003.jpg
/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0000.jpg
/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0001.jpg
/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949153","1326949156","1326949149","1326949145"],"photo_ids_order":["1326949145","1326949149","1326949153","1326949156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6105d19d59d11264b106debb1206e62b.jpg","text":"TemporaryFile(/tmp/multipartBody8661627489668660501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149532199,"filename":"image_06012025_08_44_02_778136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ad9dcb079d696d7df9bb87e766810e9.jpg","text":"TemporaryFile(/tmp/multipartBody5930104260154358909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149532199,"filename":"image_06012025_08_44_02_778136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ead8a9f0e5bd5931b80b92abae3edad.jpg","text":"TemporaryFile(/tmp/multipartBody4250323268774043857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149532199,"filename":"image_06012025_08_44_02_778136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03e0f29b67de666b747cf1902e48841a.jpg","text":"TemporaryFile(/tmp/multipartBody8689120072216838049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149532199,"filename":"image_06012025_08_43_02_258170_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949153","file1":"1326949149","file0":"1326949145","file3":"1326949156"},"map_files_photo_id_array":[{"photo_id":"1326949153","filename":"file2"},{"photo_id":"1326949149","filename":"file1"},{"photo_id":"1326949145","filename":"file0"},{"photo_id":"1326949156","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949153":["hashtag1","hashtag2"]},{"1326949156":["hashtag1","hashtag2"]},{"1326949149":["hashtag1","hashtag2"]},{"1326949145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949153, 1326949156, 1326949149, 1326949145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20710611343384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:45:03.198793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:45:22.573166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0003.jpg', '/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0000.jpg', '/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0001.jpg', '/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/44/image_06012025_08_44_02_778136_0003.jpg
/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0000.jpg
/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0001.jpg
/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949217","1326949222","1326949207","1326949212"],"photo_ids_order":["1326949207","1326949212","1326949217","1326949222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8006971822615f44cc102a08f4268b9.jpg","text":"TemporaryFile(/tmp/multipartBody1498282389552416192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149592680,"filename":"image_06012025_08_45_02_463392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6153ea16ed2a656338b10acf939b827.jpg","text":"TemporaryFile(/tmp/multipartBody7491091815652542729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149592680,"filename":"image_06012025_08_45_02_463392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ddb975071bedba6aef86f52f88eca3a.jpg","text":"TemporaryFile(/tmp/multipartBody234569083511252676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149592680,"filename":"image_06012025_08_44_02_778136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70eb47628763dc9d57286d94b5b195be.jpg","text":"TemporaryFile(/tmp/multipartBody5117982735911650976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149592680,"filename":"image_06012025_08_45_02_463392_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949217","file1":"1326949212","file0":"1326949207","file3":"1326949222"},"map_files_photo_id_array":[{"photo_id":"1326949217","filename":"file2"},{"photo_id":"1326949212","filename":"file1"},{"photo_id":"1326949207","filename":"file0"},{"photo_id":"1326949222","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949217":["hashtag1","hashtag2"]},{"1326949222":["hashtag1","hashtag2"]},{"1326949207":["hashtag1","hashtag2"]},{"1326949212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949217, 1326949222, 1326949207, 1326949212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.347800731658936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:46:02.607700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:46:22.160932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0003.jpg', '/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0000.jpg', '/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0001.jpg', '/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/45/image_06012025_08_45_02_463392_0003.jpg
/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0000.jpg
/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0001.jpg
/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949288","1326949264","1326949290","1326949404"],"photo_ids_order":["1326949264","1326949288","1326949290","1326949404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4bdf9ab14a66a8dee25222a17fd1cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7251720190889644865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149652202,"filename":"image_06012025_08_46_02_901296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9805e7224b2353e329dc699874d5b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5286621503990839271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149652202,"filename":"image_06012025_08_45_02_463392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/772d25c85b036a5fe82ad30dcf7c30a7.jpg","text":"TemporaryFile(/tmp/multipartBody3552299025044190739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149652202,"filename":"image_06012025_08_46_02_901296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb84a97f1f4d09c08261f9e4a8e3be10.jpg","text":"TemporaryFile(/tmp/multipartBody6643861197851138541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149652202,"filename":"image_06012025_08_46_02_901296_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949290","file1":"1326949288","file0":"1326949264","file3":"1326949404"},"map_files_photo_id_array":[{"photo_id":"1326949290","filename":"file2"},{"photo_id":"1326949288","filename":"file1"},{"photo_id":"1326949264","filename":"file0"},{"photo_id":"1326949404","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949288":["hashtag1","hashtag2"]},{"1326949264":["hashtag1","hashtag2"]},{"1326949290":["hashtag1","hashtag2"]},{"1326949404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949288, 1326949264, 1326949290, 1326949404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90977430343628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:47:03.365876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:47:22.750399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0003.jpg', '/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0000.jpg', '/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0001.jpg', '/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/46/image_06012025_08_46_02_901296_0003.jpg
/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0000.jpg
/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0001.jpg
/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949514","1326949525","1326949518","1326949523"],"photo_ids_order":["1326949514","1326949518","1326949523","1326949525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1dca992ef2f5374283fd478f856887a.jpg","text":"TemporaryFile(/tmp/multipartBody3158596675850974756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149712867,"filename":"image_06012025_08_46_02_901296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75b097ac3e347f1797a80e9a822667d7.jpg","text":"TemporaryFile(/tmp/multipartBody7997305231808889534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149712867,"filename":"image_06012025_08_47_02_575682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a159c38c562f6af7ae7c96e8165673ba.jpg","text":"TemporaryFile(/tmp/multipartBody5768684426300257684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149712867,"filename":"image_06012025_08_47_02_575682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97492bc95b25a9465a132fac204c08cc.jpg","text":"TemporaryFile(/tmp/multipartBody4202211459021905592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149712867,"filename":"image_06012025_08_47_02_575682_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949523","file1":"1326949518","file0":"1326949514","file3":"1326949525"},"map_files_photo_id_array":[{"photo_id":"1326949523","filename":"file2"},{"photo_id":"1326949518","filename":"file1"},{"photo_id":"1326949514","filename":"file0"},{"photo_id":"1326949525","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949514":["hashtag1","hashtag2"]},{"1326949525":["hashtag1","hashtag2"]},{"1326949518":["hashtag1","hashtag2"]},{"1326949523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949514, 1326949525, 1326949518, 1326949523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32530117034912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:48:22.390077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0003.jpg', '/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0000.jpg', '/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0001.jpg', '/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/47/image_06012025_08_47_02_575682_0003.jpg
/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0000.jpg
/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0001.jpg
/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949546","1326949534","1326949542","1326949550"],"photo_ids_order":["1326949534","1326949542","1326949546","1326949550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a40337f50f5afad1e5d39bfae40228ce.jpg","text":"TemporaryFile(/tmp/multipartBody6179638874834743101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149772524,"filename":"image_06012025_08_48_03_058762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c92cfa090b16323e19fbc3cc7ce1ba34.jpg","text":"TemporaryFile(/tmp/multipartBody3322727596734553538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149772524,"filename":"image_06012025_08_47_02_575682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e34485f5ad56325a90cd87e0c827147.jpg","text":"TemporaryFile(/tmp/multipartBody83480428775120944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149772524,"filename":"image_06012025_08_48_03_058762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7aaf2f590eab97b64536e56b464b6e22.jpg","text":"TemporaryFile(/tmp/multipartBody1953576180263815239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149772524,"filename":"image_06012025_08_48_03_058762_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949546","file1":"1326949542","file0":"1326949534","file3":"1326949550"},"map_files_photo_id_array":[{"photo_id":"1326949546","filename":"file2"},{"photo_id":"1326949542","filename":"file1"},{"photo_id":"1326949534","filename":"file0"},{"photo_id":"1326949550","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949546":["hashtag1","hashtag2"]},{"1326949534":["hashtag1","hashtag2"]},{"1326949542":["hashtag1","hashtag2"]},{"1326949550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949546, 1326949534, 1326949542, 1326949550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.45740461349487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:49:02.591079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:49:21.839021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0003.jpg', '/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0000.jpg', '/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0001.jpg', '/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/48/image_06012025_08_48_03_058762_0003.jpg
/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0000.jpg
/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0001.jpg
/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949560","1326949563","1326949557","1326949566"],"photo_ids_order":["1326949557","1326949560","1326949563","1326949566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/739cf2de92e78327c0c764332e112061.jpg","text":"TemporaryFile(/tmp/multipartBody6868163228137166768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149831979,"filename":"image_06012025_08_49_02_699795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/669fe12e0ba2d3393f32c879ff61cf85.jpg","text":"TemporaryFile(/tmp/multipartBody3062219873542151200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149831979,"filename":"image_06012025_08_49_02_699795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10c622018cfac29dc898597c6d91d687.jpg","text":"TemporaryFile(/tmp/multipartBody8738044934874752855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149831979,"filename":"image_06012025_08_48_03_058762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9029b5632b80b67bdbd997d43fbe294.jpg","text":"TemporaryFile(/tmp/multipartBody4753512974501561917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149831979,"filename":"image_06012025_08_49_02_699795_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949563","file1":"1326949560","file0":"1326949557","file3":"1326949566"},"map_files_photo_id_array":[{"photo_id":"1326949563","filename":"file2"},{"photo_id":"1326949560","filename":"file1"},{"photo_id":"1326949557","filename":"file0"},{"photo_id":"1326949566","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949560":["hashtag1","hashtag2"]},{"1326949563":["hashtag1","hashtag2"]},{"1326949557":["hashtag1","hashtag2"]},{"1326949566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949560, 1326949563, 1326949557, 1326949566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21791744232178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:50:02.929308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:50:22.571772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0003.jpg', '/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0000.jpg', '/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0001.jpg', '/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/49/image_06012025_08_49_02_699795_0003.jpg
/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0000.jpg
/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0001.jpg
/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949639","1326949630","1326949633","1326949636"],"photo_ids_order":["1326949630","1326949633","1326949636","1326949639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30df8e611846f77ea70b504b24ec49aa.jpg","text":"TemporaryFile(/tmp/multipartBody3533935638016405810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149892740,"filename":"image_06012025_08_50_02_260135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4faa53ba79f49fd2184cd8b6b0a876fc.jpg","text":"TemporaryFile(/tmp/multipartBody1511784914007140115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149892740,"filename":"image_06012025_08_49_02_699795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbaf9ae071a8c3bd8d3f7ca5d05f31b5.jpg","text":"TemporaryFile(/tmp/multipartBody1314766184761746760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149892740,"filename":"image_06012025_08_50_02_260135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5b8f001311cfdb080d8a83f5daf75e1.jpg","text":"TemporaryFile(/tmp/multipartBody1003780608233207719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149892740,"filename":"image_06012025_08_50_02_260135_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949636","file1":"1326949633","file0":"1326949630","file3":"1326949639"},"map_files_photo_id_array":[{"photo_id":"1326949636","filename":"file2"},{"photo_id":"1326949633","filename":"file1"},{"photo_id":"1326949630","filename":"file0"},{"photo_id":"1326949639","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949639":["hashtag1","hashtag2"]},{"1326949630":["hashtag1","hashtag2"]},{"1326949633":["hashtag1","hashtag2"]},{"1326949636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949639, 1326949630, 1326949633, 1326949636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.888741970062256 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-06 08:51:22.103255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0003.jpg', '/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0001.jpg', '/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/50/image_06012025_08_50_02_260135_0003.jpg
/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0001.jpg
/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949653","1326949646","1326949649"],"photo_ids_order":["1326949646","1326949649","1326949653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3372dd1e9f95566e1870d35aba576e88.jpg","text":"TemporaryFile(/tmp/multipartBody661631712113561754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149949921,"filename":"image_06012025_08_51_02_935264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2406875f026656409d21931e395fee46.jpg","text":"TemporaryFile(/tmp/multipartBody7544385298019280237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149949921,"filename":"image_06012025_08_50_02_260135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60944b7033d937d262ff8bf47828f274.jpg","text":"TemporaryFile(/tmp/multipartBody1894051190028227762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736149949921,"filename":"image_06012025_08_51_02_935264_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949653","file1":"1326949649","file0":"1326949646"},"map_files_photo_id_array":[{"photo_id":"1326949653","filename":"file2"},{"photo_id":"1326949649","filename":"file1"},{"photo_id":"1326949646","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949653":["hashtag1","hashtag2"]},{"1326949646":["hashtag1","hashtag2"]},{"1326949649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949653, 1326949646, 1326949649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.473366737365723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:52:02.924127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:52:22.647698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0003.jpg', '/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0000.jpg', '/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0001.jpg', '/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/51/image_06012025_08_51_02_935264_0003.jpg
/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0000.jpg
/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0001.jpg
/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949676","1326949679","1326949673","1326949712"],"photo_ids_order":["1326949673","1326949676","1326949679","1326949712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fd1a3132be0576b558c6a562962a17a.jpg","text":"TemporaryFile(/tmp/multipartBody3936820509573058113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150012822,"filename":"image_06012025_08_52_02_489744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c8e6a50bdfca854134cb8b573a44723.jpg","text":"TemporaryFile(/tmp/multipartBody5561798288325840191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150012822,"filename":"image_06012025_08_52_02_489744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1720d7b371c25c00f10e8db0bad453e6.jpg","text":"TemporaryFile(/tmp/multipartBody6207456479279024135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150012822,"filename":"image_06012025_08_51_02_935264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cde3e6cbe982e80e01d23e493833f3b3.jpg","text":"TemporaryFile(/tmp/multipartBody824203716322734503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150012822,"filename":"image_06012025_08_52_02_489744_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949679","file1":"1326949676","file0":"1326949673","file3":"1326949712"},"map_files_photo_id_array":[{"photo_id":"1326949679","filename":"file2"},{"photo_id":"1326949676","filename":"file1"},{"photo_id":"1326949673","filename":"file0"},{"photo_id":"1326949712","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949676":["hashtag1","hashtag2"]},{"1326949679":["hashtag1","hashtag2"]},{"1326949673":["hashtag1","hashtag2"]},{"1326949712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949676, 1326949679, 1326949673, 1326949712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.599886417388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:53:02.832033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:53:22.155025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0003.jpg', '/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0000.jpg', '/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0001.jpg', '/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/52/image_06012025_08_52_02_489744_0003.jpg
/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0000.jpg
/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0001.jpg
/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949722","1326949725","1326949719","1326949728"],"photo_ids_order":["1326949719","1326949722","1326949725","1326949728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed5c43fc1b986f17e9a9fa17459a6e66.jpg","text":"TemporaryFile(/tmp/multipartBody3877949273742192091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150072255,"filename":"image_06012025_08_53_03_029849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a7b02eb2db632caf241e25bde2cd689.jpg","text":"TemporaryFile(/tmp/multipartBody2505804333297838403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150072255,"filename":"image_06012025_08_53_03_029849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fdb00b7c0876395dbe7c7a2ed0611521.jpg","text":"TemporaryFile(/tmp/multipartBody19802682494639290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150072255,"filename":"image_06012025_08_52_02_489744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c3e4516d3144adf587d69562c98415c.jpg","text":"TemporaryFile(/tmp/multipartBody8695573644523022851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150072255,"filename":"image_06012025_08_53_03_029849_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949725","file1":"1326949722","file0":"1326949719","file3":"1326949728"},"map_files_photo_id_array":[{"photo_id":"1326949725","filename":"file2"},{"photo_id":"1326949722","filename":"file1"},{"photo_id":"1326949719","filename":"file0"},{"photo_id":"1326949728","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949722":["hashtag1","hashtag2"]},{"1326949725":["hashtag1","hashtag2"]},{"1326949719":["hashtag1","hashtag2"]},{"1326949728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949722, 1326949725, 1326949719, 1326949728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.57817077636719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:54:02.315471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:54:21.821134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0003.jpg', '/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0000.jpg', '/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0001.jpg', '/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/53/image_06012025_08_53_03_029849_0003.jpg
/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0000.jpg
/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0001.jpg
/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949741","1326949744","1326949738","1326949735"],"photo_ids_order":["1326949735","1326949738","1326949741","1326949744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc58e7c155aae9432e795e20bfda2efc.jpg","text":"TemporaryFile(/tmp/multipartBody5210828741989962708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150131826,"filename":"image_06012025_08_54_02_471891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6bd1c1c3e632edb13b98c44633c13fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2010688295009880229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150131826,"filename":"image_06012025_08_54_02_471891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0e90dd86a3f30f5e54cba54ad0e4cad.jpg","text":"TemporaryFile(/tmp/multipartBody1794308941270045658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150131826,"filename":"image_06012025_08_54_02_471891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbb9c02c8ffd3a4aee3008c77256b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody4046047505876745137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150131826,"filename":"image_06012025_08_53_03_029849_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949741","file1":"1326949738","file0":"1326949735","file3":"1326949744"},"map_files_photo_id_array":[{"photo_id":"1326949741","filename":"file2"},{"photo_id":"1326949738","filename":"file1"},{"photo_id":"1326949735","filename":"file0"},{"photo_id":"1326949744","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949741":["hashtag1","hashtag2"]},{"1326949744":["hashtag1","hashtag2"]},{"1326949738":["hashtag1","hashtag2"]},{"1326949735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949741, 1326949744, 1326949738, 1326949735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28397750854492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:55:02.951946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:55:22.302937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0003.jpg', '/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0000.jpg', '/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0001.jpg', '/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/54/image_06012025_08_54_02_471891_0003.jpg
/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0000.jpg
/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0001.jpg
/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949765","1326949757","1326949751","1326949754"],"photo_ids_order":["1326949751","1326949754","1326949757","1326949765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aad39db015fcb6ac1537c55fd2891660.jpg","text":"TemporaryFile(/tmp/multipartBody5674908358922016534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150192486,"filename":"image_06012025_08_55_02_179382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbf587167428b5009e518ca14088a0d7.jpg","text":"TemporaryFile(/tmp/multipartBody6186292245900361885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150192486,"filename":"image_06012025_08_55_02_179382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df2ee42977a260efe412fa90f5c8b9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8527060378012582775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150192486,"filename":"image_06012025_08_54_02_471891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18986a05544cd3afbec0aea0befeb2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5288262491917184570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150192486,"filename":"image_06012025_08_55_02_179382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949757","file1":"1326949754","file0":"1326949751","file3":"1326949765"},"map_files_photo_id_array":[{"photo_id":"1326949757","filename":"file2"},{"photo_id":"1326949754","filename":"file1"},{"photo_id":"1326949751","filename":"file0"},{"photo_id":"1326949765","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949765":["hashtag1","hashtag2"]},{"1326949757":["hashtag1","hashtag2"]},{"1326949751":["hashtag1","hashtag2"]},{"1326949754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949765, 1326949757, 1326949751, 1326949754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88423252105713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:56:02.372798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:56:21.908960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0003.jpg', '/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0000.jpg', '/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0001.jpg', '/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/55/image_06012025_08_55_02_179382_0003.jpg
/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0000.jpg
/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0001.jpg
/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326949779","1326949776","1326949815","1326949817"],"photo_ids_order":["1326949776","1326949779","1326949815","1326949817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ca4cc22516f9afbe4bfe58042a515d0.jpg","text":"TemporaryFile(/tmp/multipartBody8565019051899956638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150251988,"filename":"image_06012025_08_56_02_675359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3801bea7bfa14e1443176630c9df9310.jpg","text":"TemporaryFile(/tmp/multipartBody3715396602436716397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150251988,"filename":"image_06012025_08_55_02_179382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab8e425393430e34a94880e5a2a1ed1a.jpg","text":"TemporaryFile(/tmp/multipartBody2581421750981156753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150251988,"filename":"image_06012025_08_56_02_675359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/215882b1737dc3e21fbaceaaa27fcf12.jpg","text":"TemporaryFile(/tmp/multipartBody2253161720772216581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150251988,"filename":"image_06012025_08_56_02_675359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326949815","file1":"1326949779","file0":"1326949776","file3":"1326949817"},"map_files_photo_id_array":[{"photo_id":"1326949815","filename":"file2"},{"photo_id":"1326949779","filename":"file1"},{"photo_id":"1326949776","filename":"file0"},{"photo_id":"1326949817","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326949779":["hashtag1","hashtag2"]},{"1326949776":["hashtag1","hashtag2"]},{"1326949815":["hashtag1","hashtag2"]},{"1326949817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326949779, 1326949776, 1326949815, 1326949817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.188645362854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:57:03.087528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:57:22.403122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0003.jpg', '/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0000.jpg', '/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0001.jpg', '/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/56/image_06012025_08_56_02_675359_0003.jpg
/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0000.jpg
/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0001.jpg
/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326950165","1326950153","1326950158","1326950162"],"photo_ids_order":["1326950153","1326950158","1326950162","1326950165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c891fcb945ebc82d3cd9a2932abc0b45.jpg","text":"TemporaryFile(/tmp/multipartBody3673003915350266688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150312540,"filename":"image_06012025_08_57_02_250918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f36da2a0b10c3f23ef278a506311095c.jpg","text":"TemporaryFile(/tmp/multipartBody2620234880380468926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150312540,"filename":"image_06012025_08_56_02_675359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf3e4c3edee9b7a4089b6a972dc94e43.jpg","text":"TemporaryFile(/tmp/multipartBody1290560576295934080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150312540,"filename":"image_06012025_08_57_02_250918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c31471a63b44301d35bc13c99214d1d7.jpg","text":"TemporaryFile(/tmp/multipartBody390847107183502797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150312540,"filename":"image_06012025_08_57_02_250918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326950162","file1":"1326950158","file0":"1326950153","file3":"1326950165"},"map_files_photo_id_array":[{"photo_id":"1326950162","filename":"file2"},{"photo_id":"1326950158","filename":"file1"},{"photo_id":"1326950153","filename":"file0"},{"photo_id":"1326950165","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326950165":["hashtag1","hashtag2"]},{"1326950153":["hashtag1","hashtag2"]},{"1326950158":["hashtag1","hashtag2"]},{"1326950162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326950165, 1326950153, 1326950158, 1326950162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.39523506164551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 08:59:02.962475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 08:59:22.249798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0003.jpg', '/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0000.jpg', '/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0001.jpg', '/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0002.jpg', '/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0003.jpg', '/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/57/image_06012025_08_57_02_250918_0003.jpg
/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0000.jpg
/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0001.jpg
/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0002.jpg
/home/pi/Desktop/images/06012025/08/58/image_06012025_08_58_02_793178_0003.jpg
/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326950977","1326950980","1326950947","1326951118","1326951516","1326950985"],"photo_ids_order":["1326950947","1326950977","1326950980","1326950985","1326951118","1326951516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/030bd6d3b2c6c5bc4a03e46af4bbd360.jpg","text":"TemporaryFile(/tmp/multipartBody6381998937922877733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_58_02_793178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56261ff043b778de8319096834156a34.jpg","text":"TemporaryFile(/tmp/multipartBody9125128894703943180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_58_02_793178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f0fa5cc6a58a3633270776fb80724d0.jpg","text":"TemporaryFile(/tmp/multipartBody6141710323937741869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_57_02_250918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1e67929e6b9050afe594f73bb8b982e.jpg","text":"TemporaryFile(/tmp/multipartBody7934159734726663703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_58_02_793178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05d832630588fc4efd77edde22f48c25.jpg","text":"TemporaryFile(/tmp/multipartBody369214213820652222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_59_02_439124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/765f39c45a186ebdbfd963ca85f17fe6.jpg","text":"TemporaryFile(/tmp/multipartBody8909879261377487579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150437207,"filename":"image_06012025_08_58_02_793178_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326950980","file1":"1326950977","file0":"1326950947","file4":"1326951118","file5":"1326951516","file3":"1326950985"},"map_files_photo_id_array":[{"photo_id":"1326951516","filename":"file5"},{"photo_id":"1326950980","filename":"file2"},{"photo_id":"1326951118","filename":"file4"},{"photo_id":"1326950977","filename":"file1"},{"photo_id":"1326950947","filename":"file0"},{"photo_id":"1326950985","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326950977":["hashtag1","hashtag2"]},{"1326950980":["hashtag1","hashtag2"]},{"1326950947":["hashtag1","hashtag2"]},{"1326951118":["hashtag1","hashtag2"]},{"1326951516":["hashtag1","hashtag2"]},{"1326950985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326950977, 1326950980, 1326950947, 1326951118, 1326951516, 1326950985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.656991958618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:00:22.028385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0001.jpg', '/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0002.jpg', '/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0003.jpg', '/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0000.jpg', '/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0001.jpg
/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0002.jpg
/home/pi/Desktop/images/06012025/08/59/image_06012025_08_59_02_439124_0003.jpg
/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0000.jpg
/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951673","1326951658","1326951668","1326951662","1326951650"],"photo_ids_order":["1326951650","1326951658","1326951662","1326951668","1326951673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11f08567e058aab384b01147b8bdec3a.jpg","text":"TemporaryFile(/tmp/multipartBody870741203101642970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150494476,"filename":"image_06012025_09_00_02_597953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d40e5c501626a02e7e2102487a1c3742.jpg","text":"TemporaryFile(/tmp/multipartBody2329860478392523304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150494476,"filename":"image_06012025_08_59_02_439124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f621077507bdba0a37135545f26b83b4.jpg","text":"TemporaryFile(/tmp/multipartBody7972647559765842802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150494476,"filename":"image_06012025_09_00_02_597953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/385968c6aaddfb79748fa6d5fc68f2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1373526295637232214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150494476,"filename":"image_06012025_08_59_02_439124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6eadb9d7a611fa687faf194a3c0e6e10.jpg","text":"TemporaryFile(/tmp/multipartBody5133534973115705402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150494476,"filename":"image_06012025_08_59_02_439124_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951662","file1":"1326951658","file0":"1326951650","file4":"1326951673","file3":"1326951668"},"map_files_photo_id_array":[{"photo_id":"1326951662","filename":"file2"},{"photo_id":"1326951673","filename":"file4"},{"photo_id":"1326951658","filename":"file1"},{"photo_id":"1326951650","filename":"file0"},{"photo_id":"1326951668","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951673":["hashtag1","hashtag2"]},{"1326951658":["hashtag1","hashtag2"]},{"1326951668":["hashtag1","hashtag2"]},{"1326951662":["hashtag1","hashtag2"]},{"1326951650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951673, 1326951658, 1326951668, 1326951662, 1326951650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.32950496673584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:01:22.471491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0003.jpg', '/home/pi/Desktop/images/06012025/09/01/image_06012025_09_01_02_339538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/00/image_06012025_09_00_02_597953_0003.jpg
/home/pi/Desktop/images/06012025/09/01/image_06012025_09_01_02_339538_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951691","1326951694"],"photo_ids_order":["1326951691","1326951694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dda78ce12ce6e3ad12520ebdf1cc6b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5686217553060918989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150547837,"filename":"image_06012025_09_00_02_597953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/962bf3a7aa4838300014fb1ce2cec82a.jpg","text":"TemporaryFile(/tmp/multipartBody2200857535619954081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150547837,"filename":"image_06012025_09_01_02_339538_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326951694","file0":"1326951691"},"map_files_photo_id_array":[{"photo_id":"1326951694","filename":"file1"},{"photo_id":"1326951691","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951691":["hashtag1","hashtag2"]},{"1326951694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951691, 1326951694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.426689863204956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:02:02.348937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:02:22.080754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/01/image_06012025_09_01_02_339538_0003.jpg', '/home/pi/Desktop/images/06012025/09/02/image_06012025_09_02_02_852050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/01/image_06012025_09_01_02_339538_0003.jpg
/home/pi/Desktop/images/06012025/09/02/image_06012025_09_02_02_852050_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951751","1326951739"],"photo_ids_order":["1326951739","1326951751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18e50de7b20043e6742f3b7dbf75ad38.jpg","text":"TemporaryFile(/tmp/multipartBody3727856099196485420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150607462,"filename":"image_06012025_09_02_02_852050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19749d512794b681aec276bee3391de4.jpg","text":"TemporaryFile(/tmp/multipartBody3509793575881395987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150607462,"filename":"image_06012025_09_01_02_339538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326951751","file0":"1326951739"},"map_files_photo_id_array":[{"photo_id":"1326951751","filename":"file1"},{"photo_id":"1326951739","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951751":["hashtag1","hashtag2"]},{"1326951739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951751, 1326951739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.81280255317688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:03:03.247818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:03:22.566531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/02/image_06012025_09_02_02_852050_0003.jpg', '/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0000.jpg', '/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/02/image_06012025_09_02_02_852050_0003.jpg
/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0000.jpg
/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951792","1326951786","1326951789"],"photo_ids_order":["1326951786","1326951789","1326951792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3352d57380d8ca08bcaf2d0382a9e1b6.jpg","text":"TemporaryFile(/tmp/multipartBody4829258399006712523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150670323,"filename":"image_06012025_09_03_02_408983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2aeffde58739f2b5799d3027f6ec7d05.jpg","text":"TemporaryFile(/tmp/multipartBody918246916774877101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150670323,"filename":"image_06012025_09_02_02_852050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea7acf22508d5454e62ba63abfd0e65d.jpg","text":"TemporaryFile(/tmp/multipartBody4190650105877651959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150670323,"filename":"image_06012025_09_03_02_408983_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951792","file1":"1326951789","file0":"1326951786"},"map_files_photo_id_array":[{"photo_id":"1326951792","filename":"file2"},{"photo_id":"1326951789","filename":"file1"},{"photo_id":"1326951786","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951792":["hashtag1","hashtag2"]},{"1326951786":["hashtag1","hashtag2"]},{"1326951789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951792, 1326951786, 1326951789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.79259729385376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:04:02.620318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:04:22.222163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0003.jpg', '/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0000.jpg', '/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/03/image_06012025_09_03_02_408983_0003.jpg
/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0000.jpg
/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951850","1326951847","1326951855"],"photo_ids_order":["1326951847","1326951850","1326951855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39032cc72eee00685bf87b1d871ebe43.jpg","text":"TemporaryFile(/tmp/multipartBody9091469300571715158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150729948,"filename":"image_06012025_09_04_02_911839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd7d418776599249d8f17b660e884376.jpg","text":"TemporaryFile(/tmp/multipartBody4857850023246608064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150729948,"filename":"image_06012025_09_03_02_408983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a243db7a8fc42a62a6763c104be179c.jpg","text":"TemporaryFile(/tmp/multipartBody6389447316274312706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150729948,"filename":"image_06012025_09_04_02_911839_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951855","file1":"1326951850","file0":"1326951847"},"map_files_photo_id_array":[{"photo_id":"1326951855","filename":"file2"},{"photo_id":"1326951850","filename":"file1"},{"photo_id":"1326951847","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951850":["hashtag1","hashtag2"]},{"1326951847":["hashtag1","hashtag2"]},{"1326951855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951850, 1326951847, 1326951855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.34701132774353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:05:02.350665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:05:21.790188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0002.jpg', '/home/pi/Desktop/images/06012025/09/05/image_06012025_09_05_02_622900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/04/image_06012025_09_04_02_911839_0002.jpg
/home/pi/Desktop/images/06012025/09/05/image_06012025_09_05_02_622900_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951898","1326951901"],"photo_ids_order":["1326951898","1326951901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18179aa8134b463cb1a1e3f00f419b0e.jpg","text":"TemporaryFile(/tmp/multipartBody338127993747112478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150787154,"filename":"image_06012025_09_04_02_911839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c27c87d2182f821b0662167a4b1216fd.jpg","text":"TemporaryFile(/tmp/multipartBody7795099923615397371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150787154,"filename":"image_06012025_09_05_02_622900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326951901","file0":"1326951898"},"map_files_photo_id_array":[{"photo_id":"1326951901","filename":"file1"},{"photo_id":"1326951898","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951898":["hashtag1","hashtag2"]},{"1326951901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951898, 1326951901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.811805963516235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:06:02.965211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:06:22.555783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/05/image_06012025_09_05_02_622900_0003.jpg', '/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0000.jpg', '/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/05/image_06012025_09_05_02_622900_0003.jpg
/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0000.jpg
/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951921","1326951915","1326951917"],"photo_ids_order":["1326951915","1326951917","1326951921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a930bd2dc601586ebd67a83664e2c297.jpg","text":"TemporaryFile(/tmp/multipartBody8207155823463585827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150850254,"filename":"image_06012025_09_06_02_196272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/892bb5b259ccb44b66f1cd917cd47b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3054622352507030054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150850254,"filename":"image_06012025_09_05_02_622900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f551fa50b61a2c69360ec8e8b9d47357.jpg","text":"TemporaryFile(/tmp/multipartBody2624639497965818434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150850254,"filename":"image_06012025_09_06_02_196272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951921","file1":"1326951917","file0":"1326951915"},"map_files_photo_id_array":[{"photo_id":"1326951921","filename":"file2"},{"photo_id":"1326951917","filename":"file1"},{"photo_id":"1326951915","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951921":["hashtag1","hashtag2"]},{"1326951915":["hashtag1","hashtag2"]},{"1326951917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951921, 1326951915, 1326951917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.61711883544922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:07:02.622453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:07:22.014082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0003.jpg', '/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0000.jpg', '/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/06/image_06012025_09_06_02_196272_0003.jpg
/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0000.jpg
/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951943","1326951946","1326951948"],"photo_ids_order":["1326951943","1326951946","1326951948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62ff16ed3897fa28bae648ebff14a190.jpg","text":"TemporaryFile(/tmp/multipartBody6351797804397803140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150909734,"filename":"image_06012025_09_06_02_196272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3070e6dfa68db6a5024ebb47dd90d308.jpg","text":"TemporaryFile(/tmp/multipartBody5487827782341958453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150909734,"filename":"image_06012025_09_07_02_901675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a358594c25e094973e163f07059a396.jpg","text":"TemporaryFile(/tmp/multipartBody5849489876722464682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150909734,"filename":"image_06012025_09_07_02_901675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951948","file1":"1326951946","file0":"1326951943"},"map_files_photo_id_array":[{"photo_id":"1326951948","filename":"file2"},{"photo_id":"1326951946","filename":"file1"},{"photo_id":"1326951943","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951943":["hashtag1","hashtag2"]},{"1326951946":["hashtag1","hashtag2"]},{"1326951948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951943, 1326951946, 1326951948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.87103581428528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:08:03.067529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:08:22.605548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0003.jpg', '/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0001.jpg', '/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/07/image_06012025_09_07_02_901675_0003.jpg
/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0001.jpg
/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326951999","1326951995","1326951992"],"photo_ids_order":["1326951992","1326951995","1326951999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/619f0eb467ef631b7d19fa2d87ec55a9.jpg","text":"TemporaryFile(/tmp/multipartBody7992281394518094297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150970349,"filename":"image_06012025_09_08_02_393936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3100e0fdd888c3d4d70c9a8ba7aab47a.jpg","text":"TemporaryFile(/tmp/multipartBody2949405300773010252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150970349,"filename":"image_06012025_09_08_02_393936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/383cb8b04c6e97d696b05c5ff945aaca.jpg","text":"TemporaryFile(/tmp/multipartBody7753055576467908549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736150970349,"filename":"image_06012025_09_07_02_901675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326951999","file1":"1326951995","file0":"1326951992"},"map_files_photo_id_array":[{"photo_id":"1326951999","filename":"file2"},{"photo_id":"1326951995","filename":"file1"},{"photo_id":"1326951992","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326951999":["hashtag1","hashtag2"]},{"1326951995":["hashtag1","hashtag2"]},{"1326951992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326951999, 1326951995, 1326951992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.365517139434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:09:02.782168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:09:22.154648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0003.jpg', '/home/pi/Desktop/images/06012025/09/09/image_06012025_09_09_02_980690_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/08/image_06012025_09_08_02_393936_0003.jpg
/home/pi/Desktop/images/06012025/09/09/image_06012025_09_09_02_980690_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952012","1326952008"],"photo_ids_order":["1326952008","1326952012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3e97cc1e7ab6152dc84498dc2eb656d.jpg","text":"TemporaryFile(/tmp/multipartBody699812118995755785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151027527,"filename":"image_06012025_09_09_02_980690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dfa5d0f6583b4021c15b5e4211bb65e.jpg","text":"TemporaryFile(/tmp/multipartBody445368306668250453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151027527,"filename":"image_06012025_09_08_02_393936_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326952012","file0":"1326952008"},"map_files_photo_id_array":[{"photo_id":"1326952012","filename":"file1"},{"photo_id":"1326952008","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952012":["hashtag1","hashtag2"]},{"1326952008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952012, 1326952008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.330549716949463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:10:02.329159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:10:21.960862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/09/image_06012025_09_09_02_980690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/09/image_06012025_09_09_02_980690_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952045"],"photo_id":"1326952045","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c62e4cc7745454b62684e08ea45104c9.jpg","text":"TemporaryFile(/tmp/multipartBody8178709092190442510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151084976,"filename":"image_06012025_09_09_02_980690_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326952045"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326952045"}],"hashtags":[],"portfolio_id":"19426211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.09963870048523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:11:03.026483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:11:22.481380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/10/image_06012025_09_10_02_510372_0002.jpg', '/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0000.jpg', '/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/10/image_06012025_09_10_02_510372_0002.jpg
/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0000.jpg
/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952092","1326952101","1326952097"],"photo_ids_order":["1326952092","1326952097","1326952101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df75e0aa2602a8b48f0a07d0ba4f8d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7293043035567149975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151150174,"filename":"image_06012025_09_10_02_510372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1f1f51bd087a329bf08db51d7bafd46.jpg","text":"TemporaryFile(/tmp/multipartBody5073056752456335266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151150174,"filename":"image_06012025_09_11_02_309814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac09dddc2b3efb0b7f8303b16bba90a6.jpg","text":"TemporaryFile(/tmp/multipartBody6098698652107370571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151150174,"filename":"image_06012025_09_11_02_309814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952101","file1":"1326952097","file0":"1326952092"},"map_files_photo_id_array":[{"photo_id":"1326952101","filename":"file2"},{"photo_id":"1326952097","filename":"file1"},{"photo_id":"1326952092","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952092":["hashtag1","hashtag2"]},{"1326952101":["hashtag1","hashtag2"]},{"1326952097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952092, 1326952101, 1326952097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.90952205657959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:12:02.600820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:12:22.148382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0003.jpg', '/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0000.jpg', '/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0001.jpg', '/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/11/image_06012025_09_11_02_309814_0003.jpg
/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0000.jpg
/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0001.jpg
/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952132","1326952148","1326952121","1326952156"],"photo_ids_order":["1326952121","1326952132","1326952148","1326952156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6241f921eaee73467c1dddc8421f60e1.jpg","text":"TemporaryFile(/tmp/multipartBody5362133292693775237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151212190,"filename":"image_06012025_09_12_02_873522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a15bb6b0fa7e413409e4f3dc30b71734.jpg","text":"TemporaryFile(/tmp/multipartBody738443821779144146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151212190,"filename":"image_06012025_09_12_02_873522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/408491a7289da79fd4965ed03df5479d.jpg","text":"TemporaryFile(/tmp/multipartBody8495577506925676027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151212190,"filename":"image_06012025_09_11_02_309814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa77201971a45717a97aee315076089e.jpg","text":"TemporaryFile(/tmp/multipartBody2811621485100754387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151212190,"filename":"image_06012025_09_12_02_873522_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952148","file1":"1326952132","file0":"1326952121","file3":"1326952156"},"map_files_photo_id_array":[{"photo_id":"1326952148","filename":"file2"},{"photo_id":"1326952132","filename":"file1"},{"photo_id":"1326952121","filename":"file0"},{"photo_id":"1326952156","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952132":["hashtag1","hashtag2"]},{"1326952148":["hashtag1","hashtag2"]},{"1326952121":["hashtag1","hashtag2"]},{"1326952156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952132, 1326952148, 1326952121, 1326952156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39634466171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:13:22.677243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0003.jpg', '/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0000.jpg', '/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0001.jpg', '/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/12/image_06012025_09_12_02_873522_0003.jpg
/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0000.jpg
/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0001.jpg
/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952179","1326952175","1326952172","1326952177"],"photo_ids_order":["1326952172","1326952175","1326952177","1326952179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c07854bfb362f1298d17a63598207e84.jpg","text":"TemporaryFile(/tmp/multipartBody7123423422816741644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151272981,"filename":"image_06012025_09_13_02_505155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54a56866207b5061e5d91c8ddbc13f92.jpg","text":"TemporaryFile(/tmp/multipartBody8917964714084223995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151272981,"filename":"image_06012025_09_13_02_505155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b466922683f0ff80efb02bd325aa14a6.jpg","text":"TemporaryFile(/tmp/multipartBody5164493117908319531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151272981,"filename":"image_06012025_09_12_02_873522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15ab7b1e2392986785ccd3cc10dcc5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8305958588198929038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151272981,"filename":"image_06012025_09_13_02_505155_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952177","file1":"1326952175","file0":"1326952172","file3":"1326952179"},"map_files_photo_id_array":[{"photo_id":"1326952177","filename":"file2"},{"photo_id":"1326952175","filename":"file1"},{"photo_id":"1326952172","filename":"file0"},{"photo_id":"1326952179","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952179":["hashtag1","hashtag2"]},{"1326952175":["hashtag1","hashtag2"]},{"1326952172":["hashtag1","hashtag2"]},{"1326952177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952179, 1326952175, 1326952172, 1326952177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53600358963013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:14:02.609584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:14:22.161766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0003.jpg', '/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0000.jpg', '/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0001.jpg', '/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/13/image_06012025_09_13_02_505155_0003.jpg
/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0000.jpg
/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0001.jpg
/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952236","1326952238","1326952232","1326952234"],"photo_ids_order":["1326952232","1326952234","1326952236","1326952238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1ee1253d1602dd31aa000f932b69cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8525842413143765457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151332540,"filename":"image_06012025_09_14_03_022710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcb783714e27c3d73372a268cc48a82d.jpg","text":"TemporaryFile(/tmp/multipartBody2894713873693591730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151332540,"filename":"image_06012025_09_14_03_022710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c341b8558ca34c34fc46490d21031831.jpg","text":"TemporaryFile(/tmp/multipartBody4159049452519197900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151332540,"filename":"image_06012025_09_13_02_505155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/acdaf4a511e9e84944b8e8dcd3fa4c5e.jpg","text":"TemporaryFile(/tmp/multipartBody4980469817397801019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151332540,"filename":"image_06012025_09_14_03_022710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952236","file1":"1326952234","file0":"1326952232","file3":"1326952238"},"map_files_photo_id_array":[{"photo_id":"1326952236","filename":"file2"},{"photo_id":"1326952234","filename":"file1"},{"photo_id":"1326952232","filename":"file0"},{"photo_id":"1326952238","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952236":["hashtag1","hashtag2"]},{"1326952238":["hashtag1","hashtag2"]},{"1326952232":["hashtag1","hashtag2"]},{"1326952234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952236, 1326952238, 1326952232, 1326952234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32815408706665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:15:22.601860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0003.jpg', '/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0000.jpg', '/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/14/image_06012025_09_14_03_022710_0003.jpg
/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0000.jpg
/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952405","1326952388","1326952277"],"photo_ids_order":["1326952277","1326952388","1326952405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b81a54dcee3c8b9060e4174a96541d7.jpg","text":"TemporaryFile(/tmp/multipartBody8184743332314707810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151390553,"filename":"image_06012025_09_15_02_491642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c6d802d90e83bab9f3e7900421660c0.jpg","text":"TemporaryFile(/tmp/multipartBody3596303473443773268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151390553,"filename":"image_06012025_09_15_02_491642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/604e9738844f74e133ee808ef8da36da.jpg","text":"TemporaryFile(/tmp/multipartBody2055162884340677440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151390553,"filename":"image_06012025_09_14_03_022710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952405","file1":"1326952388","file0":"1326952277"},"map_files_photo_id_array":[{"photo_id":"1326952405","filename":"file2"},{"photo_id":"1326952388","filename":"file1"},{"photo_id":"1326952277","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952405":["hashtag1","hashtag2"]},{"1326952388":["hashtag1","hashtag2"]},{"1326952277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952405, 1326952388, 1326952277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.114194631576538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:16:02.701679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:16:22.278259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0003.jpg', '/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0000.jpg', '/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/15/image_06012025_09_15_02_491642_0003.jpg
/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0000.jpg
/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952431","1326952427","1326952447"],"photo_ids_order":["1326952427","1326952431","1326952447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/840bebacb450979a8de71772bc0f5e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3672340455542901579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151450240,"filename":"image_06012025_09_16_03_079199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9eccf5b48e979f32794437a4dd3279ec.jpg","text":"TemporaryFile(/tmp/multipartBody5620985570700954609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151450240,"filename":"image_06012025_09_15_02_491642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20df2c7fde4ac234d87d52b69f02c1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3770605981802364875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151450240,"filename":"image_06012025_09_16_03_079199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952447","file1":"1326952431","file0":"1326952427"},"map_files_photo_id_array":[{"photo_id":"1326952447","filename":"file2"},{"photo_id":"1326952431","filename":"file1"},{"photo_id":"1326952427","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952431":["hashtag1","hashtag2"]},{"1326952427":["hashtag1","hashtag2"]},{"1326952447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952431, 1326952427, 1326952447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.320049047470093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:17:02.365767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:17:21.707598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0003.jpg', '/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0000.jpg', '/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0001.jpg', '/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/16/image_06012025_09_16_03_079199_0003.jpg
/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0000.jpg
/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0001.jpg
/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952590","1326952587","1326952644","1326952632"],"photo_ids_order":["1326952587","1326952590","1326952632","1326952644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44f5086bf3ff0b87631ad7ce291f23a9.jpg","text":"TemporaryFile(/tmp/multipartBody8625718759440823674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151512078,"filename":"image_06012025_09_17_02_594337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6fa39873bc78eaaeaa537dacb3c03b3.jpg","text":"TemporaryFile(/tmp/multipartBody3094966236745839764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151512078,"filename":"image_06012025_09_16_03_079199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6766e441695e2341b6f1a33931b70f93.jpg","text":"TemporaryFile(/tmp/multipartBody6086178712223872498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151512078,"filename":"image_06012025_09_17_02_594337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09a5e1c5c3ea90c04291c127c2652c72.jpg","text":"TemporaryFile(/tmp/multipartBody6096412328987943035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151512078,"filename":"image_06012025_09_17_02_594337_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952632","file1":"1326952590","file0":"1326952587","file3":"1326952644"},"map_files_photo_id_array":[{"photo_id":"1326952632","filename":"file2"},{"photo_id":"1326952590","filename":"file1"},{"photo_id":"1326952587","filename":"file0"},{"photo_id":"1326952644","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952590":["hashtag1","hashtag2"]},{"1326952587":["hashtag1","hashtag2"]},{"1326952644":["hashtag1","hashtag2"]},{"1326952632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952590, 1326952587, 1326952644, 1326952632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80450892448425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:18:02.808570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:18:22.381378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0003.jpg', '/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0000.jpg', '/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0001.jpg', '/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/17/image_06012025_09_17_02_594337_0003.jpg
/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0000.jpg
/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0001.jpg
/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952662","1326952718","1326952669","1326952666"],"photo_ids_order":["1326952662","1326952666","1326952669","1326952718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b01c9ed21b64cd71433ee5354c39a055.jpg","text":"TemporaryFile(/tmp/multipartBody6397023369918221922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151572770,"filename":"image_06012025_09_17_02_594337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce9dc8198fc722a1537d163748ca6eca.jpg","text":"TemporaryFile(/tmp/multipartBody6426678702956321389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151572770,"filename":"image_06012025_09_18_02_161608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f07e5de3a374e3c8b3fda6a87cb3d91d.jpg","text":"TemporaryFile(/tmp/multipartBody6221017644788329685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151572770,"filename":"image_06012025_09_18_02_161608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/288350bfd22fc8834ecfece967cb2ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4565091327327236649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151572770,"filename":"image_06012025_09_18_02_161608_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952669","file1":"1326952666","file0":"1326952662","file3":"1326952718"},"map_files_photo_id_array":[{"photo_id":"1326952669","filename":"file2"},{"photo_id":"1326952666","filename":"file1"},{"photo_id":"1326952662","filename":"file0"},{"photo_id":"1326952718","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952662":["hashtag1","hashtag2"]},{"1326952718":["hashtag1","hashtag2"]},{"1326952669":["hashtag1","hashtag2"]},{"1326952666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952662, 1326952718, 1326952669, 1326952666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.52870202064514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:19:02.217835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:19:21.794057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0003.jpg', '/home/pi/Desktop/images/06012025/09/19/image_06012025_09_19_02_686627_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/18/image_06012025_09_18_02_161608_0003.jpg
/home/pi/Desktop/images/06012025/09/19/image_06012025_09_19_02_686627_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952729","1326952727"],"photo_ids_order":["1326952727","1326952729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4db1fa423806973c778a6bb9fe82f89f.jpg","text":"TemporaryFile(/tmp/multipartBody7511261930687777795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151627316,"filename":"image_06012025_09_19_02_686627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bd477fed387d807117bef48993a1a66.jpg","text":"TemporaryFile(/tmp/multipartBody5758926892145437043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151627316,"filename":"image_06012025_09_18_02_161608_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326952729","file0":"1326952727"},"map_files_photo_id_array":[{"photo_id":"1326952729","filename":"file1"},{"photo_id":"1326952727","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952729":["hashtag1","hashtag2"]},{"1326952727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952729, 1326952727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.744473934173584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:20:02.993029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:20:22.613798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/19/image_06012025_09_19_02_686627_0003.jpg', '/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0000.jpg', '/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/19/image_06012025_09_19_02_686627_0003.jpg
/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0000.jpg
/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952785","1326952780","1326952777"],"photo_ids_order":["1326952777","1326952780","1326952785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b4e5e495908ea52941f7fac7cc6c706.jpg","text":"TemporaryFile(/tmp/multipartBody4202005737183024254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151690565,"filename":"image_06012025_09_20_02_197857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4efd1e371d505e806b2d0fdd08f953b.jpg","text":"TemporaryFile(/tmp/multipartBody1650064219610884239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151690565,"filename":"image_06012025_09_20_02_197857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e81ab568032a59c07e5b515c8b4aa0b1.jpg","text":"TemporaryFile(/tmp/multipartBody8603503330515872785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151690565,"filename":"image_06012025_09_19_02_686627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952785","file1":"1326952780","file0":"1326952777"},"map_files_photo_id_array":[{"photo_id":"1326952785","filename":"file2"},{"photo_id":"1326952780","filename":"file1"},{"photo_id":"1326952777","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952785":["hashtag1","hashtag2"]},{"1326952780":["hashtag1","hashtag2"]},{"1326952777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952785, 1326952780, 1326952777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.09890580177307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:21:02.736089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:21:22.119641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0003.jpg', '/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0000.jpg', '/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0001.jpg', '/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/20/image_06012025_09_20_02_197857_0003.jpg
/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0000.jpg
/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0001.jpg
/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952899","1326952892","1326952901","1326952897"],"photo_ids_order":["1326952892","1326952897","1326952899","1326952901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc212c1e2d7b8aa1289a187e4e47f2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6928730249241597771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151752490,"filename":"image_06012025_09_21_02_955731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11f80fc56e99658a89b3819f15ceb60c.jpg","text":"TemporaryFile(/tmp/multipartBody651090916341472556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151752490,"filename":"image_06012025_09_20_02_197857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3010060fc72656c7cd1ee0c725a49f52.jpg","text":"TemporaryFile(/tmp/multipartBody4752792955767428596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151752490,"filename":"image_06012025_09_21_02_955731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eabdfa1e3054494bcd12e390c483c0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7865523592067837486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151752490,"filename":"image_06012025_09_21_02_955731_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952899","file1":"1326952897","file0":"1326952892","file3":"1326952901"},"map_files_photo_id_array":[{"photo_id":"1326952899","filename":"file2"},{"photo_id":"1326952897","filename":"file1"},{"photo_id":"1326952892","filename":"file0"},{"photo_id":"1326952901","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952899":["hashtag1","hashtag2"]},{"1326952892":["hashtag1","hashtag2"]},{"1326952901":["hashtag1","hashtag2"]},{"1326952897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952899, 1326952892, 1326952901, 1326952897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77298355102539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:22:21.803910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0003.jpg', '/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0001.jpg', '/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/21/image_06012025_09_21_02_955731_0003.jpg
/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0001.jpg
/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326952924","1326952937","1326952981"],"photo_ids_order":["1326952924","1326952937","1326952981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0024a7e3cf565bf1cb14a751f53dc92d.jpg","text":"TemporaryFile(/tmp/multipartBody3341997616427610327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151809749,"filename":"image_06012025_09_21_02_955731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0d5b46defead60663c0e808fc74dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6121152229813898916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151809749,"filename":"image_06012025_09_22_02_547329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3bbbe62849a232eda8b8c8aea6ba8b2.jpg","text":"TemporaryFile(/tmp/multipartBody5021891450318320755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151809749,"filename":"image_06012025_09_22_02_547329_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326952981","file1":"1326952937","file0":"1326952924"},"map_files_photo_id_array":[{"photo_id":"1326952981","filename":"file2"},{"photo_id":"1326952937","filename":"file1"},{"photo_id":"1326952924","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326952924":["hashtag1","hashtag2"]},{"1326952937":["hashtag1","hashtag2"]},{"1326952981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326952924, 1326952937, 1326952981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.9592547416687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:23:02.996701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:23:22.313839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0003.jpg', '/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0000.jpg', '/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/22/image_06012025_09_22_02_547329_0003.jpg
/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0000.jpg
/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953099","1326953093","1326953096"],"photo_ids_order":["1326953093","1326953096","1326953099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d19a4b44ac3e4ed4e0a474fad9458f19.jpg","text":"TemporaryFile(/tmp/multipartBody8703073427591438405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151870250,"filename":"image_06012025_09_23_02_122288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17c993eacf73bbdf7c8f6332dca6b13e.jpg","text":"TemporaryFile(/tmp/multipartBody8071263952549166828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151870250,"filename":"image_06012025_09_22_02_547329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25714b4792185f8aed760381c1276bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3584312187028467614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151870250,"filename":"image_06012025_09_23_02_122288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953099","file1":"1326953096","file0":"1326953093"},"map_files_photo_id_array":[{"photo_id":"1326953099","filename":"file2"},{"photo_id":"1326953096","filename":"file1"},{"photo_id":"1326953093","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953099":["hashtag1","hashtag2"]},{"1326953093":["hashtag1","hashtag2"]},{"1326953096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953099, 1326953093, 1326953096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.929222106933594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:24:02.394884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:24:21.903813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0003.jpg', '/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0001.jpg', '/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/23/image_06012025_09_23_02_122288_0003.jpg
/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0001.jpg
/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953123","1326953120","1326953116"],"photo_ids_order":["1326953116","1326953120","1326953123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f597fcf14ed19957505479819094b32b.jpg","text":"TemporaryFile(/tmp/multipartBody3643075146671219853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151929872,"filename":"image_06012025_09_24_02_636123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78b2c30597c55466c28848b7e03ab510.jpg","text":"TemporaryFile(/tmp/multipartBody6707150206393084839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151929872,"filename":"image_06012025_09_24_02_636123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5df8fd0ce4cfd502645e9eaa9f5bd8cd.jpg","text":"TemporaryFile(/tmp/multipartBody5599184582162122145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151929872,"filename":"image_06012025_09_23_02_122288_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953123","file1":"1326953120","file0":"1326953116"},"map_files_photo_id_array":[{"photo_id":"1326953123","filename":"file2"},{"photo_id":"1326953120","filename":"file1"},{"photo_id":"1326953116","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953123":["hashtag1","hashtag2"]},{"1326953120":["hashtag1","hashtag2"]},{"1326953116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953123, 1326953120, 1326953116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.36439609527588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:25:02.947854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:25:22.442570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0003.jpg', '/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0000.jpg', '/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0001.jpg', '/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/24/image_06012025_09_24_02_636123_0003.jpg
/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0000.jpg
/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0001.jpg
/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953158","1326953152","1326953155","1326953193"],"photo_ids_order":["1326953152","1326953155","1326953158","1326953193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53b909495846df05a864c9cbc9d06994.jpg","text":"TemporaryFile(/tmp/multipartBody4580483279606526771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151992699,"filename":"image_06012025_09_25_02_255699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75c982fe0c29d1dec0703a38094c113c.jpg","text":"TemporaryFile(/tmp/multipartBody2404274860432516607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151992699,"filename":"image_06012025_09_24_02_636123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8c44deb823bd81a821a7b80f72030b2.jpg","text":"TemporaryFile(/tmp/multipartBody3521193845638641121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151992699,"filename":"image_06012025_09_25_02_255699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c326d9d7a48d4ca7a336ffe2ff4d9665.jpg","text":"TemporaryFile(/tmp/multipartBody5748519155824151096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736151992699,"filename":"image_06012025_09_25_02_255699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953158","file1":"1326953155","file0":"1326953152","file3":"1326953193"},"map_files_photo_id_array":[{"photo_id":"1326953158","filename":"file2"},{"photo_id":"1326953155","filename":"file1"},{"photo_id":"1326953152","filename":"file0"},{"photo_id":"1326953193","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953158":["hashtag1","hashtag2"]},{"1326953152":["hashtag1","hashtag2"]},{"1326953155":["hashtag1","hashtag2"]},{"1326953193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953158, 1326953152, 1326953155, 1326953193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.243759632110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:26:22.005503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0003.jpg', '/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0000.jpg', '/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0001.jpg', '/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/25/image_06012025_09_25_02_255699_0003.jpg
/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0000.jpg
/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0001.jpg
/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953396","1326953390","1326953393","1326953377"],"photo_ids_order":["1326953377","1326953390","1326953393","1326953396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/136fd442f3cffef2ecc7c99752222c64.jpg","text":"TemporaryFile(/tmp/multipartBody1337076326794840209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152052039,"filename":"image_06012025_09_26_02_756613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7dcc76ad8454b4fab60498a48861ec75.jpg","text":"TemporaryFile(/tmp/multipartBody35641744733276536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152052039,"filename":"image_06012025_09_26_02_756613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9125777a84cd80d0fb48c6d6fae3a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody6359645552346864510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152052039,"filename":"image_06012025_09_26_02_756613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01671fa36573f243f00f3b5e304d198b.jpg","text":"TemporaryFile(/tmp/multipartBody7140876300907598555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152052039,"filename":"image_06012025_09_25_02_255699_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953393","file1":"1326953390","file0":"1326953377","file3":"1326953396"},"map_files_photo_id_array":[{"photo_id":"1326953393","filename":"file2"},{"photo_id":"1326953390","filename":"file1"},{"photo_id":"1326953377","filename":"file0"},{"photo_id":"1326953396","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953396":["hashtag1","hashtag2"]},{"1326953390":["hashtag1","hashtag2"]},{"1326953393":["hashtag1","hashtag2"]},{"1326953377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953396, 1326953390, 1326953393, 1326953377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09055209159851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:27:03.058799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:27:22.625024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0003.jpg', '/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0001.jpg', '/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/26/image_06012025_09_26_02_756613_0003.jpg
/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0001.jpg
/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953466","1326953454","1326953464"],"photo_ids_order":["1326953454","1326953464","1326953466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ba1c4fe0168d2b67a55cd95745f41c2.jpg","text":"TemporaryFile(/tmp/multipartBody5048001908314533671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152110074,"filename":"image_06012025_09_27_02_417942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f7974b8a4d2101cf723d3390e74de7f.jpg","text":"TemporaryFile(/tmp/multipartBody6176816511167171772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152110074,"filename":"image_06012025_09_26_02_756613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/927ee6228c73774e542bb5b993baa6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6611350038216115753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152110074,"filename":"image_06012025_09_27_02_417942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953466","file1":"1326953464","file0":"1326953454"},"map_files_photo_id_array":[{"photo_id":"1326953466","filename":"file2"},{"photo_id":"1326953464","filename":"file1"},{"photo_id":"1326953454","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953466":["hashtag1","hashtag2"]},{"1326953454":["hashtag1","hashtag2"]},{"1326953464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953466, 1326953454, 1326953464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.412580728530884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:28:02.670703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:28:22.305423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0003.jpg', '/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0000.jpg', '/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/27/image_06012025_09_27_02_417942_0003.jpg
/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0000.jpg
/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953525","1326953527","1326953521"],"photo_ids_order":["1326953521","1326953525","1326953527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e4601c33c77fcd9fe03ceb88a9affd9.jpg","text":"TemporaryFile(/tmp/multipartBody4053829373523731792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152169897,"filename":"image_06012025_09_28_02_916589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b54bffc44995a520ae617f4cf808cf8f.jpg","text":"TemporaryFile(/tmp/multipartBody5674514865154954594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152169897,"filename":"image_06012025_09_28_02_916589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/528e7cc62e61b65ccf4848aa93f92753.jpg","text":"TemporaryFile(/tmp/multipartBody5677217272308948321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152169897,"filename":"image_06012025_09_27_02_417942_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953527","file1":"1326953525","file0":"1326953521"},"map_files_photo_id_array":[{"photo_id":"1326953527","filename":"file2"},{"photo_id":"1326953525","filename":"file1"},{"photo_id":"1326953521","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953525":["hashtag1","hashtag2"]},{"1326953527":["hashtag1","hashtag2"]},{"1326953521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953525, 1326953527, 1326953521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.61802935600281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:29:02.524911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 09:29:21.819796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0003.jpg', '/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0000.jpg', '/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0003.jpg
/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0000.jpg
/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_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.081179857254028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:30:02.959445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0003.jpg', '/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0000.jpg', '/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/28/image_06012025_09_28_02_916589_0003.jpg
/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0000.jpg
/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953730","1326953727","1326953724"],"photo_ids_order":["1326953724","1326953727","1326953730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12d057769dd1aa9407fe007c29e6a90b.jpg","text":"TemporaryFile(/tmp/multipartBody4534111104713933332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152270467,"filename":"image_06012025_09_29_02_640867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20b14db2b967421231c91da51330e207.jpg","text":"TemporaryFile(/tmp/multipartBody5015024355136036837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152270467,"filename":"image_06012025_09_29_02_640867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25b22f3854e27de20fb3d18b3f65b104.jpg","text":"TemporaryFile(/tmp/multipartBody951613999914773177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152270467,"filename":"image_06012025_09_28_02_916589_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953730","file1":"1326953727","file0":"1326953724"},"map_files_photo_id_array":[{"photo_id":"1326953730","filename":"file2"},{"photo_id":"1326953727","filename":"file1"},{"photo_id":"1326953724","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953730":["hashtag1","hashtag2"]},{"1326953727":["hashtag1","hashtag2"]},{"1326953724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953730, 1326953727, 1326953724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.932220220565796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:31:02.720708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0002.jpg', '/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0000.jpg', '/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0001.jpg', '/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/29/image_06012025_09_29_02_640867_0002.jpg
/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0000.jpg
/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0001.jpg
/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953850","1326953858","1326953854","1326953848"],"photo_ids_order":["1326953848","1326953850","1326953854","1326953858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b874b34bf6952195c90b57e4bfce420.jpg","text":"TemporaryFile(/tmp/multipartBody6102365851564155978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152332565,"filename":"image_06012025_09_30_02_185858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d2225569afa7b341307258816e7003d.jpg","text":"TemporaryFile(/tmp/multipartBody3167279705796356221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152332565,"filename":"image_06012025_09_30_02_185858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c742a1d6b7ef47eaf37a71ccac57c610.jpg","text":"TemporaryFile(/tmp/multipartBody3424569742389710429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152332565,"filename":"image_06012025_09_30_02_185858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9536c947a0bcebaeadfe0135033de531.jpg","text":"TemporaryFile(/tmp/multipartBody8970783192562990153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152332565,"filename":"image_06012025_09_29_02_640867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953854","file1":"1326953850","file0":"1326953848","file3":"1326953858"},"map_files_photo_id_array":[{"photo_id":"1326953854","filename":"file2"},{"photo_id":"1326953850","filename":"file1"},{"photo_id":"1326953848","filename":"file0"},{"photo_id":"1326953858","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953850":["hashtag1","hashtag2"]},{"1326953858":["hashtag1","hashtag2"]},{"1326953854":["hashtag1","hashtag2"]},{"1326953848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953850, 1326953858, 1326953854, 1326953848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.636576414108276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:32:02.061107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0003.jpg', '/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0000.jpg', '/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/30/image_06012025_09_30_02_185858_0003.jpg
/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0000.jpg
/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326953913","1326953909","1326953911"],"photo_ids_order":["1326953909","1326953911","1326953913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa8640c2a2219f4637e53bcb2227a5df.jpg","text":"TemporaryFile(/tmp/multipartBody1698659025334244219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152389601,"filename":"image_06012025_09_31_02_857494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4ade592841bc416bbeb52189d3988d8.jpg","text":"TemporaryFile(/tmp/multipartBody2785394596343653402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152389601,"filename":"image_06012025_09_30_02_185858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22fea0f7ef74ba5f9affb7e6e22f2dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5422000760434720104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152389601,"filename":"image_06012025_09_31_02_857494_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326953913","file1":"1326953911","file0":"1326953909"},"map_files_photo_id_array":[{"photo_id":"1326953913","filename":"file2"},{"photo_id":"1326953911","filename":"file1"},{"photo_id":"1326953909","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326953913":["hashtag1","hashtag2"]},{"1326953909":["hashtag1","hashtag2"]},{"1326953911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326953913, 1326953909, 1326953911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.008361339569092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:33:02.899038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0002.jpg', '/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0001.jpg', '/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/31/image_06012025_09_31_02_857494_0002.jpg
/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0001.jpg
/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954045","1326953982","1326953925"],"photo_ids_order":["1326953925","1326953982","1326954045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a981bf88d958082c71e4a332f8fa2c3d.jpg","text":"TemporaryFile(/tmp/multipartBody5270231602203381567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152450531,"filename":"image_06012025_09_32_02_471015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03b68d979a9b09a30688368422a08f37.jpg","text":"TemporaryFile(/tmp/multipartBody7520148868070083029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152450531,"filename":"image_06012025_09_32_02_471015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fc6799404e55ee8bcc3732149c09be9.jpg","text":"TemporaryFile(/tmp/multipartBody7392589092290826812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152450531,"filename":"image_06012025_09_31_02_857494_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954045","file1":"1326953982","file0":"1326953925"},"map_files_photo_id_array":[{"photo_id":"1326954045","filename":"file2"},{"photo_id":"1326953982","filename":"file1"},{"photo_id":"1326953925","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954045":["hashtag1","hashtag2"]},{"1326953982":["hashtag1","hashtag2"]},{"1326953925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954045, 1326953982, 1326953925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.115416049957275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:34:02.363093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0003.jpg', '/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0000.jpg', '/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0001.jpg', '/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/32/image_06012025_09_32_02_471015_0003.jpg
/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0000.jpg
/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0001.jpg
/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954077","1326954073","1326954067","1326954069"],"photo_ids_order":["1326954067","1326954069","1326954073","1326954077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a06aa32e43a103a71ea17f26d356b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody8516791557232710569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152512524,"filename":"image_06012025_09_33_02_145354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42c96ba4d7e543b6b96cb2f9a0774ff8.jpg","text":"TemporaryFile(/tmp/multipartBody704765573990868547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152512524,"filename":"image_06012025_09_33_02_145354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25abdc41fda7c093857de3da7c938b15.jpg","text":"TemporaryFile(/tmp/multipartBody5471728611765128785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152512524,"filename":"image_06012025_09_32_02_471015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/000af8c08d4924ca5e4cd6727c563536.jpg","text":"TemporaryFile(/tmp/multipartBody1080172780289525153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152512524,"filename":"image_06012025_09_33_02_145354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954073","file1":"1326954069","file0":"1326954067","file3":"1326954077"},"map_files_photo_id_array":[{"photo_id":"1326954073","filename":"file2"},{"photo_id":"1326954069","filename":"file1"},{"photo_id":"1326954067","filename":"file0"},{"photo_id":"1326954077","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954077":["hashtag1","hashtag2"]},{"1326954073":["hashtag1","hashtag2"]},{"1326954067":["hashtag1","hashtag2"]},{"1326954069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954077, 1326954073, 1326954067, 1326954069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.692585945129395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:35:03.083277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0003.jpg', '/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0000.jpg', '/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0001.jpg', '/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/33/image_06012025_09_33_02_145354_0003.jpg
/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0000.jpg
/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0001.jpg
/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954132","1326954128","1326954122","1326954124"],"photo_ids_order":["1326954122","1326954124","1326954128","1326954132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd1870ae1ad398427165b07f5411138f.jpg","text":"TemporaryFile(/tmp/multipartBody2389627701317371025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152573275,"filename":"image_06012025_09_34_02_666259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ef0b8fc0c61ba6e87e1c5afebf818f5.jpg","text":"TemporaryFile(/tmp/multipartBody2345746785623265169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152573275,"filename":"image_06012025_09_34_02_666259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e1657e784c39bfdfd7d150e47ba006e.jpg","text":"TemporaryFile(/tmp/multipartBody7288764726941277620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152573275,"filename":"image_06012025_09_33_02_145354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67a0a58782e63de90e9f88268d179827.jpg","text":"TemporaryFile(/tmp/multipartBody8182667151057423159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152573275,"filename":"image_06012025_09_34_02_666259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954128","file1":"1326954124","file0":"1326954122","file3":"1326954132"},"map_files_photo_id_array":[{"photo_id":"1326954128","filename":"file2"},{"photo_id":"1326954124","filename":"file1"},{"photo_id":"1326954122","filename":"file0"},{"photo_id":"1326954132","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954132":["hashtag1","hashtag2"]},{"1326954128":["hashtag1","hashtag2"]},{"1326954122":["hashtag1","hashtag2"]},{"1326954124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954132, 1326954128, 1326954122, 1326954124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19425845146179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:36:02.574192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0003.jpg', '/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0000.jpg', '/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0001.jpg', '/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/34/image_06012025_09_34_02_666259_0003.jpg
/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0000.jpg
/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0001.jpg
/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954159","1326954164","1326954149","1326954154"],"photo_ids_order":["1326954149","1326954154","1326954159","1326954164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/572237c4ca325a9b39f9eaf71d9b145f.jpg","text":"TemporaryFile(/tmp/multipartBody1442893370156372863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152632740,"filename":"image_06012025_09_35_02_296794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65885fc3ece65d98c12dd16f17566571.jpg","text":"TemporaryFile(/tmp/multipartBody6733322329695569009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152632740,"filename":"image_06012025_09_35_02_296794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8c012349ca3671b7fa0e7fcced4bf201.jpg","text":"TemporaryFile(/tmp/multipartBody6699775422096496963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152632740,"filename":"image_06012025_09_34_02_666259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0bb148fb5bfa8fcf93577f30adb8267.jpg","text":"TemporaryFile(/tmp/multipartBody8265463993391128043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152632740,"filename":"image_06012025_09_35_02_296794_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954159","file1":"1326954154","file0":"1326954149","file3":"1326954164"},"map_files_photo_id_array":[{"photo_id":"1326954159","filename":"file2"},{"photo_id":"1326954154","filename":"file1"},{"photo_id":"1326954149","filename":"file0"},{"photo_id":"1326954164","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954159":["hashtag1","hashtag2"]},{"1326954164":["hashtag1","hashtag2"]},{"1326954149":["hashtag1","hashtag2"]},{"1326954154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954159, 1326954164, 1326954149, 1326954154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.994834661483765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:37:03.243134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0003.jpg', '/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0000.jpg', '/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0001.jpg', '/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/35/image_06012025_09_35_02_296794_0003.jpg
/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0000.jpg
/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0001.jpg
/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954318","1326954303","1326954323","1326954310"],"photo_ids_order":["1326954303","1326954310","1326954318","1326954323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/228c939aee8061ab6047c2b64ae41366.jpg","text":"TemporaryFile(/tmp/multipartBody1343428274195798218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152693423,"filename":"image_06012025_09_36_02_839749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/593d52db500f923ef30b3bd02e7c332f.jpg","text":"TemporaryFile(/tmp/multipartBody1423611976924323233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152693423,"filename":"image_06012025_09_35_02_296794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20c52bbee8ff05c960209678ad8c4f10.jpg","text":"TemporaryFile(/tmp/multipartBody1780051291268212085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152693423,"filename":"image_06012025_09_36_02_839749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc86975319a18c292ac1532364ebb72d.jpg","text":"TemporaryFile(/tmp/multipartBody2704443183266881945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152693423,"filename":"image_06012025_09_36_02_839749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954318","file1":"1326954310","file0":"1326954303","file3":"1326954323"},"map_files_photo_id_array":[{"photo_id":"1326954318","filename":"file2"},{"photo_id":"1326954310","filename":"file1"},{"photo_id":"1326954303","filename":"file0"},{"photo_id":"1326954323","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954318":["hashtag1","hashtag2"]},{"1326954303":["hashtag1","hashtag2"]},{"1326954323":["hashtag1","hashtag2"]},{"1326954310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954318, 1326954303, 1326954323, 1326954310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93604636192322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:38:02.666224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0003.jpg', '/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0000.jpg', '/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0001.jpg', '/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/36/image_06012025_09_36_02_839749_0003.jpg
/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0000.jpg
/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0001.jpg
/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954357","1326954355","1326954363","1326954360"],"photo_ids_order":["1326954355","1326954357","1326954360","1326954363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1ed5eb97c9f661c7053c69f7f30bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody9098656732383717135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152752913,"filename":"image_06012025_09_37_02_534880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/093aab2ba0c3518e58b942c8fabf1398.jpg","text":"TemporaryFile(/tmp/multipartBody3437983369081703241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152752913,"filename":"image_06012025_09_36_02_839749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56a1d9e77efd767a471489bd2e489371.jpg","text":"TemporaryFile(/tmp/multipartBody2213213461829838968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152752913,"filename":"image_06012025_09_37_02_534880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a98f64e4c9aaf5e47a1305de2ac920e6.jpg","text":"TemporaryFile(/tmp/multipartBody478423240999029740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152752913,"filename":"image_06012025_09_37_02_534880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954360","file1":"1326954357","file0":"1326954355","file3":"1326954363"},"map_files_photo_id_array":[{"photo_id":"1326954360","filename":"file2"},{"photo_id":"1326954357","filename":"file1"},{"photo_id":"1326954355","filename":"file0"},{"photo_id":"1326954363","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954357":["hashtag1","hashtag2"]},{"1326954355":["hashtag1","hashtag2"]},{"1326954363":["hashtag1","hashtag2"]},{"1326954360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954357, 1326954355, 1326954363, 1326954360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.301586389541626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:39:02.507116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0003.jpg', '/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0000.jpg', '/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0001.jpg', '/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/37/image_06012025_09_37_02_534880_0003.jpg
/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0000.jpg
/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0001.jpg
/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954374","1326954379","1326954448","1326954376"],"photo_ids_order":["1326954374","1326954376","1326954379","1326954448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e30c2e1a68064021400d999c4c500ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1083385903501642110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152812840,"filename":"image_06012025_09_37_02_534880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70ce4c46f1d60b14257366839547447b.jpg","text":"TemporaryFile(/tmp/multipartBody7841887489127013204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152812840,"filename":"image_06012025_09_38_03_033697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1120fa0fed6c48d5cb83b4ad13dde9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1135081902576312428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152812840,"filename":"image_06012025_09_38_03_033697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/464e02b69a6c0c7d27c71b93d78dd6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5516937656244676305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152812840,"filename":"image_06012025_09_38_03_033697_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954379","file1":"1326954376","file0":"1326954374","file3":"1326954448"},"map_files_photo_id_array":[{"photo_id":"1326954379","filename":"file2"},{"photo_id":"1326954376","filename":"file1"},{"photo_id":"1326954374","filename":"file0"},{"photo_id":"1326954448","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954374":["hashtag1","hashtag2"]},{"1326954379":["hashtag1","hashtag2"]},{"1326954448":["hashtag1","hashtag2"]},{"1326954376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954374, 1326954379, 1326954448, 1326954376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40267729759216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:40:02.900072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0003.jpg', '/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0001.jpg', '/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/38/image_06012025_09_38_03_033697_0003.jpg
/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0001.jpg
/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954550","1326954558","1326954552"],"photo_ids_order":["1326954550","1326954552","1326954558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e00b362fd13d017c124114b176d3d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5219541128358377840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152870735,"filename":"image_06012025_09_38_03_033697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d8802f1dfd550aa79f8922d3d16b636.jpg","text":"TemporaryFile(/tmp/multipartBody3908021780828774781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152870735,"filename":"image_06012025_09_39_02_699129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6464675238e2bf79a365363870bae756.jpg","text":"TemporaryFile(/tmp/multipartBody3277208165067089938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152870735,"filename":"image_06012025_09_39_02_699129_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954558","file1":"1326954552","file0":"1326954550"},"map_files_photo_id_array":[{"photo_id":"1326954558","filename":"file2"},{"photo_id":"1326954552","filename":"file1"},{"photo_id":"1326954550","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954550":["hashtag1","hashtag2"]},{"1326954558":["hashtag1","hashtag2"]},{"1326954552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954550, 1326954558, 1326954552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.213913202285767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:41:02.671855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0003.jpg', '/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0000.jpg', '/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0001.jpg', '/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/39/image_06012025_09_39_02_699129_0003.jpg
/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0000.jpg
/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0001.jpg
/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954654","1326954656","1326954664","1326954660"],"photo_ids_order":["1326954654","1326954656","1326954660","1326954664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b06b634ccbade20c7153c1c4fdf5d853.jpg","text":"TemporaryFile(/tmp/multipartBody2081431323981587363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152932840,"filename":"image_06012025_09_39_02_699129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e9182acbc579f5e58f3611dee8f4e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7318988518760479942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152932840,"filename":"image_06012025_09_40_02_256732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d14c30863540016aeee47e45dd57bb1.jpg","text":"TemporaryFile(/tmp/multipartBody299672710406616225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152932840,"filename":"image_06012025_09_40_02_256732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97ff14c50b061090665fcb55686208f5.jpg","text":"TemporaryFile(/tmp/multipartBody108306713997539288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152932840,"filename":"image_06012025_09_40_02_256732_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954660","file1":"1326954656","file0":"1326954654","file3":"1326954664"},"map_files_photo_id_array":[{"photo_id":"1326954660","filename":"file2"},{"photo_id":"1326954656","filename":"file1"},{"photo_id":"1326954654","filename":"file0"},{"photo_id":"1326954664","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954654":["hashtag1","hashtag2"]},{"1326954656":["hashtag1","hashtag2"]},{"1326954664":["hashtag1","hashtag2"]},{"1326954660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954654, 1326954656, 1326954664, 1326954660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.791996002197266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:42:02.329974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0003.jpg', '/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0000.jpg', '/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0001.jpg', '/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/40/image_06012025_09_40_02_256732_0003.jpg
/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0000.jpg
/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0001.jpg
/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954671","1326954710","1326954713","1326954672"],"photo_ids_order":["1326954671","1326954672","1326954710","1326954713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/000e13ba6903e979885344a65a25883a.jpg","text":"TemporaryFile(/tmp/multipartBody3534791255872780358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152992560,"filename":"image_06012025_09_40_02_256732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f708aabbf1275241717358949fbea4c5.jpg","text":"TemporaryFile(/tmp/multipartBody369582874719650496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152992560,"filename":"image_06012025_09_41_02_878578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ccca7febbd36256a4ce77b0c8b1ac1d.jpg","text":"TemporaryFile(/tmp/multipartBody5538021412835295680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152992560,"filename":"image_06012025_09_41_02_878578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f46d1d3b8b34549ccf75f6bc1a7d19aa.jpg","text":"TemporaryFile(/tmp/multipartBody3755907272996207638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736152992560,"filename":"image_06012025_09_41_02_878578_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954710","file1":"1326954672","file0":"1326954671","file3":"1326954713"},"map_files_photo_id_array":[{"photo_id":"1326954710","filename":"file2"},{"photo_id":"1326954672","filename":"file1"},{"photo_id":"1326954671","filename":"file0"},{"photo_id":"1326954713","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954671":["hashtag1","hashtag2"]},{"1326954710":["hashtag1","hashtag2"]},{"1326954713":["hashtag1","hashtag2"]},{"1326954672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954671, 1326954710, 1326954713, 1326954672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45015788078308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:43:02.972670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0003.jpg', '/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0000.jpg', '/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/41/image_06012025_09_41_02_878578_0003.jpg
/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0000.jpg
/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954743","1326954739","1326954738"],"photo_ids_order":["1326954738","1326954739","1326954743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae2e9419c676f76ec078e4d05affb8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1105724436358586812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153050786,"filename":"image_06012025_09_42_02_459170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0945d81214fc34d9481242321ba39dbb.jpg","text":"TemporaryFile(/tmp/multipartBody215112627691455638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153050786,"filename":"image_06012025_09_42_02_459170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf685f041adafaefe1755c8043573f43.jpg","text":"TemporaryFile(/tmp/multipartBody333257325943265005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153050786,"filename":"image_06012025_09_41_02_878578_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954743","file1":"1326954739","file0":"1326954738"},"map_files_photo_id_array":[{"photo_id":"1326954743","filename":"file2"},{"photo_id":"1326954739","filename":"file1"},{"photo_id":"1326954738","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954743":["hashtag1","hashtag2"]},{"1326954739":["hashtag1","hashtag2"]},{"1326954738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954743, 1326954739, 1326954738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.07995867729187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:44:02.427680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0003.jpg', '/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0000.jpg', '/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0001.jpg', '/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/42/image_06012025_09_42_02_459170_0003.jpg
/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0000.jpg
/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0001.jpg
/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954782","1326954773","1326954778","1326954769"],"photo_ids_order":["1326954769","1326954773","1326954778","1326954782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b2ecc8ed7c69eacc36cd23a853dbc26.jpg","text":"TemporaryFile(/tmp/multipartBody4668245550924866960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153112787,"filename":"image_06012025_09_43_02_164723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c61a3324dcee3d98121a9e4b340abe8.jpg","text":"TemporaryFile(/tmp/multipartBody6817269482332680808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153112787,"filename":"image_06012025_09_43_02_164723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afec8f7afe2af2da32d5fae556aee8f6.jpg","text":"TemporaryFile(/tmp/multipartBody6211572193078622493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153112787,"filename":"image_06012025_09_43_02_164723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2bf90c4756f7d68ce026e32abfb09f7e.jpg","text":"TemporaryFile(/tmp/multipartBody6565109455137709653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153112787,"filename":"image_06012025_09_42_02_459170_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954778","file1":"1326954773","file0":"1326954769","file3":"1326954782"},"map_files_photo_id_array":[{"photo_id":"1326954778","filename":"file2"},{"photo_id":"1326954773","filename":"file1"},{"photo_id":"1326954769","filename":"file0"},{"photo_id":"1326954782","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954782":["hashtag1","hashtag2"]},{"1326954773":["hashtag1","hashtag2"]},{"1326954778":["hashtag1","hashtag2"]},{"1326954769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954782, 1326954773, 1326954778, 1326954769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.941035747528076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:45:03.120911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0003.jpg', '/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0000.jpg', '/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0001.jpg', '/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/43/image_06012025_09_43_02_164723_0003.jpg
/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0000.jpg
/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0001.jpg
/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954834","1326954844","1326954838","1326954841"],"photo_ids_order":["1326954834","1326954838","1326954841","1326954844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce3ff66c2568bf409cb3835e09e0f017.jpg","text":"TemporaryFile(/tmp/multipartBody4231551304618830596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153173251,"filename":"image_06012025_09_43_02_164723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c41a814fa46a9ac416ccb6118a24dd73.jpg","text":"TemporaryFile(/tmp/multipartBody3234885234261373071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153173251,"filename":"image_06012025_09_44_02_683572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1cdd24a4a3429f4cb81cfd19f5496399.jpg","text":"TemporaryFile(/tmp/multipartBody1456173410763262385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153173251,"filename":"image_06012025_09_44_02_683572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48b7bf9c8daeaaec8ddd6b0f8aee54a1.jpg","text":"TemporaryFile(/tmp/multipartBody3101635395120328357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153173251,"filename":"image_06012025_09_44_02_683572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954841","file1":"1326954838","file0":"1326954834","file3":"1326954844"},"map_files_photo_id_array":[{"photo_id":"1326954841","filename":"file2"},{"photo_id":"1326954838","filename":"file1"},{"photo_id":"1326954834","filename":"file0"},{"photo_id":"1326954844","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954834":["hashtag1","hashtag2"]},{"1326954844":["hashtag1","hashtag2"]},{"1326954838":["hashtag1","hashtag2"]},{"1326954841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954834, 1326954844, 1326954838, 1326954841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5860800743103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:46:02.742654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0003.jpg', '/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0000.jpg', '/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0001.jpg', '/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/44/image_06012025_09_44_02_683572_0003.jpg
/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0000.jpg
/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0001.jpg
/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954872","1326954869","1326954867","1326954876"],"photo_ids_order":["1326954867","1326954869","1326954872","1326954876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc2d59803bda24c72ab600e58ca23bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7982595546958584042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153232742,"filename":"image_06012025_09_45_02_427814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cd1af474ad3cf446d2a4a75c0f3d3d3.jpg","text":"TemporaryFile(/tmp/multipartBody495695654085693502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153232742,"filename":"image_06012025_09_45_02_427814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe799508e9b4149f105b774bad45d33d.jpg","text":"TemporaryFile(/tmp/multipartBody2179797937848785191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153232742,"filename":"image_06012025_09_44_02_683572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b03b3e988cc9d7a89b39f418973c40cf.jpg","text":"TemporaryFile(/tmp/multipartBody3273969366876643176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153232742,"filename":"image_06012025_09_45_02_427814_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954872","file1":"1326954869","file0":"1326954867","file3":"1326954876"},"map_files_photo_id_array":[{"photo_id":"1326954872","filename":"file2"},{"photo_id":"1326954869","filename":"file1"},{"photo_id":"1326954867","filename":"file0"},{"photo_id":"1326954876","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954872":["hashtag1","hashtag2"]},{"1326954869":["hashtag1","hashtag2"]},{"1326954867":["hashtag1","hashtag2"]},{"1326954876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954872, 1326954869, 1326954867, 1326954876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77868103981018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:47:02.533758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0003.jpg', '/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0000.jpg', '/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0001.jpg', '/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/45/image_06012025_09_45_02_427814_0003.jpg
/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0000.jpg
/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0001.jpg
/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326954918","1326954947","1326954920","1326954923"],"photo_ids_order":["1326954918","1326954920","1326954923","1326954947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5bb80334807034a1f6fa4e60489f21a.jpg","text":"TemporaryFile(/tmp/multipartBody4002049706006013076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153292745,"filename":"image_06012025_09_45_02_427814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f30193d389d9df5ccf6ba0ebdc51e30.jpg","text":"TemporaryFile(/tmp/multipartBody6250774853073673167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153292745,"filename":"image_06012025_09_46_02_983130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a0f2786e8d7f6849bdc8e47376871ea.jpg","text":"TemporaryFile(/tmp/multipartBody3365339404699987738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153292745,"filename":"image_06012025_09_46_02_983130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/721ff0d2800294c28c87123b0cb60be4.jpg","text":"TemporaryFile(/tmp/multipartBody784617943127307925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153292745,"filename":"image_06012025_09_46_02_983130_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326954923","file1":"1326954920","file0":"1326954918","file3":"1326954947"},"map_files_photo_id_array":[{"photo_id":"1326954923","filename":"file2"},{"photo_id":"1326954920","filename":"file1"},{"photo_id":"1326954918","filename":"file0"},{"photo_id":"1326954947","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326954918":["hashtag1","hashtag2"]},{"1326954947":["hashtag1","hashtag2"]},{"1326954920":["hashtag1","hashtag2"]},{"1326954923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326954918, 1326954947, 1326954920, 1326954923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.00354766845703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:48:02.962642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0003.jpg', '/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0000.jpg', '/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0001.jpg', '/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/46/image_06012025_09_46_02_983130_0003.jpg
/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0000.jpg
/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0001.jpg
/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955022","1326955016","1326955019","1326955004"],"photo_ids_order":["1326955004","1326955016","1326955019","1326955022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eccf1bb7bc0fd847fcae1d8b2c03cb12.jpg","text":"TemporaryFile(/tmp/multipartBody1767946482345821287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153353035,"filename":"image_06012025_09_47_02_729471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1aba465145b1ce2f1cd33f92209b2b19.jpg","text":"TemporaryFile(/tmp/multipartBody5063819049676724920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153353035,"filename":"image_06012025_09_47_02_729471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d8a18fe358b257e53e270af8bb91956.jpg","text":"TemporaryFile(/tmp/multipartBody4334735140043009300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153353035,"filename":"image_06012025_09_47_02_729471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f96072cdaf7b1028745629ecb4227c87.jpg","text":"TemporaryFile(/tmp/multipartBody289739521137166140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153353035,"filename":"image_06012025_09_46_02_983130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955019","file1":"1326955016","file0":"1326955004","file3":"1326955022"},"map_files_photo_id_array":[{"photo_id":"1326955019","filename":"file2"},{"photo_id":"1326955016","filename":"file1"},{"photo_id":"1326955004","filename":"file0"},{"photo_id":"1326955022","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955022":["hashtag1","hashtag2"]},{"1326955016":["hashtag1","hashtag2"]},{"1326955019":["hashtag1","hashtag2"]},{"1326955004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955022, 1326955016, 1326955019, 1326955004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21838855743408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:49:02.560815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0003.jpg', '/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0000.jpg', '/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0001.jpg', '/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/47/image_06012025_09_47_02_729471_0003.jpg
/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0000.jpg
/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0001.jpg
/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955085","1326955081","1326955077","1326955053"],"photo_ids_order":["1326955053","1326955077","1326955081","1326955085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1fb8bcf4f9d39a60aa4705505828a08d.jpg","text":"TemporaryFile(/tmp/multipartBody5180634000456663478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153412782,"filename":"image_06012025_09_48_02_238510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccebe7d8d735119bd302e25cd7416110.jpg","text":"TemporaryFile(/tmp/multipartBody6373724095498178883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153412782,"filename":"image_06012025_09_48_02_238510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1377bf6dea33f59bba5bc0f56b16e12c.jpg","text":"TemporaryFile(/tmp/multipartBody1996577265348482342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153412782,"filename":"image_06012025_09_48_02_238510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1982a78b7c9e54d6a317b8cf05c8cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2207365278306900586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153412782,"filename":"image_06012025_09_47_02_729471_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955081","file1":"1326955077","file0":"1326955053","file3":"1326955085"},"map_files_photo_id_array":[{"photo_id":"1326955081","filename":"file2"},{"photo_id":"1326955077","filename":"file1"},{"photo_id":"1326955053","filename":"file0"},{"photo_id":"1326955085","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955085":["hashtag1","hashtag2"]},{"1326955081":["hashtag1","hashtag2"]},{"1326955077":["hashtag1","hashtag2"]},{"1326955053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955085, 1326955081, 1326955077, 1326955053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47195863723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:50:03.037692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0003.jpg', '/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0000.jpg', '/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0001.jpg', '/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/48/image_06012025_09_48_02_238510_0003.jpg
/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0000.jpg
/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0001.jpg
/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955107","1326955106","1326955113","1326955110"],"photo_ids_order":["1326955106","1326955107","1326955110","1326955113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5334dc0080095e37e4658f10465e4552.jpg","text":"TemporaryFile(/tmp/multipartBody1649693018943965914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153473275,"filename":"image_06012025_09_49_02_917043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/531c193b58dbbcc86cbefa37b5191214.jpg","text":"TemporaryFile(/tmp/multipartBody3175265426975777221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153473275,"filename":"image_06012025_09_48_02_238510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f98153e085420371fc3ca3dec79452a.jpg","text":"TemporaryFile(/tmp/multipartBody1022293235878896326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153473275,"filename":"image_06012025_09_49_02_917043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f4d408e6a5e44225161fa6f67f9b959.jpg","text":"TemporaryFile(/tmp/multipartBody7525154087925230137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153473275,"filename":"image_06012025_09_49_02_917043_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955110","file1":"1326955107","file0":"1326955106","file3":"1326955113"},"map_files_photo_id_array":[{"photo_id":"1326955110","filename":"file2"},{"photo_id":"1326955107","filename":"file1"},{"photo_id":"1326955106","filename":"file0"},{"photo_id":"1326955113","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955107":["hashtag1","hashtag2"]},{"1326955106":["hashtag1","hashtag2"]},{"1326955113":["hashtag1","hashtag2"]},{"1326955110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955107, 1326955106, 1326955113, 1326955110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87682795524597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:51:02.776325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0003.jpg', '/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0000.jpg', '/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0001.jpg', '/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/49/image_06012025_09_49_02_917043_0003.jpg
/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0000.jpg
/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0001.jpg
/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955178","1326955192","1326955165","1326955176"],"photo_ids_order":["1326955165","1326955176","1326955178","1326955192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3380c3b213a3888aa0fd337b47bd4cba.jpg","text":"TemporaryFile(/tmp/multipartBody4742137886058820700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153532846,"filename":"image_06012025_09_50_02_469025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fb113efc3489502722dce123932fee8.jpg","text":"TemporaryFile(/tmp/multipartBody2159180165598576241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153532846,"filename":"image_06012025_09_50_02_469025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0cf0f290fbc478d41a8aa163c9fdca53.jpg","text":"TemporaryFile(/tmp/multipartBody4362891513278267907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153532846,"filename":"image_06012025_09_49_02_917043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2818f4808d14d5b736c025934801cf71.jpg","text":"TemporaryFile(/tmp/multipartBody2451567710615724011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153532846,"filename":"image_06012025_09_50_02_469025_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955178","file1":"1326955176","file0":"1326955165","file3":"1326955192"},"map_files_photo_id_array":[{"photo_id":"1326955178","filename":"file2"},{"photo_id":"1326955176","filename":"file1"},{"photo_id":"1326955165","filename":"file0"},{"photo_id":"1326955192","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955178":["hashtag1","hashtag2"]},{"1326955192":["hashtag1","hashtag2"]},{"1326955165":["hashtag1","hashtag2"]},{"1326955176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955178, 1326955192, 1326955165, 1326955176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.245856285095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:52:02.289357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0003.jpg', '/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0000.jpg', '/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0001.jpg', '/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/50/image_06012025_09_50_02_469025_0003.jpg
/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0000.jpg
/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0001.jpg
/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955259","1326955279","1326955249","1326955251"],"photo_ids_order":["1326955249","1326955251","1326955259","1326955279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7068fe51174d29851f3da4107a04a8a9.jpg","text":"TemporaryFile(/tmp/multipartBody4532758048254397597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153592338,"filename":"image_06012025_09_51_02_987340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d87ac6b338d2a8c14bb9c9cfaf36fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2236212371483729657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153592338,"filename":"image_06012025_09_51_02_987340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f80cdf58ecacbca566c27e5f5aa27834.jpg","text":"TemporaryFile(/tmp/multipartBody8203240482145191675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153592338,"filename":"image_06012025_09_50_02_469025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a84cfa2993524c09aae8364db73c567.jpg","text":"TemporaryFile(/tmp/multipartBody1504343268559037658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153592338,"filename":"image_06012025_09_51_02_987340_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955259","file1":"1326955251","file0":"1326955249","file3":"1326955279"},"map_files_photo_id_array":[{"photo_id":"1326955259","filename":"file2"},{"photo_id":"1326955251","filename":"file1"},{"photo_id":"1326955249","filename":"file0"},{"photo_id":"1326955279","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955259":["hashtag1","hashtag2"]},{"1326955279":["hashtag1","hashtag2"]},{"1326955249":["hashtag1","hashtag2"]},{"1326955251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955259, 1326955279, 1326955249, 1326955251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.62308096885681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:53:02.985117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0003.jpg', '/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0000.jpg', '/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0001.jpg', '/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/51/image_06012025_09_51_02_987340_0003.jpg
/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0000.jpg
/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0001.jpg
/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955294","1326955312","1326955296","1326955308"],"photo_ids_order":["1326955294","1326955296","1326955308","1326955312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6110d4749ee501ef5a07b0b67cf94f8e.jpg","text":"TemporaryFile(/tmp/multipartBody9048274856828591591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153653129,"filename":"image_06012025_09_51_02_987340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d14e5c02ad4225bd5664821cf9c367da.jpg","text":"TemporaryFile(/tmp/multipartBody5017242967460915588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153653129,"filename":"image_06012025_09_52_02_584986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cde768af76cfee36ce1a4b1e4af861a9.jpg","text":"TemporaryFile(/tmp/multipartBody1070592298533434236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153653129,"filename":"image_06012025_09_52_02_584986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf3c887d9a8310e3f1884c941b2186dc.jpg","text":"TemporaryFile(/tmp/multipartBody8079580977633241504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153653129,"filename":"image_06012025_09_52_02_584986_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955308","file1":"1326955296","file0":"1326955294","file3":"1326955312"},"map_files_photo_id_array":[{"photo_id":"1326955308","filename":"file2"},{"photo_id":"1326955296","filename":"file1"},{"photo_id":"1326955294","filename":"file0"},{"photo_id":"1326955312","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955294":["hashtag1","hashtag2"]},{"1326955312":["hashtag1","hashtag2"]},{"1326955296":["hashtag1","hashtag2"]},{"1326955308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955294, 1326955312, 1326955296, 1326955308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73094320297241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:54:02.352917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0003.jpg', '/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0000.jpg', '/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0001.jpg', '/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/52/image_06012025_09_52_02_584986_0003.jpg
/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0000.jpg
/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0001.jpg
/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955388","1326955411","1326955386","1326955413"],"photo_ids_order":["1326955386","1326955388","1326955411","1326955413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fa358272f895b03df56a50539fe2af1.jpg","text":"TemporaryFile(/tmp/multipartBody4859889940749088009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153712716,"filename":"image_06012025_09_53_02_206484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d41d16626e5355aa788f015ae0ee4b27.jpg","text":"TemporaryFile(/tmp/multipartBody748443995420844720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153712716,"filename":"image_06012025_09_53_02_206484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a27e0208c5c5f487b14b0993b955c194.jpg","text":"TemporaryFile(/tmp/multipartBody1135701708289598844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153712716,"filename":"image_06012025_09_52_02_584986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bed6edfc5d277df1e32fd792cb300316.jpg","text":"TemporaryFile(/tmp/multipartBody6938241188807537634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153712716,"filename":"image_06012025_09_53_02_206484_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955411","file1":"1326955388","file0":"1326955386","file3":"1326955413"},"map_files_photo_id_array":[{"photo_id":"1326955411","filename":"file2"},{"photo_id":"1326955388","filename":"file1"},{"photo_id":"1326955386","filename":"file0"},{"photo_id":"1326955413","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955388":["hashtag1","hashtag2"]},{"1326955411":["hashtag1","hashtag2"]},{"1326955386":["hashtag1","hashtag2"]},{"1326955413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955388, 1326955411, 1326955386, 1326955413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64820122718811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:55:03.143374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0003.jpg', '/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0000.jpg', '/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0001.jpg', '/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/53/image_06012025_09_53_02_206484_0003.jpg
/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0000.jpg
/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0001.jpg
/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955723","1326955717","1326955726","1326955728"],"photo_ids_order":["1326955717","1326955723","1326955726","1326955728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08ed4ef36c5941cf26cdc1fd82f0f9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1633138993892771581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153773314,"filename":"image_06012025_09_54_02_764084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18a6d8c6c1d2f69d5d5305d856d8f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4228477045248197648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153773314,"filename":"image_06012025_09_53_02_206484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91a9ea36ca9f737b19a01764ab5acca2.jpg","text":"TemporaryFile(/tmp/multipartBody9056670017688681738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153773314,"filename":"image_06012025_09_54_02_764084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b197065293297d276adb9ad8ebff736.jpg","text":"TemporaryFile(/tmp/multipartBody4994685355608205537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153773314,"filename":"image_06012025_09_54_02_764084_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955726","file1":"1326955723","file0":"1326955717","file3":"1326955728"},"map_files_photo_id_array":[{"photo_id":"1326955726","filename":"file2"},{"photo_id":"1326955723","filename":"file1"},{"photo_id":"1326955717","filename":"file0"},{"photo_id":"1326955728","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955723":["hashtag1","hashtag2"]},{"1326955717":["hashtag1","hashtag2"]},{"1326955726":["hashtag1","hashtag2"]},{"1326955728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955723, 1326955717, 1326955726, 1326955728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.275657653808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:56:02.589439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0003.jpg', '/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0000.jpg', '/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0001.jpg', '/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/54/image_06012025_09_54_02_764084_0003.jpg
/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0000.jpg
/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0001.jpg
/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955877","1326955873","1326955872","1326955875"],"photo_ids_order":["1326955872","1326955873","1326955875","1326955877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44a134a34dc16b8984184dd490e4a128.jpg","text":"TemporaryFile(/tmp/multipartBody4618568928086915934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153832621,"filename":"image_06012025_09_55_02_364726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c22998f770bc4de32a14595f9489bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1007143553395502421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153832621,"filename":"image_06012025_09_55_02_364726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b37016f3514dcd41382625b636504c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8984878712224427666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153832621,"filename":"image_06012025_09_54_02_764084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/896e5190db31b758c975a1017ba3fd17.jpg","text":"TemporaryFile(/tmp/multipartBody3531496363936607228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153832621,"filename":"image_06012025_09_55_02_364726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955875","file1":"1326955873","file0":"1326955872","file3":"1326955877"},"map_files_photo_id_array":[{"photo_id":"1326955875","filename":"file2"},{"photo_id":"1326955873","filename":"file1"},{"photo_id":"1326955872","filename":"file0"},{"photo_id":"1326955877","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955877":["hashtag1","hashtag2"]},{"1326955873":["hashtag1","hashtag2"]},{"1326955872":["hashtag1","hashtag2"]},{"1326955875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955877, 1326955873, 1326955872, 1326955875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19460582733154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:57:02.319077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0003.jpg', '/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0000.jpg', '/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0001.jpg', '/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/55/image_06012025_09_55_02_364726_0003.jpg
/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0000.jpg
/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0001.jpg
/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326955925","1326955922","1326955927","1326955923"],"photo_ids_order":["1326955922","1326955923","1326955925","1326955927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a708ffa8ff38b303dcc79fc47c667b33.jpg","text":"TemporaryFile(/tmp/multipartBody5235096090395252512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153892410,"filename":"image_06012025_09_56_02_910907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a321ab9bbf33f605082f9e38f15b1a7.jpg","text":"TemporaryFile(/tmp/multipartBody7619417490534997055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153892410,"filename":"image_06012025_09_55_02_364726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10c7d3dd24277f20e42941bb6546d79c.jpg","text":"TemporaryFile(/tmp/multipartBody4828470053043280814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153892410,"filename":"image_06012025_09_56_02_910907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f69c83f285d9a87284150fe4baa87976.jpg","text":"TemporaryFile(/tmp/multipartBody5261011256302465867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736153892410,"filename":"image_06012025_09_56_02_910907_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326955925","file1":"1326955923","file0":"1326955922","file3":"1326955927"},"map_files_photo_id_array":[{"photo_id":"1326955925","filename":"file2"},{"photo_id":"1326955923","filename":"file1"},{"photo_id":"1326955922","filename":"file0"},{"photo_id":"1326955927","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326955925":["hashtag1","hashtag2"]},{"1326955922":["hashtag1","hashtag2"]},{"1326955927":["hashtag1","hashtag2"]},{"1326955923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326955925, 1326955922, 1326955927, 1326955923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82255530357361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 09:59:03.257375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0003.jpg', '/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0000.jpg', '/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0001.jpg', '/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0002.jpg', '/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0003.jpg', '/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/56/image_06012025_09_56_02_910907_0003.jpg
/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0000.jpg
/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0001.jpg
/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0002.jpg
/home/pi/Desktop/images/06012025/09/57/image_06012025_09_57_02_615046_0003.jpg
/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_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":["1326956182","1326956629","1326956481","1326955959","1326956075","1326956624"],"photo_ids_order":["1326955959","1326956075","1326956182","1326956481","1326956624","1326956629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5064894f04204dd23cedfc9a3c32052a.jpg","text":"TemporaryFile(/tmp/multipartBody4337243292706648010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_57_02_615046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0afe961d9224956abacf2cf25b4c2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody9017986964927575934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_58_02_264311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5a50328a0f588a2605616956b8b8200.jpg","text":"TemporaryFile(/tmp/multipartBody275162301673996617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_57_02_615046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6222a111ff8f5e41103787a59ba5b47f.jpg","text":"TemporaryFile(/tmp/multipartBody7251774310294470927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_56_02_910907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9363c10729d6798835c1738f033e3874.jpg","text":"TemporaryFile(/tmp/multipartBody7118025483719106373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_57_02_615046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a54816d8912e273d48f536ab723fa2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6482602274114686890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154017997,"filename":"image_06012025_09_57_02_615046_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326956182","file1":"1326956075","file0":"1326955959","file4":"1326956624","file5":"1326956629","file3":"1326956481"},"map_files_photo_id_array":[{"photo_id":"1326956629","filename":"file5"},{"photo_id":"1326956182","filename":"file2"},{"photo_id":"1326956624","filename":"file4"},{"photo_id":"1326956075","filename":"file1"},{"photo_id":"1326955959","filename":"file0"},{"photo_id":"1326956481","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326956182":["hashtag1","hashtag2"]},{"1326956629":["hashtag1","hashtag2"]},{"1326956481":["hashtag1","hashtag2"]},{"1326955959":["hashtag1","hashtag2"]},{"1326956075":["hashtag1","hashtag2"]},{"1326956624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326956182, 1326956629, 1326956481, 1326955959, 1326956075, 1326956624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56717538833618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:00:02.243567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_0001.jpg', '/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_0003.jpg', '/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0000.jpg', '/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0001.jpg', '/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_0001.jpg
/home/pi/Desktop/images/06012025/09/58/image_06012025_09_58_02_264311_0003.jpg
/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0000.jpg
/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0001.jpg
/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_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":["1326957274","1326957357","1326957057","1326957362","1326957311"],"photo_ids_order":["1326957057","1326957274","1326957311","1326957357","1326957362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4268ad1493cfb8f997886b68bb3ab0bf.jpg","text":"TemporaryFile(/tmp/multipartBody2659438314483489570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154074660,"filename":"image_06012025_09_58_02_264311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7df2278d6df67aecdbef1ac1e208249f.jpg","text":"TemporaryFile(/tmp/multipartBody1412663015755482459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154074660,"filename":"image_06012025_09_59_02_894991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ea4de148f2eff362c1abf5cc729e096.jpg","text":"TemporaryFile(/tmp/multipartBody2113567598480679193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154074660,"filename":"image_06012025_09_58_02_264311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b422c69deab1292ed409767c5c29b275.jpg","text":"TemporaryFile(/tmp/multipartBody8145784621270009213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154074660,"filename":"image_06012025_09_59_02_894991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e8d42b116554061f450d3f6f15c32ed.jpg","text":"TemporaryFile(/tmp/multipartBody6776207752216284064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154074660,"filename":"image_06012025_09_59_02_894991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326957311","file1":"1326957274","file0":"1326957057","file4":"1326957362","file3":"1326957357"},"map_files_photo_id_array":[{"photo_id":"1326957311","filename":"file2"},{"photo_id":"1326957362","filename":"file4"},{"photo_id":"1326957274","filename":"file1"},{"photo_id":"1326957057","filename":"file0"},{"photo_id":"1326957357","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326957274":["hashtag1","hashtag2"]},{"1326957357":["hashtag1","hashtag2"]},{"1326957057":["hashtag1","hashtag2"]},{"1326957362":["hashtag1","hashtag2"]},{"1326957311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326957274, 1326957357, 1326957057, 1326957362, 1326957311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.70895457267761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:01:02.676722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0003.jpg', '/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0000.jpg', '/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0001.jpg', '/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/09/59/image_06012025_09_59_02_894991_0003.jpg
/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0000.jpg
/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0001.jpg
/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326957865","1326957523","1326957504","1326957688"],"photo_ids_order":["1326957504","1326957523","1326957688","1326957865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2cd4fd433a95bd80e4b5bd45f6944cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3020494948084744928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154132916,"filename":"image_06012025_10_00_03_064075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b83b92b2a731ce9f23c9f4f312c49b7.jpg","text":"TemporaryFile(/tmp/multipartBody8492005059481767836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154132916,"filename":"image_06012025_10_00_03_064075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87de30906b4e91985e22283bae2717a6.jpg","text":"TemporaryFile(/tmp/multipartBody6892020336763503486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154132916,"filename":"image_06012025_09_59_02_894991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c98b318ff2fb8971f5ca5c726bc3009c.jpg","text":"TemporaryFile(/tmp/multipartBody8814792536524573448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154132916,"filename":"image_06012025_10_00_03_064075_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326957688","file1":"1326957523","file0":"1326957504","file3":"1326957865"},"map_files_photo_id_array":[{"photo_id":"1326957688","filename":"file2"},{"photo_id":"1326957523","filename":"file1"},{"photo_id":"1326957504","filename":"file0"},{"photo_id":"1326957865","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326957865":["hashtag1","hashtag2"]},{"1326957523":["hashtag1","hashtag2"]},{"1326957504":["hashtag1","hashtag2"]},{"1326957688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326957865, 1326957523, 1326957504, 1326957688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.195677042007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 10:01:52.011414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0003.jpg', '/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0000.jpg', '/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0001.jpg', '/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/00/image_06012025_10_00_03_064075_0003.jpg
/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0000.jpg
/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0001.jpg
/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_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":["1326958117","1326958113","1326958203","1326958121"],"photo_ids_order":["1326958113","1326958117","1326958121","1326958203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e751507a914b7e3a3012120172df1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8629046708347632146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154182051,"filename":"image_06012025_10_01_02_272687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6ebb694a4843f2b25d6f0b43534f071.jpg","text":"TemporaryFile(/tmp/multipartBody6321499729345211001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154182051,"filename":"image_06012025_10_00_03_064075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea03358ad32de5fb02b1c2524bbff8fd.jpg","text":"TemporaryFile(/tmp/multipartBody8887665399624342345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154182051,"filename":"image_06012025_10_01_02_272687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0947c4486ebc7eef1b849f9007059ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7700269762890807924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154182051,"filename":"image_06012025_10_01_02_272687_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958121","file1":"1326958117","file0":"1326958113","file3":"1326958203"},"map_files_photo_id_array":[{"photo_id":"1326958121","filename":"file2"},{"photo_id":"1326958117","filename":"file1"},{"photo_id":"1326958113","filename":"file0"},{"photo_id":"1326958203","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958117":["hashtag1","hashtag2"]},{"1326958113":["hashtag1","hashtag2"]},{"1326958203":["hashtag1","hashtag2"]},{"1326958121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958117, 1326958113, 1326958203, 1326958121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42813301086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 10:02:32.215150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0003.jpg', '/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0000.jpg', '/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0001.jpg', '/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/01/image_06012025_10_01_02_272687_0003.jpg
/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0000.jpg
/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0001.jpg
/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958330","1326958332","1326958334","1326958327"],"photo_ids_order":["1326958327","1326958330","1326958332","1326958334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea6e4a2bf3a1c8b597c13fdaa42e943c.jpg","text":"TemporaryFile(/tmp/multipartBody1904067424419429192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154222168,"filename":"image_06012025_10_02_02_435298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1d716b01f0777108d19ce28d457c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody1942809718740891565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154222168,"filename":"image_06012025_10_02_02_435298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d471f3035040bd5655ec08ce0a691cd3.jpg","text":"TemporaryFile(/tmp/multipartBody289081238048625992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154222168,"filename":"image_06012025_10_02_02_435298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a43513328dcf1bf515020a42faaaa3c.jpg","text":"TemporaryFile(/tmp/multipartBody7879350450373079805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154222168,"filename":"image_06012025_10_01_02_272687_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958332","file1":"1326958330","file0":"1326958327","file3":"1326958334"},"map_files_photo_id_array":[{"photo_id":"1326958332","filename":"file2"},{"photo_id":"1326958330","filename":"file1"},{"photo_id":"1326958327","filename":"file0"},{"photo_id":"1326958334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958330":["hashtag1","hashtag2"]},{"1326958332":["hashtag1","hashtag2"]},{"1326958334":["hashtag1","hashtag2"]},{"1326958327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958330, 1326958332, 1326958334, 1326958327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.849345445632935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:03:22.413659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0003.jpg', '/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0000.jpg', '/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0001.jpg', '/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/02/image_06012025_10_02_02_435298_0003.jpg
/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0000.jpg
/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0001.jpg
/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958404","1326958407","1326958399","1326958411"],"photo_ids_order":["1326958399","1326958404","1326958407","1326958411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f76c5a8d4a1a4cb5326a3764c1c0366.jpg","text":"TemporaryFile(/tmp/multipartBody7609586622904513272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154272615,"filename":"image_06012025_10_03_02_583474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aaa7b0fc2c59b69d14e71074d792aec4.jpg","text":"TemporaryFile(/tmp/multipartBody9206152053953127082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154272615,"filename":"image_06012025_10_03_02_583474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e16d2a1697ccd6ce117e96badeae854.jpg","text":"TemporaryFile(/tmp/multipartBody4646444619319895265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154272615,"filename":"image_06012025_10_02_02_435298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f0039572b5106c430ac2e9d724abb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7030664944714509356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154272615,"filename":"image_06012025_10_03_02_583474_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958407","file1":"1326958404","file0":"1326958399","file3":"1326958411"},"map_files_photo_id_array":[{"photo_id":"1326958407","filename":"file2"},{"photo_id":"1326958404","filename":"file1"},{"photo_id":"1326958399","filename":"file0"},{"photo_id":"1326958411","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958404":["hashtag1","hashtag2"]},{"1326958407":["hashtag1","hashtag2"]},{"1326958399":["hashtag1","hashtag2"]},{"1326958411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958404, 1326958407, 1326958399, 1326958411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.355889320373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:04:02.860329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:04:22.635265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0003.jpg', '/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0000.jpg', '/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0001.jpg', '/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/03/image_06012025_10_03_02_583474_0003.jpg
/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0000.jpg
/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0001.jpg
/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_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":["1326958429","1326958437","1326958434","1326958445"],"photo_ids_order":["1326958429","1326958434","1326958437","1326958445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27e8e34c8439c689145a4856a3222bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2028736927737530706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154332697,"filename":"image_06012025_10_03_02_583474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69bdef3d1ebe7eb2715062ef8871dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody1241086305734402697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154332697,"filename":"image_06012025_10_04_02_812622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28998d79d363aea46ccdd63f85a89f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7008101303917382761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154332697,"filename":"image_06012025_10_04_02_812622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5ebd5f0d121e6cf488cc9f2a72a74a7.jpg","text":"TemporaryFile(/tmp/multipartBody8993494293786073846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154332697,"filename":"image_06012025_10_04_02_812622_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958437","file1":"1326958434","file0":"1326958429","file3":"1326958445"},"map_files_photo_id_array":[{"photo_id":"1326958437","filename":"file2"},{"photo_id":"1326958434","filename":"file1"},{"photo_id":"1326958429","filename":"file0"},{"photo_id":"1326958445","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958429":["hashtag1","hashtag2"]},{"1326958437":["hashtag1","hashtag2"]},{"1326958434":["hashtag1","hashtag2"]},{"1326958445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958429, 1326958437, 1326958434, 1326958445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14344120025635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:05:21.809828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0003.jpg', '/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0000.jpg', '/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0001.jpg', '/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/04/image_06012025_10_04_02_812622_0003.jpg
/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0000.jpg
/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0001.jpg
/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958506","1326958496","1326958500","1326958493"],"photo_ids_order":["1326958493","1326958496","1326958500","1326958506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bc9949c4d5872af612a6d54f90a57b8.jpg","text":"TemporaryFile(/tmp/multipartBody7938931235164960199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154392004,"filename":"image_06012025_10_05_02_953068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bdf05d92a3792a87c0bc1a113ed8325.jpg","text":"TemporaryFile(/tmp/multipartBody9123853230862033718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154392004,"filename":"image_06012025_10_05_02_953068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5133e40707aaf08c9c7d6d3d64836286.jpg","text":"TemporaryFile(/tmp/multipartBody3187210238243432274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154392004,"filename":"image_06012025_10_05_02_953068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bc9933eaa8dcaa831e079983ee01d27.jpg","text":"TemporaryFile(/tmp/multipartBody7950558113005503101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154392004,"filename":"image_06012025_10_04_02_812622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958500","file1":"1326958496","file0":"1326958493","file3":"1326958506"},"map_files_photo_id_array":[{"photo_id":"1326958500","filename":"file2"},{"photo_id":"1326958496","filename":"file1"},{"photo_id":"1326958493","filename":"file0"},{"photo_id":"1326958506","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958506":["hashtag1","hashtag2"]},{"1326958496":["hashtag1","hashtag2"]},{"1326958500":["hashtag1","hashtag2"]},{"1326958493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958506, 1326958496, 1326958500, 1326958493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4866669178009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:06:02.357602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:06:21.979024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0003.jpg', '/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0000.jpg', '/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0001.jpg', '/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/05/image_06012025_10_05_02_953068_0003.jpg
/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0000.jpg
/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0001.jpg
/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958528","1326958536","1326958531","1326958525"],"photo_ids_order":["1326958525","1326958528","1326958531","1326958536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/887e81aa39770618b2288f3e389ff786.jpg","text":"TemporaryFile(/tmp/multipartBody5948958175605973818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154452199,"filename":"image_06012025_10_06_02_147093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/651b3eab46c71e83b8bf4fde0eef090e.jpg","text":"TemporaryFile(/tmp/multipartBody5887937210592376030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154452199,"filename":"image_06012025_10_06_02_147093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dca43cafe1fb2ad5f109fb9b51980793.jpg","text":"TemporaryFile(/tmp/multipartBody3662727921699376866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154452199,"filename":"image_06012025_10_06_02_147093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10196ddd95969f4211439852a1d54a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3320642376179875677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154452199,"filename":"image_06012025_10_05_02_953068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958531","file1":"1326958528","file0":"1326958525","file3":"1326958536"},"map_files_photo_id_array":[{"photo_id":"1326958531","filename":"file2"},{"photo_id":"1326958528","filename":"file1"},{"photo_id":"1326958525","filename":"file0"},{"photo_id":"1326958536","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958528":["hashtag1","hashtag2"]},{"1326958536":["hashtag1","hashtag2"]},{"1326958531":["hashtag1","hashtag2"]},{"1326958525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958528, 1326958536, 1326958531, 1326958525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2958083152771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:07:02.898400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:07:22.199478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0003.jpg', '/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0000.jpg', '/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0001.jpg', '/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/06/image_06012025_10_06_02_147093_0003.jpg
/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0000.jpg
/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0001.jpg
/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958593","1326958563","1326958595","1326958610"],"photo_ids_order":["1326958563","1326958593","1326958595","1326958610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/450e8832806263ee95de9500f51d785d.jpg","text":"TemporaryFile(/tmp/multipartBody1253562611324207099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154512388,"filename":"image_06012025_10_07_02_414802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42ba58bb76c1da3c6690387b5dcf4d15.jpg","text":"TemporaryFile(/tmp/multipartBody5823381022067422838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154512388,"filename":"image_06012025_10_06_02_147093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8261b35200767f4a8301047bc0e4726c.jpg","text":"TemporaryFile(/tmp/multipartBody756840522036051182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154512388,"filename":"image_06012025_10_07_02_414802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7999a891e15eed50cc0cbbaba81b0e0c.jpg","text":"TemporaryFile(/tmp/multipartBody7993675694340960624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154512388,"filename":"image_06012025_10_07_02_414802_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958595","file1":"1326958593","file0":"1326958563","file3":"1326958610"},"map_files_photo_id_array":[{"photo_id":"1326958595","filename":"file2"},{"photo_id":"1326958593","filename":"file1"},{"photo_id":"1326958563","filename":"file0"},{"photo_id":"1326958610","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958593":["hashtag1","hashtag2"]},{"1326958563":["hashtag1","hashtag2"]},{"1326958595":["hashtag1","hashtag2"]},{"1326958610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958593, 1326958563, 1326958595, 1326958610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89985227584839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:08:02.713210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:08:22.382306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0003.jpg', '/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0000.jpg', '/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0001.jpg', '/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/07/image_06012025_10_07_02_414802_0003.jpg
/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0000.jpg
/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0001.jpg
/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958670","1326958673","1326958675","1326958678"],"photo_ids_order":["1326958670","1326958673","1326958675","1326958678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3455980cfd77601c3c664a9cb5898150.jpg","text":"TemporaryFile(/tmp/multipartBody342739120267794714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154572584,"filename":"image_06012025_10_07_02_414802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b59199a9ce1353ae5b92bd77fa4a69ca.jpg","text":"TemporaryFile(/tmp/multipartBody4819580455421510536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154572584,"filename":"image_06012025_10_08_02_566134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f6b2e602251fe26cc65f06a5f553724.jpg","text":"TemporaryFile(/tmp/multipartBody1380546736459405779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154572584,"filename":"image_06012025_10_08_02_566134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc69e528661293a1fddd991d666c8014.jpg","text":"TemporaryFile(/tmp/multipartBody1410316469971841379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154572584,"filename":"image_06012025_10_08_02_566134_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958675","file1":"1326958673","file0":"1326958670","file3":"1326958678"},"map_files_photo_id_array":[{"photo_id":"1326958675","filename":"file2"},{"photo_id":"1326958673","filename":"file1"},{"photo_id":"1326958670","filename":"file0"},{"photo_id":"1326958678","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958670":["hashtag1","hashtag2"]},{"1326958673":["hashtag1","hashtag2"]},{"1326958675":["hashtag1","hashtag2"]},{"1326958678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958670, 1326958673, 1326958675, 1326958678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.468687295913696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:09:03.266665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:09:22.581558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0003.jpg', '/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0000.jpg', '/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0001.jpg', '/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/08/image_06012025_10_08_02_566134_0003.jpg
/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0000.jpg
/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0001.jpg
/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958716","1326958719","1326958724","1326958721"],"photo_ids_order":["1326958716","1326958719","1326958721","1326958724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7352ca142f2ca7d3b5fba823e5df9e4.jpg","text":"TemporaryFile(/tmp/multipartBody6309073273403863267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154632706,"filename":"image_06012025_10_08_02_566134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c54ca0bb1434b8768d8ecbeebabe06c.jpg","text":"TemporaryFile(/tmp/multipartBody779734977543333290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154632706,"filename":"image_06012025_10_09_02_729325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb2a4a666043e89326dae46c3ae21e83.jpg","text":"TemporaryFile(/tmp/multipartBody5959671260005903080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154632706,"filename":"image_06012025_10_09_02_729325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08d793663648fc96a37688dac4ac2129.jpg","text":"TemporaryFile(/tmp/multipartBody7045362883666978591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154632706,"filename":"image_06012025_10_09_02_729325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958721","file1":"1326958719","file0":"1326958716","file3":"1326958724"},"map_files_photo_id_array":[{"photo_id":"1326958721","filename":"file2"},{"photo_id":"1326958719","filename":"file1"},{"photo_id":"1326958716","filename":"file0"},{"photo_id":"1326958724","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958716":["hashtag1","hashtag2"]},{"1326958719":["hashtag1","hashtag2"]},{"1326958724":["hashtag1","hashtag2"]},{"1326958721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958716, 1326958719, 1326958724, 1326958721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92290472984314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:10:03.050452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:10:22.795473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0003.jpg', '/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0000.jpg', '/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0001.jpg', '/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/09/image_06012025_10_09_02_729325_0003.jpg
/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0000.jpg
/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0001.jpg
/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_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":["1326958938","1326958940","1326958945","1326958948"],"photo_ids_order":["1326958938","1326958940","1326958945","1326958948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfb0f964bed4a8e7e6614316dc6b7e01.jpg","text":"TemporaryFile(/tmp/multipartBody950325385760075564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154693076,"filename":"image_06012025_10_09_02_729325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8f0d62f965e25835c63d79e4132e762.jpg","text":"TemporaryFile(/tmp/multipartBody1098133191255365766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154693076,"filename":"image_06012025_10_10_02_960027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07edee218f7e989a507f9d8a33e9e78c.jpg","text":"TemporaryFile(/tmp/multipartBody4787585832990442216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154693076,"filename":"image_06012025_10_10_02_960027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb759d099877437917ea79ea0cdce2a9.jpg","text":"TemporaryFile(/tmp/multipartBody962254030874208737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154693076,"filename":"image_06012025_10_10_02_960027_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958945","file1":"1326958940","file0":"1326958938","file3":"1326958948"},"map_files_photo_id_array":[{"photo_id":"1326958945","filename":"file2"},{"photo_id":"1326958940","filename":"file1"},{"photo_id":"1326958938","filename":"file0"},{"photo_id":"1326958948","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958938":["hashtag1","hashtag2"]},{"1326958940":["hashtag1","hashtag2"]},{"1326958945":["hashtag1","hashtag2"]},{"1326958948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958938, 1326958940, 1326958945, 1326958948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16783404350281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:11:21.884750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0003.jpg', '/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0000.jpg', '/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0001.jpg', '/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/10/image_06012025_10_10_02_960027_0003.jpg
/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0000.jpg
/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0001.jpg
/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958971","1326958968","1326958961","1326958964"],"photo_ids_order":["1326958961","1326958964","1326958968","1326958971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4226d188715305b466bb94c25abb2ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7262924785801605793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154751973,"filename":"image_06012025_10_11_03_075104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40a85e79fc31f879ee402ed9fe349f40.jpg","text":"TemporaryFile(/tmp/multipartBody6494694256618711287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154751973,"filename":"image_06012025_10_11_03_075104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbda6a834e51759c2ce2c6e0376e8004.jpg","text":"TemporaryFile(/tmp/multipartBody1824249022877316318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154751973,"filename":"image_06012025_10_10_02_960027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9216705521b3c50d1e8f883c518b154d.jpg","text":"TemporaryFile(/tmp/multipartBody6812711147807111240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154751973,"filename":"image_06012025_10_11_03_075104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958968","file1":"1326958964","file0":"1326958961","file3":"1326958971"},"map_files_photo_id_array":[{"photo_id":"1326958968","filename":"file2"},{"photo_id":"1326958964","filename":"file1"},{"photo_id":"1326958961","filename":"file0"},{"photo_id":"1326958971","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958971":["hashtag1","hashtag2"]},{"1326958968":["hashtag1","hashtag2"]},{"1326958961":["hashtag1","hashtag2"]},{"1326958964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958971, 1326958968, 1326958961, 1326958964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.299240827560425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:12:02.466748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:12:22.099087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0003.jpg', '/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0000.jpg', '/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0001.jpg', '/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/11/image_06012025_10_11_03_075104_0003.jpg
/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0000.jpg
/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0001.jpg
/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326958995","1326958990","1326958984","1326958987"],"photo_ids_order":["1326958984","1326958987","1326958990","1326958995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1692005d836c64561827666f76d1b41e.jpg","text":"TemporaryFile(/tmp/multipartBody8722340302271939454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154812183,"filename":"image_06012025_10_12_02_211509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ca338b7c7b849e88e6f420ca514a416.jpg","text":"TemporaryFile(/tmp/multipartBody2493512067094984832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154812183,"filename":"image_06012025_10_12_02_211509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4543c1e01d4c014a99a742c66db0354b.jpg","text":"TemporaryFile(/tmp/multipartBody7298920501171358221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154812183,"filename":"image_06012025_10_11_03_075104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6627637ad7d74ce6e928f5448e8e23d9.jpg","text":"TemporaryFile(/tmp/multipartBody4962037189112883974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154812183,"filename":"image_06012025_10_12_02_211509_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326958990","file1":"1326958987","file0":"1326958984","file3":"1326958995"},"map_files_photo_id_array":[{"photo_id":"1326958990","filename":"file2"},{"photo_id":"1326958987","filename":"file1"},{"photo_id":"1326958984","filename":"file0"},{"photo_id":"1326958995","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326958995":["hashtag1","hashtag2"]},{"1326958990":["hashtag1","hashtag2"]},{"1326958984":["hashtag1","hashtag2"]},{"1326958987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326958995, 1326958990, 1326958984, 1326958987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03596830368042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:13:02.682404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:13:22.287244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0003.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0000.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0001.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0003.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0000.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0001.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_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.884603500366211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 10:13:42.199469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0003.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0000.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0001.jpg', '/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/12/image_06012025_10_12_02_211509_0003.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0000.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0001.jpg
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_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":["1326959061","1326959064","1326959072","1326959066"],"photo_ids_order":["1326959061","1326959064","1326959066","1326959072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0de4c15f5fa2a68a43eb8c37bdcdf414.jpg","text":"TemporaryFile(/tmp/multipartBody3752673204262213811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154892483,"filename":"image_06012025_10_12_02_211509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd582be95b3ca12ac777b946e29236eb.jpg","text":"TemporaryFile(/tmp/multipartBody1877498733099687809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154892483,"filename":"image_06012025_10_13_02_455972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4502708a6e617b72666cff9ca76ef8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6558165846069397533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154892483,"filename":"image_06012025_10_13_02_455972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0fb694dc6ed14a20d7f4aed2d2490a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3206280527949989663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154892483,"filename":"image_06012025_10_13_02_455972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959066","file1":"1326959064","file0":"1326959061","file3":"1326959072"},"map_files_photo_id_array":[{"photo_id":"1326959066","filename":"file2"},{"photo_id":"1326959064","filename":"file1"},{"photo_id":"1326959061","filename":"file0"},{"photo_id":"1326959072","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959061":["hashtag1","hashtag2"]},{"1326959064":["hashtag1","hashtag2"]},{"1326959072":["hashtag1","hashtag2"]},{"1326959066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959061, 1326959064, 1326959072, 1326959066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94658398628235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:14:22.323199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0003.jpg', '/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0000.jpg', '/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0001.jpg', '/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/13/image_06012025_10_13_02_455972_0003.jpg
/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0000.jpg
/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0001.jpg
/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959235","1326959232","1326959242","1326959239"],"photo_ids_order":["1326959232","1326959235","1326959239","1326959242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d6c42363d871985f8d5fd9cf1100be5.jpg","text":"TemporaryFile(/tmp/multipartBody7373440414926669406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154932568,"filename":"image_06012025_10_14_02_587203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1e125bad74fc6952b11f47519c3449d.jpg","text":"TemporaryFile(/tmp/multipartBody5140474854974507106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154932568,"filename":"image_06012025_10_13_02_455972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/440202ce4545f57f6f678f7ad2cd59b8.jpg","text":"TemporaryFile(/tmp/multipartBody4179540322338727126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154932568,"filename":"image_06012025_10_14_02_587203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/865ce0fd7677a1a754755d9629da1fee.jpg","text":"TemporaryFile(/tmp/multipartBody4444784058506429206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154932568,"filename":"image_06012025_10_14_02_587203_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959239","file1":"1326959235","file0":"1326959232","file3":"1326959242"},"map_files_photo_id_array":[{"photo_id":"1326959239","filename":"file2"},{"photo_id":"1326959235","filename":"file1"},{"photo_id":"1326959232","filename":"file0"},{"photo_id":"1326959242","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959235":["hashtag1","hashtag2"]},{"1326959232":["hashtag1","hashtag2"]},{"1326959242":["hashtag1","hashtag2"]},{"1326959239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959235, 1326959232, 1326959242, 1326959239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50305199623108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:15:03.211869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:15:22.730117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0003.jpg', '/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0000.jpg', '/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0001.jpg', '/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/14/image_06012025_10_14_02_587203_0003.jpg
/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0000.jpg
/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0001.jpg
/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_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":["1326959276","1326959263","1326959272","1326959266"],"photo_ids_order":["1326959263","1326959266","1326959272","1326959276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/691e3df9b17346e7fc6e8cf1ca8e7c74.jpg","text":"TemporaryFile(/tmp/multipartBody5432459677823132902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154992821,"filename":"image_06012025_10_15_02_742435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75909c9b90d3f62620ced6b2689ac994.jpg","text":"TemporaryFile(/tmp/multipartBody1802228163538305048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154992821,"filename":"image_06012025_10_14_02_587203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b654a579a72bd617b109a098850d63ee.jpg","text":"TemporaryFile(/tmp/multipartBody4986884065056901169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154992821,"filename":"image_06012025_10_15_02_742435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/040d858c65a40575c1be6d5b60c541e3.jpg","text":"TemporaryFile(/tmp/multipartBody697295346133231349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736154992821,"filename":"image_06012025_10_15_02_742435_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959272","file1":"1326959266","file0":"1326959263","file3":"1326959276"},"map_files_photo_id_array":[{"photo_id":"1326959272","filename":"file2"},{"photo_id":"1326959266","filename":"file1"},{"photo_id":"1326959263","filename":"file0"},{"photo_id":"1326959276","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959276":["hashtag1","hashtag2"]},{"1326959263":["hashtag1","hashtag2"]},{"1326959272":["hashtag1","hashtag2"]},{"1326959266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959276, 1326959263, 1326959272, 1326959266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.518529653549194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:16:21.795346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0003.jpg', '/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0000.jpg', '/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0001.jpg', '/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/15/image_06012025_10_15_02_742435_0003.jpg
/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0000.jpg
/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0001.jpg
/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959343","1326959304","1326959309","1326959347"],"photo_ids_order":["1326959304","1326959309","1326959343","1326959347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97c353a903b0945a963b47790bd413c0.jpg","text":"TemporaryFile(/tmp/multipartBody2857629439020005643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155052154,"filename":"image_06012025_10_16_03_061430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/384c5a83607df5c4f13aefd245fd6180.jpg","text":"TemporaryFile(/tmp/multipartBody8812933427487975799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155052154,"filename":"image_06012025_10_15_02_742435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1daafd1bb185bb8af0d9abfb1c682096.jpg","text":"TemporaryFile(/tmp/multipartBody1084577019274577418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155052154,"filename":"image_06012025_10_16_03_061430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccfcc25cb0ad375f33169384402dda4f.jpg","text":"TemporaryFile(/tmp/multipartBody366609776931962988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155052154,"filename":"image_06012025_10_16_03_061430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959343","file1":"1326959309","file0":"1326959304","file3":"1326959347"},"map_files_photo_id_array":[{"photo_id":"1326959343","filename":"file2"},{"photo_id":"1326959309","filename":"file1"},{"photo_id":"1326959304","filename":"file0"},{"photo_id":"1326959347","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959343":["hashtag1","hashtag2"]},{"1326959304":["hashtag1","hashtag2"]},{"1326959309":["hashtag1","hashtag2"]},{"1326959347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959343, 1326959304, 1326959309, 1326959347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12864971160889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:17:02.626971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:17:21.943309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0003.jpg', '/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0000.jpg', '/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0001.jpg', '/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/16/image_06012025_10_16_03_061430_0003.jpg
/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0000.jpg
/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0001.jpg
/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959366","1326959374","1326959379","1326959370"],"photo_ids_order":["1326959366","1326959370","1326959374","1326959379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ecd9083a470aea75dbef7b982932b904.jpg","text":"TemporaryFile(/tmp/multipartBody3189954892527130662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155112258,"filename":"image_06012025_10_16_03_061430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dc96f0108629ffd7424bed9cb29ac69.jpg","text":"TemporaryFile(/tmp/multipartBody7609194368497065454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155112258,"filename":"image_06012025_10_17_02_117544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb75025d049fbd9081c020ed8beb0cb4.jpg","text":"TemporaryFile(/tmp/multipartBody6866393198352939170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155112258,"filename":"image_06012025_10_17_02_117544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ff31711732ce9953e59ecd42ecc09b9.jpg","text":"TemporaryFile(/tmp/multipartBody8928495629405751958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155112258,"filename":"image_06012025_10_17_02_117544_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959374","file1":"1326959370","file0":"1326959366","file3":"1326959379"},"map_files_photo_id_array":[{"photo_id":"1326959374","filename":"file2"},{"photo_id":"1326959370","filename":"file1"},{"photo_id":"1326959366","filename":"file0"},{"photo_id":"1326959379","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959366":["hashtag1","hashtag2"]},{"1326959374":["hashtag1","hashtag2"]},{"1326959379":["hashtag1","hashtag2"]},{"1326959370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959366, 1326959374, 1326959379, 1326959370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83319020271301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:18:02.550692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:18:22.100629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0003.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0000.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0001.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0003.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0000.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0001.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_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.895850896835327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 10:18:42.097901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0003.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0000.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0001.jpg', '/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/17/image_06012025_10_17_02_117544_0003.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0000.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0001.jpg
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_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":["1326959554","1326959548","1326959536","1326959539"],"photo_ids_order":["1326959536","1326959539","1326959548","1326959554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d95a5da3da647da39473ef85c270663a.jpg","text":"TemporaryFile(/tmp/multipartBody4264576093588516689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155192394,"filename":"image_06012025_10_18_02_346198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd815b1deb9b555d1a2023dfe5d10cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3918937968720286236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155192394,"filename":"image_06012025_10_18_02_346198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4421498585216d13e0818227297ce12.jpg","text":"TemporaryFile(/tmp/multipartBody193359250141110632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155192394,"filename":"image_06012025_10_17_02_117544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b47d0292068f7b5a74d804d6092d160.jpg","text":"TemporaryFile(/tmp/multipartBody3994933259078826349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155192394,"filename":"image_06012025_10_18_02_346198_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959548","file1":"1326959539","file0":"1326959536","file3":"1326959554"},"map_files_photo_id_array":[{"photo_id":"1326959548","filename":"file2"},{"photo_id":"1326959539","filename":"file1"},{"photo_id":"1326959536","filename":"file0"},{"photo_id":"1326959554","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959554":["hashtag1","hashtag2"]},{"1326959548":["hashtag1","hashtag2"]},{"1326959536":["hashtag1","hashtag2"]},{"1326959539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959554, 1326959548, 1326959536, 1326959539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28170466423035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:19:22.251536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0003.jpg', '/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0000.jpg', '/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0001.jpg', '/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/18/image_06012025_10_18_02_346198_0003.jpg
/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0000.jpg
/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0001.jpg
/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959613","1326959616","1326959570","1326959609"],"photo_ids_order":["1326959570","1326959609","1326959613","1326959616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19bbbeae4509d7ea9c5a0e132f5bbe35.jpg","text":"TemporaryFile(/tmp/multipartBody6474135368413679149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155232587,"filename":"image_06012025_10_19_02_419343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/243962b0c2bf85c1a05cc2805e03588a.jpg","text":"TemporaryFile(/tmp/multipartBody7912524219582738022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155232587,"filename":"image_06012025_10_19_02_419343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67decda1b672fcbda2e76ac9b7f2f81f.jpg","text":"TemporaryFile(/tmp/multipartBody5876450818768285461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155232587,"filename":"image_06012025_10_18_02_346198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3bbcbfe4964663f309d4b53f0f4ed336.jpg","text":"TemporaryFile(/tmp/multipartBody2178491568813212109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155232587,"filename":"image_06012025_10_19_02_419343_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959613","file1":"1326959609","file0":"1326959570","file3":"1326959616"},"map_files_photo_id_array":[{"photo_id":"1326959613","filename":"file2"},{"photo_id":"1326959609","filename":"file1"},{"photo_id":"1326959570","filename":"file0"},{"photo_id":"1326959616","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959613":["hashtag1","hashtag2"]},{"1326959616":["hashtag1","hashtag2"]},{"1326959570":["hashtag1","hashtag2"]},{"1326959609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959613, 1326959616, 1326959570, 1326959609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.67987871170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:20:02.947789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:20:22.493209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0003.jpg', '/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0000.jpg', '/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0001.jpg', '/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/19/image_06012025_10_19_02_419343_0003.jpg
/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0000.jpg
/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0001.jpg
/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959646","1326959649","1326959642","1326959644"],"photo_ids_order":["1326959642","1326959644","1326959646","1326959649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f49a84eb7e95fe988381fc658addc55.jpg","text":"TemporaryFile(/tmp/multipartBody4055459441294002172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155292684,"filename":"image_06012025_10_20_02_630694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb197e6000dc9cda2b912026124befe5.jpg","text":"TemporaryFile(/tmp/multipartBody3700784313237859148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155292684,"filename":"image_06012025_10_20_02_630694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f1a5a07676746f9d4bed95c53c51e75.jpg","text":"TemporaryFile(/tmp/multipartBody6527194024337097411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155292684,"filename":"image_06012025_10_19_02_419343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91472e58ad812ec70522cec2bce96fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3218213327824540180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155292684,"filename":"image_06012025_10_20_02_630694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959646","file1":"1326959644","file0":"1326959642","file3":"1326959649"},"map_files_photo_id_array":[{"photo_id":"1326959646","filename":"file2"},{"photo_id":"1326959644","filename":"file1"},{"photo_id":"1326959642","filename":"file0"},{"photo_id":"1326959649","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959646":["hashtag1","hashtag2"]},{"1326959649":["hashtag1","hashtag2"]},{"1326959642":["hashtag1","hashtag2"]},{"1326959644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959646, 1326959649, 1326959642, 1326959644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63319420814514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:21:03.289082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:21:22.725954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0003.jpg', '/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0000.jpg', '/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0001.jpg', '/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/20/image_06012025_10_20_02_630694_0003.jpg
/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0000.jpg
/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0001.jpg
/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_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":["1326959679","1326959681","1326959675","1326959683"],"photo_ids_order":["1326959675","1326959679","1326959681","1326959683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bd4e41d6848437ce52a9d3b99c15579.jpg","text":"TemporaryFile(/tmp/multipartBody7452234641186610317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155352942,"filename":"image_06012025_10_21_02_806574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5aada2e1aff3deeb3bee97599189c701.jpg","text":"TemporaryFile(/tmp/multipartBody1694209997440666966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155352942,"filename":"image_06012025_10_21_02_806574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c00ba1a223aede3c3c88760232e3b5f.jpg","text":"TemporaryFile(/tmp/multipartBody650603646783771296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155352942,"filename":"image_06012025_10_20_02_630694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3831548eda421aeed8350650e5bb6e02.jpg","text":"TemporaryFile(/tmp/multipartBody4262738010147651233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155352942,"filename":"image_06012025_10_21_02_806574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959681","file1":"1326959679","file0":"1326959675","file3":"1326959683"},"map_files_photo_id_array":[{"photo_id":"1326959681","filename":"file2"},{"photo_id":"1326959679","filename":"file1"},{"photo_id":"1326959675","filename":"file0"},{"photo_id":"1326959683","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959679":["hashtag1","hashtag2"]},{"1326959681":["hashtag1","hashtag2"]},{"1326959675":["hashtag1","hashtag2"]},{"1326959683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959679, 1326959681, 1326959675, 1326959683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.706559896469116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:22:21.858322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0003.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0000.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0001.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0003.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0000.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0001.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_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.713639736175537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 10:22:41.849884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0003.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0000.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0001.jpg', '/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/21/image_06012025_10_21_02_806574_0003.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0000.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0001.jpg
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_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":["1326959790","1326959782","1326959793","1326959787"],"photo_ids_order":["1326959782","1326959787","1326959790","1326959793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22120f7f0e9ad45e00f2d1e918050ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7579916748004986256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155431949,"filename":"image_06012025_10_22_03_036331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4194b3e6f426a078a20e76803597e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody7490733633113379340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155431949,"filename":"image_06012025_10_21_02_806574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f13d984f14063ccb730ca276ae45ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody1638467838512010127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155431949,"filename":"image_06012025_10_22_03_036331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e6eefe9a4bb295881d21eb6e304f43b.jpg","text":"TemporaryFile(/tmp/multipartBody8507865035202445204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155431949,"filename":"image_06012025_10_22_03_036331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959790","file1":"1326959787","file0":"1326959782","file3":"1326959793"},"map_files_photo_id_array":[{"photo_id":"1326959790","filename":"file2"},{"photo_id":"1326959787","filename":"file1"},{"photo_id":"1326959782","filename":"file0"},{"photo_id":"1326959793","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959790":["hashtag1","hashtag2"]},{"1326959782":["hashtag1","hashtag2"]},{"1326959793":["hashtag1","hashtag2"]},{"1326959787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959790, 1326959782, 1326959793, 1326959787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6211678981781 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-06 10:23:32.050628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0003.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0000.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0001.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0003.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0000.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0001.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_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.658501148223877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 10:23:52.021856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0003.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0000.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0001.jpg', '/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/22/image_06012025_10_22_03_036331_0003.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0000.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0001.jpg
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_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":["1326959819","1326959827","1326959821","1326959824"],"photo_ids_order":["1326959819","1326959821","1326959824","1326959827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10445ce07f304b68d853d08338ba8195.jpg","text":"TemporaryFile(/tmp/multipartBody1090796532002019932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155502128,"filename":"image_06012025_10_22_03_036331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77da32c5be12d56756f8b3bbad663a4c.jpg","text":"TemporaryFile(/tmp/multipartBody589865059458420733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155502128,"filename":"image_06012025_10_23_02_231158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/477c3c7e65d57109259de27b154fc227.jpg","text":"TemporaryFile(/tmp/multipartBody557073550767920237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155502128,"filename":"image_06012025_10_23_02_231158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/763b7a55fd8fc22636764dbba8a80789.jpg","text":"TemporaryFile(/tmp/multipartBody6983079227655962153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155502128,"filename":"image_06012025_10_23_02_231158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959824","file1":"1326959821","file0":"1326959819","file3":"1326959827"},"map_files_photo_id_array":[{"photo_id":"1326959824","filename":"file2"},{"photo_id":"1326959821","filename":"file1"},{"photo_id":"1326959819","filename":"file0"},{"photo_id":"1326959827","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959819":["hashtag1","hashtag2"]},{"1326959827":["hashtag1","hashtag2"]},{"1326959821":["hashtag1","hashtag2"]},{"1326959824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959819, 1326959827, 1326959821, 1326959824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.81008338928223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 10:24:32.213493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0003.jpg', '/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0000.jpg', '/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0001.jpg', '/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/23/image_06012025_10_23_02_231158_0003.jpg
/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0000.jpg
/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0001.jpg
/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326959852","1326959849","1326959845","1326959842"],"photo_ids_order":["1326959842","1326959845","1326959849","1326959852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fc7172cf4cfe76b5752bf95fef857e4.jpg","text":"TemporaryFile(/tmp/multipartBody1936131165298374651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155542431,"filename":"image_06012025_10_24_02_409262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e748a134adc9c4fbc9e1cf4952fdf50.jpg","text":"TemporaryFile(/tmp/multipartBody2821262971707973805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155542431,"filename":"image_06012025_10_24_02_409262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d6cd0913135ee9a84f66aa3b9b49edb.jpg","text":"TemporaryFile(/tmp/multipartBody1181171220913714833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155542431,"filename":"image_06012025_10_24_02_409262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/962928792a35a5218ebdf4898de968cd.jpg","text":"TemporaryFile(/tmp/multipartBody8883062314448721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155542431,"filename":"image_06012025_10_23_02_231158_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326959849","file1":"1326959845","file0":"1326959842","file3":"1326959852"},"map_files_photo_id_array":[{"photo_id":"1326959849","filename":"file2"},{"photo_id":"1326959845","filename":"file1"},{"photo_id":"1326959842","filename":"file0"},{"photo_id":"1326959852","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326959852":["hashtag1","hashtag2"]},{"1326959849":["hashtag1","hashtag2"]},{"1326959845":["hashtag1","hashtag2"]},{"1326959842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326959852, 1326959849, 1326959845, 1326959842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.54245400428772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:25:22.377101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0003.jpg', '/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0000.jpg', '/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0001.jpg', '/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/24/image_06012025_10_24_02_409262_0003.jpg
/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0000.jpg
/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0001.jpg
/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_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":["1326960127","1326959891","1326960045","1326960006"],"photo_ids_order":["1326959891","1326960006","1326960045","1326960127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4c0297f30722fb549a843d3179afd15.jpg","text":"TemporaryFile(/tmp/multipartBody1830311505770695348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155592609,"filename":"image_06012025_10_25_02_619410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bdd580012dbd3eb27720ac40b4b1574.jpg","text":"TemporaryFile(/tmp/multipartBody5358107961737650602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155592609,"filename":"image_06012025_10_24_02_409262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2c912daa6621feb8a14e6a2a9c9f27e.jpg","text":"TemporaryFile(/tmp/multipartBody7522634279414397465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155592609,"filename":"image_06012025_10_25_02_619410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1464bbd36c75aa8e0bb5f4353398257.jpg","text":"TemporaryFile(/tmp/multipartBody413679279374976312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155592609,"filename":"image_06012025_10_25_02_619410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960045","file1":"1326960006","file0":"1326959891","file3":"1326960127"},"map_files_photo_id_array":[{"photo_id":"1326960045","filename":"file2"},{"photo_id":"1326960006","filename":"file1"},{"photo_id":"1326959891","filename":"file0"},{"photo_id":"1326960127","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960127":["hashtag1","hashtag2"]},{"1326959891":["hashtag1","hashtag2"]},{"1326960045":["hashtag1","hashtag2"]},{"1326960006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960127, 1326959891, 1326960045, 1326960006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29580903053284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:26:22.598382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0003.jpg', '/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0000.jpg', '/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0001.jpg', '/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/25/image_06012025_10_25_02_619410_0003.jpg
/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0000.jpg
/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0001.jpg
/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326960208","1326960202","1326960204","1326960212"],"photo_ids_order":["1326960202","1326960204","1326960208","1326960212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9c0be543c808c6a2d5917ae0d96c820.jpg","text":"TemporaryFile(/tmp/multipartBody2252398647358994862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155652854,"filename":"image_06012025_10_26_02_765972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0373b0b62a14ef956985c81762795f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5154264638835185674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155652854,"filename":"image_06012025_10_25_02_619410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/244fc4a4c5b4eb3390ecbd490a2926de.jpg","text":"TemporaryFile(/tmp/multipartBody1319664242047632035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155652854,"filename":"image_06012025_10_26_02_765972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/259435beba13ac2ce2fb1dc637f11114.jpg","text":"TemporaryFile(/tmp/multipartBody5227108208974903556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155652854,"filename":"image_06012025_10_26_02_765972_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960208","file1":"1326960204","file0":"1326960202","file3":"1326960212"},"map_files_photo_id_array":[{"photo_id":"1326960208","filename":"file2"},{"photo_id":"1326960204","filename":"file1"},{"photo_id":"1326960202","filename":"file0"},{"photo_id":"1326960212","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960208":["hashtag1","hashtag2"]},{"1326960202":["hashtag1","hashtag2"]},{"1326960204":["hashtag1","hashtag2"]},{"1326960212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960208, 1326960202, 1326960204, 1326960212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39632201194763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:27:03.206474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:27:22.862261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0003.jpg', '/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0000.jpg', '/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0001.jpg', '/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/26/image_06012025_10_26_02_765972_0003.jpg
/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0000.jpg
/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0001.jpg
/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_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":["1326960240","1326960237","1326960231","1326960233"],"photo_ids_order":["1326960231","1326960233","1326960237","1326960240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38110be636579672199a75810b3c753a.jpg","text":"TemporaryFile(/tmp/multipartBody2691522755846252965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155713214,"filename":"image_06012025_10_27_02_914162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b7d3a00bb5c7f524ac0fd8cf6d19190.jpg","text":"TemporaryFile(/tmp/multipartBody7499196625718572888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155713214,"filename":"image_06012025_10_27_02_914162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d78adb30025c90ca11d06923429177e.jpg","text":"TemporaryFile(/tmp/multipartBody8060021779831863215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155713214,"filename":"image_06012025_10_26_02_765972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2d532cec962498d9332210b705c70fe.jpg","text":"TemporaryFile(/tmp/multipartBody3405627093612042572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155713214,"filename":"image_06012025_10_27_02_914162_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960237","file1":"1326960233","file0":"1326960231","file3":"1326960240"},"map_files_photo_id_array":[{"photo_id":"1326960237","filename":"file2"},{"photo_id":"1326960233","filename":"file1"},{"photo_id":"1326960231","filename":"file0"},{"photo_id":"1326960240","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960240":["hashtag1","hashtag2"]},{"1326960237":["hashtag1","hashtag2"]},{"1326960231":["hashtag1","hashtag2"]},{"1326960233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960240, 1326960237, 1326960231, 1326960233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06702923774719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:28:21.900874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0003.jpg', '/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0000.jpg', '/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0001.jpg', '/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/27/image_06012025_10_27_02_914162_0003.jpg
/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0000.jpg
/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0001.jpg
/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326960406","1326960307","1326960301","1326960267"],"photo_ids_order":["1326960267","1326960301","1326960307","1326960406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e337a9faf0c73ec6f25a98a86b73e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7440480990622733083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155772161,"filename":"image_06012025_10_28_03_190642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e5766e7fb74d9ab105e306ca8eb6af5.jpg","text":"TemporaryFile(/tmp/multipartBody6882527825399787435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155772161,"filename":"image_06012025_10_28_03_190642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d960eb9edb8bda71c711a2cda10b158.jpg","text":"TemporaryFile(/tmp/multipartBody8499069061317330127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155772161,"filename":"image_06012025_10_28_03_190642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b741766a69bb08bd368d9404dfe5b5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1296045751378058246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155772161,"filename":"image_06012025_10_27_02_914162_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960307","file1":"1326960301","file0":"1326960267","file3":"1326960406"},"map_files_photo_id_array":[{"photo_id":"1326960307","filename":"file2"},{"photo_id":"1326960301","filename":"file1"},{"photo_id":"1326960267","filename":"file0"},{"photo_id":"1326960406","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960406":["hashtag1","hashtag2"]},{"1326960307":["hashtag1","hashtag2"]},{"1326960301":["hashtag1","hashtag2"]},{"1326960267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960406, 1326960307, 1326960301, 1326960267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76882815361023 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-06 10:29:22.160457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0003.jpg', '/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0000.jpg', '/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0001.jpg', '/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/28/image_06012025_10_28_03_190642_0003.jpg
/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0000.jpg
/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0001.jpg
/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326960492","1326960501","1326960494","1326960497"],"photo_ids_order":["1326960492","1326960494","1326960497","1326960501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce258ee78b7bc78fb3105067e33ed488.jpg","text":"TemporaryFile(/tmp/multipartBody6869210883594000478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155832309,"filename":"image_06012025_10_28_03_190642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f98ccab531d66992a004323c604e4cc.jpg","text":"TemporaryFile(/tmp/multipartBody5777570157383660253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155832309,"filename":"image_06012025_10_29_02_299940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3ed91ecf3bfb2f51934e1818b4e0b98.jpg","text":"TemporaryFile(/tmp/multipartBody2218935122724975386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155832309,"filename":"image_06012025_10_29_02_299940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b741ad2024a5e6a77db12eebe1da6648.jpg","text":"TemporaryFile(/tmp/multipartBody720259324652331243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155832309,"filename":"image_06012025_10_29_02_299940_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960497","file1":"1326960494","file0":"1326960492","file3":"1326960501"},"map_files_photo_id_array":[{"photo_id":"1326960497","filename":"file2"},{"photo_id":"1326960494","filename":"file1"},{"photo_id":"1326960492","filename":"file0"},{"photo_id":"1326960501","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960492":["hashtag1","hashtag2"]},{"1326960501":["hashtag1","hashtag2"]},{"1326960494":["hashtag1","hashtag2"]},{"1326960497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960492, 1326960501, 1326960494, 1326960497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07324457168579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:30:02.629699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:30:22.299972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0003.jpg', '/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0000.jpg', '/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0001.jpg', '/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/29/image_06012025_10_29_02_299940_0003.jpg
/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0000.jpg
/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0001.jpg
/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326960672","1326960669","1326960663","1326960665"],"photo_ids_order":["1326960663","1326960665","1326960669","1326960672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b480e483af12f66289236a878b2369ba.jpg","text":"TemporaryFile(/tmp/multipartBody662352946625798849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155892479,"filename":"image_06012025_10_30_02_457283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6a066f3e24c66c84eb7ebeb8cae0609.jpg","text":"TemporaryFile(/tmp/multipartBody27290370021943840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155892479,"filename":"image_06012025_10_30_02_457283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50bd10775700ac3a6cd565aa59b5c811.jpg","text":"TemporaryFile(/tmp/multipartBody4540680692430056145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155892479,"filename":"image_06012025_10_29_02_299940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d7ee08ef44f3adaa23b4212f813250b.jpg","text":"TemporaryFile(/tmp/multipartBody9017645481849050997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155892479,"filename":"image_06012025_10_30_02_457283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960669","file1":"1326960665","file0":"1326960663","file3":"1326960672"},"map_files_photo_id_array":[{"photo_id":"1326960669","filename":"file2"},{"photo_id":"1326960665","filename":"file1"},{"photo_id":"1326960663","filename":"file0"},{"photo_id":"1326960672","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960672":["hashtag1","hashtag2"]},{"1326960669":["hashtag1","hashtag2"]},{"1326960663":["hashtag1","hashtag2"]},{"1326960665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960672, 1326960669, 1326960663, 1326960665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5911762714386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:31:03.236273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:31:22.492854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0003.jpg', '/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0000.jpg', '/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0001.jpg', '/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/30/image_06012025_10_30_02_457283_0003.jpg
/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0000.jpg
/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0001.jpg
/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_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":["1326960736","1326960729","1326960698","1326960733"],"photo_ids_order":["1326960698","1326960729","1326960733","1326960736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00bf37fca6d2585669dca0041b8bd342.jpg","text":"TemporaryFile(/tmp/multipartBody8652099670017180404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155952776,"filename":"image_06012025_10_31_02_725044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bdf08b6a10d25f91a85a83569715d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5734143726970036224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155952776,"filename":"image_06012025_10_31_02_725044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0539aa14dd8335a938e4f2b3fe966953.jpg","text":"TemporaryFile(/tmp/multipartBody7744109933666670162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155952776,"filename":"image_06012025_10_30_02_457283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16f9170f60ad0afca9d6d060e7f9bcc0.jpg","text":"TemporaryFile(/tmp/multipartBody6039812329588260112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736155952776,"filename":"image_06012025_10_31_02_725044_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326960733","file1":"1326960729","file0":"1326960698","file3":"1326960736"},"map_files_photo_id_array":[{"photo_id":"1326960733","filename":"file2"},{"photo_id":"1326960729","filename":"file1"},{"photo_id":"1326960698","filename":"file0"},{"photo_id":"1326960736","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326960736":["hashtag1","hashtag2"]},{"1326960729":["hashtag1","hashtag2"]},{"1326960698":["hashtag1","hashtag2"]},{"1326960733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326960736, 1326960729, 1326960698, 1326960733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.99041295051575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:32:22.667078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0003.jpg', '/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0000.jpg', '/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0001.jpg', '/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/31/image_06012025_10_31_02_725044_0003.jpg
/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0000.jpg
/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0001.jpg
/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_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":["1326961058","1326961013","1326961010","1326961048"],"photo_ids_order":["1326961010","1326961013","1326961048","1326961058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/551f259094fdf58cf5173df9e3573db0.jpg","text":"TemporaryFile(/tmp/multipartBody1031281868831139665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156012962,"filename":"image_06012025_10_32_02_808437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/274f2fccee1e856645f789252c2ae9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7786609248834950158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156012962,"filename":"image_06012025_10_32_02_808437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b9bab1a15cbdbc8fee3ccb9278e3b99.jpg","text":"TemporaryFile(/tmp/multipartBody1118233348801749151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156012962,"filename":"image_06012025_10_31_02_725044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e50f852913d05e1b6035ab1a568a65b.jpg","text":"TemporaryFile(/tmp/multipartBody2947170924240818956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156012962,"filename":"image_06012025_10_32_02_808437_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961048","file1":"1326961013","file0":"1326961010","file3":"1326961058"},"map_files_photo_id_array":[{"photo_id":"1326961048","filename":"file2"},{"photo_id":"1326961013","filename":"file1"},{"photo_id":"1326961010","filename":"file0"},{"photo_id":"1326961058","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961058":["hashtag1","hashtag2"]},{"1326961013":["hashtag1","hashtag2"]},{"1326961010":["hashtag1","hashtag2"]},{"1326961048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961058, 1326961013, 1326961010, 1326961048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26979732513428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:33:21.823337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0003.jpg', '/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0000.jpg', '/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0001.jpg', '/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/32/image_06012025_10_32_02_808437_0003.jpg
/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0000.jpg
/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0001.jpg
/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961080","1326961076","1326961084","1326961072"],"photo_ids_order":["1326961072","1326961076","1326961080","1326961084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0c41fde624049841f9eea6e83a2032c.jpg","text":"TemporaryFile(/tmp/multipartBody7262273580272698675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156071947,"filename":"image_06012025_10_33_03_012883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab63e9bfa611d0646c141b7bca7d600e.jpg","text":"TemporaryFile(/tmp/multipartBody2583761669668307494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156071947,"filename":"image_06012025_10_33_03_012883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24ea9392a33647ed5925226556b9677f.jpg","text":"TemporaryFile(/tmp/multipartBody5385011567902813709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156071947,"filename":"image_06012025_10_33_03_012883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7040658af0ea938e3bffd93015813fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4678978909204121885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156071947,"filename":"image_06012025_10_32_02_808437_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961080","file1":"1326961076","file0":"1326961072","file3":"1326961084"},"map_files_photo_id_array":[{"photo_id":"1326961080","filename":"file2"},{"photo_id":"1326961076","filename":"file1"},{"photo_id":"1326961072","filename":"file0"},{"photo_id":"1326961084","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961080":["hashtag1","hashtag2"]},{"1326961076":["hashtag1","hashtag2"]},{"1326961084":["hashtag1","hashtag2"]},{"1326961072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961080, 1326961076, 1326961084, 1326961072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.139111042022705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:34:02.340616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:34:22.052389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0003.jpg', '/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0000.jpg', '/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0001.jpg', '/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/33/image_06012025_10_33_03_012883_0003.jpg
/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0000.jpg
/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0001.jpg
/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961113","1326961125","1326961120","1326961108"],"photo_ids_order":["1326961108","1326961113","1326961120","1326961125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/269e549984e8bd0b6892d02810f48168.jpg","text":"TemporaryFile(/tmp/multipartBody5141796651452727974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156132344,"filename":"image_06012025_10_34_02_206121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b442a327477497438db5b51712c81d91.jpg","text":"TemporaryFile(/tmp/multipartBody8628564021155068839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156132344,"filename":"image_06012025_10_34_02_206121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aabeae02e4f34784453e30c60b2c5b0f.jpg","text":"TemporaryFile(/tmp/multipartBody3103502813512733755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156132344,"filename":"image_06012025_10_34_02_206121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5183b38e8354871ce42bfbbd437f41ed.jpg","text":"TemporaryFile(/tmp/multipartBody2325236050128891660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156132344,"filename":"image_06012025_10_33_03_012883_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961120","file1":"1326961113","file0":"1326961108","file3":"1326961125"},"map_files_photo_id_array":[{"photo_id":"1326961120","filename":"file2"},{"photo_id":"1326961113","filename":"file1"},{"photo_id":"1326961108","filename":"file0"},{"photo_id":"1326961125","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961113":["hashtag1","hashtag2"]},{"1326961125":["hashtag1","hashtag2"]},{"1326961120":["hashtag1","hashtag2"]},{"1326961108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961113, 1326961125, 1326961120, 1326961108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.758862018585205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:35:02.862440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:35:22.152554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0003.jpg', '/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0000.jpg', '/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0001.jpg', '/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/34/image_06012025_10_34_02_206121_0003.jpg
/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0000.jpg
/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0001.jpg
/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961179","1326961175","1326961171","1326961204"],"photo_ids_order":["1326961171","1326961175","1326961179","1326961204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c484c2dc403f883f5c20d26d2f789b51.jpg","text":"TemporaryFile(/tmp/multipartBody463727720048701442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156192337,"filename":"image_06012025_10_35_02_352345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c659c5c08ed8952e76ca1937aab933c6.jpg","text":"TemporaryFile(/tmp/multipartBody3658233040782469173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156192337,"filename":"image_06012025_10_35_02_352345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/871311f78eb140751259c9da52189949.jpg","text":"TemporaryFile(/tmp/multipartBody1046787887567460626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156192337,"filename":"image_06012025_10_34_02_206121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0bef6992002cf154c5baec7d7ebb30d3.jpg","text":"TemporaryFile(/tmp/multipartBody451467760145394421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156192337,"filename":"image_06012025_10_35_02_352345_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961179","file1":"1326961175","file0":"1326961171","file3":"1326961204"},"map_files_photo_id_array":[{"photo_id":"1326961179","filename":"file2"},{"photo_id":"1326961175","filename":"file1"},{"photo_id":"1326961171","filename":"file0"},{"photo_id":"1326961204","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961179":["hashtag1","hashtag2"]},{"1326961175":["hashtag1","hashtag2"]},{"1326961171":["hashtag1","hashtag2"]},{"1326961204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961179, 1326961175, 1326961171, 1326961204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28416299819946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:36:02.785971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:36:22.368813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0003.jpg', '/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0000.jpg', '/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/35/image_06012025_10_35_02_352345_0003.jpg
/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0000.jpg
/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961257","1326961253","1326961261"],"photo_ids_order":["1326961253","1326961257","1326961261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f85e1b97ad416116375494cfae523739.jpg","text":"TemporaryFile(/tmp/multipartBody5837999650821202358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156250179,"filename":"image_06012025_10_36_02_463511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/127da9a82c2c704d2d06fa6de05a742e.jpg","text":"TemporaryFile(/tmp/multipartBody6389288560494567854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156250179,"filename":"image_06012025_10_35_02_352345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/481749e55ee39a80c9a1ec8d59265636.jpg","text":"TemporaryFile(/tmp/multipartBody8895147632060218493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156250179,"filename":"image_06012025_10_36_02_463511_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961261","file1":"1326961257","file0":"1326961253"},"map_files_photo_id_array":[{"photo_id":"1326961261","filename":"file2"},{"photo_id":"1326961257","filename":"file1"},{"photo_id":"1326961253","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961257":["hashtag1","hashtag2"]},{"1326961253":["hashtag1","hashtag2"]},{"1326961261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961257, 1326961253, 1326961261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.53988480567932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:37:03.034501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:37:22.506551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0003.jpg', '/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0000.jpg', '/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0001.jpg', '/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/36/image_06012025_10_36_02_463511_0003.jpg
/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0000.jpg
/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0001.jpg
/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961299","1326961290","1326961292","1326961295"],"photo_ids_order":["1326961290","1326961292","1326961295","1326961299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e7ea161c23fa9551d85b0704a9dedea.jpg","text":"TemporaryFile(/tmp/multipartBody3149295970847048849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156312596,"filename":"image_06012025_10_37_02_749284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a2025d1a3dbfc6278147be3d1d325ae.jpg","text":"TemporaryFile(/tmp/multipartBody4392914064105543783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156312596,"filename":"image_06012025_10_36_02_463511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eb70f2af2958444bfd0489199d9199a.jpg","text":"TemporaryFile(/tmp/multipartBody5528648756280709892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156312596,"filename":"image_06012025_10_37_02_749284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da4c1cc67bf6ed3eccc0c06010bc50bb.jpg","text":"TemporaryFile(/tmp/multipartBody3147806694416819006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156312596,"filename":"image_06012025_10_37_02_749284_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961295","file1":"1326961292","file0":"1326961290","file3":"1326961299"},"map_files_photo_id_array":[{"photo_id":"1326961295","filename":"file2"},{"photo_id":"1326961292","filename":"file1"},{"photo_id":"1326961290","filename":"file0"},{"photo_id":"1326961299","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961299":["hashtag1","hashtag2"]},{"1326961290":["hashtag1","hashtag2"]},{"1326961292":["hashtag1","hashtag2"]},{"1326961295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961299, 1326961290, 1326961292, 1326961295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66590595245361 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-06 10:38:22.734345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0003.jpg', '/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0000.jpg', '/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0001.jpg', '/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/37/image_06012025_10_37_02_749284_0003.jpg
/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0000.jpg
/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0001.jpg
/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_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":["1326961317","1326961334","1326961331","1326961327"],"photo_ids_order":["1326961317","1326961327","1326961331","1326961334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0de0b273284d7c1556ad44a64221d86.jpg","text":"TemporaryFile(/tmp/multipartBody734188776263268552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156372678,"filename":"image_06012025_10_37_02_749284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a90babc4ec03da13c5353eb58857971b.jpg","text":"TemporaryFile(/tmp/multipartBody8167589887649407316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156372678,"filename":"image_06012025_10_38_02_961933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1da1864c819d4d4694930c6bd4708e46.jpg","text":"TemporaryFile(/tmp/multipartBody2791981198897769606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156372678,"filename":"image_06012025_10_38_02_961933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56cc0b37dbf962a42a003a6896bc59e5.jpg","text":"TemporaryFile(/tmp/multipartBody5887296332930885129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156372678,"filename":"image_06012025_10_38_02_961933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961331","file1":"1326961327","file0":"1326961317","file3":"1326961334"},"map_files_photo_id_array":[{"photo_id":"1326961331","filename":"file2"},{"photo_id":"1326961327","filename":"file1"},{"photo_id":"1326961317","filename":"file0"},{"photo_id":"1326961334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961317":["hashtag1","hashtag2"]},{"1326961334":["hashtag1","hashtag2"]},{"1326961331":["hashtag1","hashtag2"]},{"1326961327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961317, 1326961334, 1326961331, 1326961327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83382773399353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:39:21.874920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0003.jpg', '/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0000.jpg', '/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0001.jpg', '/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/38/image_06012025_10_38_02_961933_0003.jpg
/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0000.jpg
/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0001.jpg
/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_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":["1326961398","1326961347","1326961352","1326961393"],"photo_ids_order":["1326961347","1326961352","1326961393","1326961398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96fcbcd1603fb58e84631fdf33cd418b.jpg","text":"TemporaryFile(/tmp/multipartBody5880264003308032579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156432082,"filename":"image_06012025_10_39_03_127561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8edbc2a7c20a80781a50b3d33287d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4443145373914741180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156432082,"filename":"image_06012025_10_38_02_961933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb1fb7e1bc9d7fe8728d363f863e4bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8813121792558736887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156432082,"filename":"image_06012025_10_39_03_127561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7d4e62712f0a0db039737202b4999a8.jpg","text":"TemporaryFile(/tmp/multipartBody6680710761080031160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156432082,"filename":"image_06012025_10_39_03_127561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961393","file1":"1326961352","file0":"1326961347","file3":"1326961398"},"map_files_photo_id_array":[{"photo_id":"1326961393","filename":"file2"},{"photo_id":"1326961352","filename":"file1"},{"photo_id":"1326961347","filename":"file0"},{"photo_id":"1326961398","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961398":["hashtag1","hashtag2"]},{"1326961347":["hashtag1","hashtag2"]},{"1326961352":["hashtag1","hashtag2"]},{"1326961393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961398, 1326961347, 1326961352, 1326961393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.163901805877686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:40:22.101558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0003.jpg', '/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0001.jpg', '/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/39/image_06012025_10_39_03_127561_0003.jpg
/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0001.jpg
/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961425","1326961428","1326961421"],"photo_ids_order":["1326961421","1326961425","1326961428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/554f5c0aaf2f4a0e66571d963c662d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4114334736503210913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156489763,"filename":"image_06012025_10_40_02_218367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6da7baa5b48b113ccc37de43b1cb103c.jpg","text":"TemporaryFile(/tmp/multipartBody9060885060891095499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156489763,"filename":"image_06012025_10_40_02_218367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3e8b26becc07a9f5967289483bf23bb.jpg","text":"TemporaryFile(/tmp/multipartBody1976073425708789020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156489763,"filename":"image_06012025_10_39_03_127561_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961428","file1":"1326961425","file0":"1326961421"},"map_files_photo_id_array":[{"photo_id":"1326961428","filename":"file2"},{"photo_id":"1326961425","filename":"file1"},{"photo_id":"1326961421","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961425":["hashtag1","hashtag2"]},{"1326961428":["hashtag1","hashtag2"]},{"1326961421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961425, 1326961428, 1326961421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.677391290664673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:41:02.878379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:41:22.249383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0003.jpg', '/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0000.jpg', '/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0001.jpg', '/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/40/image_06012025_10_40_02_218367_0003.jpg
/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0000.jpg
/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0001.jpg
/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_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":["1326961479","1326961484","1326961472","1326961468"],"photo_ids_order":["1326961468","1326961472","1326961479","1326961484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a36a02b0b5f216b5fc3432df43f0dcdc.jpg","text":"TemporaryFile(/tmp/multipartBody3217707137627932444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156552613,"filename":"image_06012025_10_41_02_461952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6286b507e7ba55bf97830a498857ff63.jpg","text":"TemporaryFile(/tmp/multipartBody8297455245623171770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156552613,"filename":"image_06012025_10_41_02_461952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41110430d6011b94aa9fbfd29bcc7d94.jpg","text":"TemporaryFile(/tmp/multipartBody5776803973492556946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156552613,"filename":"image_06012025_10_41_02_461952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a262c441aacade21927aa8b0c555775.jpg","text":"TemporaryFile(/tmp/multipartBody5660156517572075515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156552613,"filename":"image_06012025_10_40_02_218367_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961479","file1":"1326961472","file0":"1326961468","file3":"1326961484"},"map_files_photo_id_array":[{"photo_id":"1326961479","filename":"file2"},{"photo_id":"1326961472","filename":"file1"},{"photo_id":"1326961468","filename":"file0"},{"photo_id":"1326961484","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961479":["hashtag1","hashtag2"]},{"1326961484":["hashtag1","hashtag2"]},{"1326961472":["hashtag1","hashtag2"]},{"1326961468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961479, 1326961484, 1326961472, 1326961468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17100691795349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:42:22.435133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0003.jpg', '/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0000.jpg', '/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0001.jpg', '/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/41/image_06012025_10_41_02_461952_0003.jpg
/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0000.jpg
/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0001.jpg
/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961575","1326961578","1326961583","1326961588"],"photo_ids_order":["1326961575","1326961578","1326961583","1326961588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/200683fbf948b25b6be22fe5e635e8f2.jpg","text":"TemporaryFile(/tmp/multipartBody7808025936778202111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156612540,"filename":"image_06012025_10_41_02_461952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c19bd1f00b92d1cf14135a20a34f3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7379931116964723857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156612540,"filename":"image_06012025_10_42_02_649934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c715fb46044830c169500aaf68dfe47e.jpg","text":"TemporaryFile(/tmp/multipartBody435169538560876838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156612540,"filename":"image_06012025_10_42_02_649934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d79c70f8cc3c131ff29c9e7c3befd51.jpg","text":"TemporaryFile(/tmp/multipartBody4248258035082712678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156612540,"filename":"image_06012025_10_42_02_649934_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961583","file1":"1326961578","file0":"1326961575","file3":"1326961588"},"map_files_photo_id_array":[{"photo_id":"1326961583","filename":"file2"},{"photo_id":"1326961578","filename":"file1"},{"photo_id":"1326961575","filename":"file0"},{"photo_id":"1326961588","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961575":["hashtag1","hashtag2"]},{"1326961578":["hashtag1","hashtag2"]},{"1326961583":["hashtag1","hashtag2"]},{"1326961588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961575, 1326961578, 1326961583, 1326961588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2059645652771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:43:03.161326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:43:22.658560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0003.jpg', '/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0000.jpg', '/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0001.jpg', '/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/42/image_06012025_10_42_02_649934_0003.jpg
/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0000.jpg
/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0001.jpg
/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961623","1326961626","1326961618","1326961621"],"photo_ids_order":["1326961618","1326961621","1326961623","1326961626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52095d70ba2c82195153d7f516b33a89.jpg","text":"TemporaryFile(/tmp/multipartBody8392452557430000501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156672795,"filename":"image_06012025_10_43_02_845278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/256ed36c42b66ae46cbbaf02b18c6a89.jpg","text":"TemporaryFile(/tmp/multipartBody1988144839994372281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156672795,"filename":"image_06012025_10_43_02_845278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57c0b83a9c2d9ff20014fcf6550a9f62.jpg","text":"TemporaryFile(/tmp/multipartBody4110788367668004205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156672795,"filename":"image_06012025_10_42_02_649934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3e31b328d700ebebaa6b3415191b678.jpg","text":"TemporaryFile(/tmp/multipartBody335854051669284844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156672795,"filename":"image_06012025_10_43_02_845278_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961623","file1":"1326961621","file0":"1326961618","file3":"1326961626"},"map_files_photo_id_array":[{"photo_id":"1326961623","filename":"file2"},{"photo_id":"1326961621","filename":"file1"},{"photo_id":"1326961618","filename":"file0"},{"photo_id":"1326961626","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961623":["hashtag1","hashtag2"]},{"1326961626":["hashtag1","hashtag2"]},{"1326961618":["hashtag1","hashtag2"]},{"1326961621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961623, 1326961626, 1326961618, 1326961621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.35333228111267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:44:02.198187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:44:21.802693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0003.jpg', '/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0000.jpg', '/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0001.jpg', '/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/43/image_06012025_10_43_02_845278_0003.jpg
/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0000.jpg
/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0001.jpg
/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961668","1326961672","1326961665","1326961659"],"photo_ids_order":["1326961659","1326961665","1326961668","1326961672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b152ef46675578261fc183189b3dafa5.jpg","text":"TemporaryFile(/tmp/multipartBody4541557773961511465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156731941,"filename":"image_06012025_10_44_02_947669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e08621eff6b9e390d80c0dd495355c3.jpg","text":"TemporaryFile(/tmp/multipartBody2540787600233361090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156731941,"filename":"image_06012025_10_44_02_947669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8e12ce2ccf9c4b7a2e519073dace8b7.jpg","text":"TemporaryFile(/tmp/multipartBody2681706668862331756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156731941,"filename":"image_06012025_10_44_02_947669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9efc2e11860d73527b0016eeaf86c0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4281183015833545486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156731941,"filename":"image_06012025_10_43_02_845278_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961668","file1":"1326961665","file0":"1326961659","file3":"1326961672"},"map_files_photo_id_array":[{"photo_id":"1326961668","filename":"file2"},{"photo_id":"1326961665","filename":"file1"},{"photo_id":"1326961659","filename":"file0"},{"photo_id":"1326961672","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961668":["hashtag1","hashtag2"]},{"1326961672":["hashtag1","hashtag2"]},{"1326961665":["hashtag1","hashtag2"]},{"1326961659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961668, 1326961672, 1326961665, 1326961659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.491382122039795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:45:02.495453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:45:21.963402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0003.jpg', '/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0000.jpg', '/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0001.jpg', '/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/44/image_06012025_10_44_02_947669_0003.jpg
/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0000.jpg
/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0001.jpg
/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961727","1326961738","1326961732","1326961692"],"photo_ids_order":["1326961692","1326961727","1326961732","1326961738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddf9947410f6fbe6e8a6aa8bd28e235b.jpg","text":"TemporaryFile(/tmp/multipartBody8102139918658440373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156792158,"filename":"image_06012025_10_45_02_184853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4ddfa90d6483f2ad236e36948dfbcb4.jpg","text":"TemporaryFile(/tmp/multipartBody7252123090295325648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156792158,"filename":"image_06012025_10_45_02_184853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2523a135c284f596a402ff31511afac5.jpg","text":"TemporaryFile(/tmp/multipartBody1998839827330458759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156792158,"filename":"image_06012025_10_45_02_184853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9883442e94a6c09f670ae5c297bd3aba.jpg","text":"TemporaryFile(/tmp/multipartBody155437154405333805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156792158,"filename":"image_06012025_10_44_02_947669_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961732","file1":"1326961727","file0":"1326961692","file3":"1326961738"},"map_files_photo_id_array":[{"photo_id":"1326961732","filename":"file2"},{"photo_id":"1326961727","filename":"file1"},{"photo_id":"1326961692","filename":"file0"},{"photo_id":"1326961738","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961727":["hashtag1","hashtag2"]},{"1326961738":["hashtag1","hashtag2"]},{"1326961732":["hashtag1","hashtag2"]},{"1326961692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961727, 1326961738, 1326961732, 1326961692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22264361381531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:46:02.516757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:46:22.135424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0003.jpg', '/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0000.jpg', '/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0001.jpg', '/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/45/image_06012025_10_45_02_184853_0003.jpg
/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0000.jpg
/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0001.jpg
/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961767","1326961757","1326961753","1326961762"],"photo_ids_order":["1326961753","1326961757","1326961762","1326961767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c11d357b224a3332a9e5991fc562e22c.jpg","text":"TemporaryFile(/tmp/multipartBody3204906535502199019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156852454,"filename":"image_06012025_10_46_02_328169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43c52fdca8441ace16acb9c4a466831d.jpg","text":"TemporaryFile(/tmp/multipartBody1724571861968055461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156852454,"filename":"image_06012025_10_46_02_328169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03570e143b33263b3bdd08b73ecaf90b.jpg","text":"TemporaryFile(/tmp/multipartBody8304858223320966293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156852454,"filename":"image_06012025_10_45_02_184853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/345dc12edd675feaf62aaa06c8afde92.jpg","text":"TemporaryFile(/tmp/multipartBody7973457409763384722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156852454,"filename":"image_06012025_10_46_02_328169_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961762","file1":"1326961757","file0":"1326961753","file3":"1326961767"},"map_files_photo_id_array":[{"photo_id":"1326961762","filename":"file2"},{"photo_id":"1326961757","filename":"file1"},{"photo_id":"1326961753","filename":"file0"},{"photo_id":"1326961767","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961767":["hashtag1","hashtag2"]},{"1326961757":["hashtag1","hashtag2"]},{"1326961753":["hashtag1","hashtag2"]},{"1326961762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961767, 1326961757, 1326961753, 1326961762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55418014526367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:47:03.070645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:47:22.356160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0003.jpg', '/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0000.jpg', '/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0001.jpg', '/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/46/image_06012025_10_46_02_328169_0003.jpg
/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0000.jpg
/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0001.jpg
/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961830","1326961823","1326961811","1326961816"],"photo_ids_order":["1326961811","1326961816","1326961823","1326961830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6ffae25d664e0be1f32e0d171c185b6.jpg","text":"TemporaryFile(/tmp/multipartBody7839431387347027326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156912537,"filename":"image_06012025_10_47_02_445401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e14e7e29c895fde1486bc86aebab3d2.jpg","text":"TemporaryFile(/tmp/multipartBody1428121551476986830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156912537,"filename":"image_06012025_10_47_02_445401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9fdd84ab5f021dfc7866df9fc28d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody4397841135907668222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156912537,"filename":"image_06012025_10_46_02_328169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a5b78fce5fb0da981335d04eb6c7c24.jpg","text":"TemporaryFile(/tmp/multipartBody2666319913680805626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156912537,"filename":"image_06012025_10_47_02_445401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961823","file1":"1326961816","file0":"1326961811","file3":"1326961830"},"map_files_photo_id_array":[{"photo_id":"1326961823","filename":"file2"},{"photo_id":"1326961816","filename":"file1"},{"photo_id":"1326961811","filename":"file0"},{"photo_id":"1326961830","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961830":["hashtag1","hashtag2"]},{"1326961823":["hashtag1","hashtag2"]},{"1326961811":["hashtag1","hashtag2"]},{"1326961816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961830, 1326961823, 1326961811, 1326961816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.624452352523804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:48:02.743479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:48:22.418652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0003.jpg', '/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0000.jpg', '/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0001.jpg', '/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/47/image_06012025_10_47_02_445401_0003.jpg
/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0000.jpg
/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0001.jpg
/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_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":["1326961886","1326961868","1326961859","1326961863"],"photo_ids_order":["1326961859","1326961863","1326961868","1326961886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c7548d2a7c7112595d699bf07d9177c.jpg","text":"TemporaryFile(/tmp/multipartBody541107654364358210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156972570,"filename":"image_06012025_10_48_02_678461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5da75d55555cd49de4b3647e917e071.jpg","text":"TemporaryFile(/tmp/multipartBody1116330556804352943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156972570,"filename":"image_06012025_10_48_02_678461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03f0c2cfe736417a12ab9fc2ea218db2.jpg","text":"TemporaryFile(/tmp/multipartBody438104451537904237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156972570,"filename":"image_06012025_10_47_02_445401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/536cbf67ba60da92a849737f630c806b.jpg","text":"TemporaryFile(/tmp/multipartBody5940642519218966034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736156972570,"filename":"image_06012025_10_48_02_678461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961868","file1":"1326961863","file0":"1326961859","file3":"1326961886"},"map_files_photo_id_array":[{"photo_id":"1326961868","filename":"file2"},{"photo_id":"1326961863","filename":"file1"},{"photo_id":"1326961859","filename":"file0"},{"photo_id":"1326961886","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961886":["hashtag1","hashtag2"]},{"1326961868":["hashtag1","hashtag2"]},{"1326961859":["hashtag1","hashtag2"]},{"1326961863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961886, 1326961868, 1326961859, 1326961863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03792357444763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:49:22.639394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0003.jpg', '/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0000.jpg', '/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0001.jpg', '/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/48/image_06012025_10_48_02_678461_0003.jpg
/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0000.jpg
/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0001.jpg
/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326961926","1326961935","1326961917","1326961922"],"photo_ids_order":["1326961917","1326961922","1326961926","1326961935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b3ebf866ff994ff95e6d1b50bf71e12.jpg","text":"TemporaryFile(/tmp/multipartBody6464962243873403333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157032905,"filename":"image_06012025_10_49_02_821958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e88606bd8b5392d030fd3bd943be2c65.jpg","text":"TemporaryFile(/tmp/multipartBody2108208910152248138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157032905,"filename":"image_06012025_10_49_02_821958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/852e0fb909d1221169493d2155a434eb.jpg","text":"TemporaryFile(/tmp/multipartBody2368644022224181778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157032905,"filename":"image_06012025_10_48_02_678461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56b3b8c318bf175106d3d0c3b12b8e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5057604534017899648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157032905,"filename":"image_06012025_10_49_02_821958_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326961926","file1":"1326961922","file0":"1326961917","file3":"1326961935"},"map_files_photo_id_array":[{"photo_id":"1326961926","filename":"file2"},{"photo_id":"1326961922","filename":"file1"},{"photo_id":"1326961917","filename":"file0"},{"photo_id":"1326961935","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326961926":["hashtag1","hashtag2"]},{"1326961935":["hashtag1","hashtag2"]},{"1326961917":["hashtag1","hashtag2"]},{"1326961922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326961926, 1326961935, 1326961917, 1326961922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12986922264099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:50:03.110950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:50:22.739102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0003.jpg', '/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_0000.jpg', '/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/49/image_06012025_10_49_02_821958_0003.jpg
/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_0000.jpg
/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_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":["1326962022","1326962027","1326962031"],"photo_ids_order":["1326962022","1326962027","1326962031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30cd85555d6d4c79d5b29a8549cb42df.jpg","text":"TemporaryFile(/tmp/multipartBody401921513257170328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157090388,"filename":"image_06012025_10_49_02_821958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72f304a24405bbd707c51d6d04bf3de4.jpg","text":"TemporaryFile(/tmp/multipartBody5293477341943685059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157090388,"filename":"image_06012025_10_50_02_948883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51c885741a3bc3ffec4c242f943c2111.jpg","text":"TemporaryFile(/tmp/multipartBody6463373014181691685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157090388,"filename":"image_06012025_10_50_02_948883_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962031","file1":"1326962027","file0":"1326962022"},"map_files_photo_id_array":[{"photo_id":"1326962031","filename":"file2"},{"photo_id":"1326962027","filename":"file1"},{"photo_id":"1326962022","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962022":["hashtag1","hashtag2"]},{"1326962027":["hashtag1","hashtag2"]},{"1326962031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962022, 1326962027, 1326962031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.603550672531128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:51:02.435458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:51:22.012188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_0002.jpg', '/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0000.jpg', '/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0001.jpg', '/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/50/image_06012025_10_50_02_948883_0002.jpg
/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0000.jpg
/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0001.jpg
/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_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":["1326962099","1326962087","1326962091","1326962094"],"photo_ids_order":["1326962087","1326962091","1326962094","1326962099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab5b33b486edb65a3a933755b2f2e4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1240109109520909531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157152174,"filename":"image_06012025_10_51_03_131101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96fe6c7e1fbbff24f93b03f622d1ba94.jpg","text":"TemporaryFile(/tmp/multipartBody6738777220351833808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157152174,"filename":"image_06012025_10_50_02_948883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e12c2bd5fbc273f0dbc2dc42e54fed70.jpg","text":"TemporaryFile(/tmp/multipartBody6832731107706135835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157152174,"filename":"image_06012025_10_51_03_131101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24ee7d5fd49bea5e800fd5a8745ca6f2.jpg","text":"TemporaryFile(/tmp/multipartBody6052459351414102497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157152174,"filename":"image_06012025_10_51_03_131101_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962094","file1":"1326962091","file0":"1326962087","file3":"1326962099"},"map_files_photo_id_array":[{"photo_id":"1326962094","filename":"file2"},{"photo_id":"1326962091","filename":"file1"},{"photo_id":"1326962087","filename":"file0"},{"photo_id":"1326962099","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962099":["hashtag1","hashtag2"]},{"1326962087":["hashtag1","hashtag2"]},{"1326962091":["hashtag1","hashtag2"]},{"1326962094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962099, 1326962087, 1326962091, 1326962094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70799922943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:52:22.135498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0003.jpg', '/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0000.jpg', '/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0001.jpg', '/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/51/image_06012025_10_51_03_131101_0003.jpg
/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0000.jpg
/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0001.jpg
/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_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":["1326962165","1326962170","1326962152","1326962187"],"photo_ids_order":["1326962152","1326962165","1326962170","1326962187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d8b776f8a67cf5d565d50ac21834dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5696844549550687514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157212272,"filename":"image_06012025_10_52_02_273108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7befe5336451a5d945d3aa9635d91a88.jpg","text":"TemporaryFile(/tmp/multipartBody3259276634858026987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157212272,"filename":"image_06012025_10_52_02_273108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5945312df4cf3cbe127f1a0b90511b84.jpg","text":"TemporaryFile(/tmp/multipartBody5265059361345832763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157212272,"filename":"image_06012025_10_51_03_131101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e49e7ad97e73aa62122c99b39415d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5370082281600593077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157212272,"filename":"image_06012025_10_52_02_273108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962170","file1":"1326962165","file0":"1326962152","file3":"1326962187"},"map_files_photo_id_array":[{"photo_id":"1326962170","filename":"file2"},{"photo_id":"1326962165","filename":"file1"},{"photo_id":"1326962152","filename":"file0"},{"photo_id":"1326962187","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962165":["hashtag1","hashtag2"]},{"1326962170":["hashtag1","hashtag2"]},{"1326962152":["hashtag1","hashtag2"]},{"1326962187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962165, 1326962170, 1326962152, 1326962187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.05298566818237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:53:22.333427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0003.jpg', '/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0000.jpg', '/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0001.jpg', '/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/52/image_06012025_10_52_02_273108_0003.jpg
/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0000.jpg
/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0001.jpg
/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326962325","1326962381","1326962386","1326962391"],"photo_ids_order":["1326962325","1326962381","1326962386","1326962391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f65a31aedb0ababb89a6420c2bcaa515.jpg","text":"TemporaryFile(/tmp/multipartBody1860435991351104225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157272462,"filename":"image_06012025_10_52_02_273108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8a42cbf7d0ad53b4c82be1b6f95c25c.jpg","text":"TemporaryFile(/tmp/multipartBody6360665726127453556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157272462,"filename":"image_06012025_10_53_02_472625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab374922ab3b6246bee290253474e76f.jpg","text":"TemporaryFile(/tmp/multipartBody3525605641127666407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157272462,"filename":"image_06012025_10_53_02_472625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ad5616ce36485e57b1844b4b4c08dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1498307327926915657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157272462,"filename":"image_06012025_10_53_02_472625_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962386","file1":"1326962381","file0":"1326962325","file3":"1326962391"},"map_files_photo_id_array":[{"photo_id":"1326962386","filename":"file2"},{"photo_id":"1326962381","filename":"file1"},{"photo_id":"1326962325","filename":"file0"},{"photo_id":"1326962391","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962325":["hashtag1","hashtag2"]},{"1326962381":["hashtag1","hashtag2"]},{"1326962386":["hashtag1","hashtag2"]},{"1326962391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962325, 1326962381, 1326962386, 1326962391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78936266899109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:54:02.874352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:54:22.603194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0003.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0000.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0001.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0003.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0000.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0001.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_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.59824514389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 10:54:42.445420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0003.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0000.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0001.jpg', '/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/53/image_06012025_10_53_02_472625_0003.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0000.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0001.jpg
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_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":["1326962523","1326962517","1326962472","1326962520"],"photo_ids_order":["1326962472","1326962517","1326962520","1326962523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48eab43a9e9674992f0f8a567742bac6.jpg","text":"TemporaryFile(/tmp/multipartBody5670214797255811530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157352458,"filename":"image_06012025_10_54_02_717410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc8dfce417a793f557194a3d6e46b149.jpg","text":"TemporaryFile(/tmp/multipartBody4591133874206562013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157352458,"filename":"image_06012025_10_54_02_717410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c25391ef043fb608064d96ea6ee00e4.jpg","text":"TemporaryFile(/tmp/multipartBody6780008099643120174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157352458,"filename":"image_06012025_10_53_02_472625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b68d4dcadf8e928211592a83a9cca47.jpg","text":"TemporaryFile(/tmp/multipartBody1128285505195984178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157352458,"filename":"image_06012025_10_54_02_717410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962520","file1":"1326962517","file0":"1326962472","file3":"1326962523"},"map_files_photo_id_array":[{"photo_id":"1326962520","filename":"file2"},{"photo_id":"1326962517","filename":"file1"},{"photo_id":"1326962472","filename":"file0"},{"photo_id":"1326962523","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962523":["hashtag1","hashtag2"]},{"1326962517":["hashtag1","hashtag2"]},{"1326962472":["hashtag1","hashtag2"]},{"1326962520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962523, 1326962517, 1326962472, 1326962520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.26951813697815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:55:22.634389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0003.jpg', '/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_0000.jpg', '/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/54/image_06012025_10_54_02_717410_0003.jpg
/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_0000.jpg
/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_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":["1326962538","1326962534","1326962541"],"photo_ids_order":["1326962534","1326962538","1326962541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8987404211fca7df638dba91b37dede2.jpg","text":"TemporaryFile(/tmp/multipartBody8328288357838647928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157390301,"filename":"image_06012025_10_55_02_819473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca6ffda090410e7e45eae875f7c13102.jpg","text":"TemporaryFile(/tmp/multipartBody8266304055590256411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157390301,"filename":"image_06012025_10_54_02_717410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb323445853906bd30ba7f9c227ad9c7.jpg","text":"TemporaryFile(/tmp/multipartBody4065241010279850855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157390301,"filename":"image_06012025_10_55_02_819473_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962541","file1":"1326962538","file0":"1326962534"},"map_files_photo_id_array":[{"photo_id":"1326962541","filename":"file2"},{"photo_id":"1326962538","filename":"file1"},{"photo_id":"1326962534","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962538":["hashtag1","hashtag2"]},{"1326962534":["hashtag1","hashtag2"]},{"1326962541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962538, 1326962534, 1326962541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.916263341903687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 10:56:02.172856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:56:21.907767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_0002.jpg', '/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0000.jpg', '/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0001.jpg', '/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/55/image_06012025_10_55_02_819473_0002.jpg
/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0000.jpg
/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0001.jpg
/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_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":["1326962601","1326962636","1326962614","1326962628"],"photo_ids_order":["1326962601","1326962614","1326962628","1326962636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73b2191606201d961cb9346433a63434.jpg","text":"TemporaryFile(/tmp/multipartBody6294629981108675398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157451910,"filename":"image_06012025_10_55_02_819473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4abdb9e9351fe57ae1b061f5e65e31ef.jpg","text":"TemporaryFile(/tmp/multipartBody2794201077507449815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157451910,"filename":"image_06012025_10_56_03_034921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a8e7e72329d5a0b09fd791082d44ba1.jpg","text":"TemporaryFile(/tmp/multipartBody6752197953575819679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157451910,"filename":"image_06012025_10_56_03_034921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/096f473200746a0c6034bcce3aa85698.jpg","text":"TemporaryFile(/tmp/multipartBody1085997709575736139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157451910,"filename":"image_06012025_10_56_03_034921_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326962628","file1":"1326962614","file0":"1326962601","file3":"1326962636"},"map_files_photo_id_array":[{"photo_id":"1326962628","filename":"file2"},{"photo_id":"1326962614","filename":"file1"},{"photo_id":"1326962601","filename":"file0"},{"photo_id":"1326962636","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326962601":["hashtag1","hashtag2"]},{"1326962636":["hashtag1","hashtag2"]},{"1326962614":["hashtag1","hashtag2"]},{"1326962628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326962601, 1326962636, 1326962614, 1326962628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.198734760284424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 10:57:22.044965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0003.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0000.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0001.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0003.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0000.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0001.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_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-06 10:59:03.159354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0003.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0000.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0001.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0002.jpg', '/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0003.jpg', '/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/56/image_06012025_10_56_03_034921_0003.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0000.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0001.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0002.jpg
/home/pi/Desktop/images/06012025/10/57/image_06012025_10_57_02_175017_0003.jpg
/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_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":["1326963323","1326963277","1326963250","1326963319","1326963327","1326963287"],"photo_ids_order":["1326963250","1326963277","1326963287","1326963319","1326963323","1326963327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ecf6814fea254337904c6d10a1fb0934.jpg","text":"TemporaryFile(/tmp/multipartBody5458285490219631019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_57_02_175017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04a3642a6cf7e752e6561410c685cce5.jpg","text":"TemporaryFile(/tmp/multipartBody7057901591814545332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_57_02_175017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95f35379678d61db57984c35e22a979b.jpg","text":"TemporaryFile(/tmp/multipartBody1409188279101157037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_56_03_034921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/886f497ad7221ba66e23bc99d8b7aa73.jpg","text":"TemporaryFile(/tmp/multipartBody550190562011827929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_57_02_175017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae4c29a21d756656882a5aa24ea1f539.jpg","text":"TemporaryFile(/tmp/multipartBody34100072252323836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_58_02_357261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63e5f7d7a5a04a1e39aff035b5d6c8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1224362515275148124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157617959,"filename":"image_06012025_10_57_02_175017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326963287","file1":"1326963277","file0":"1326963250","file4":"1326963323","file5":"1326963327","file3":"1326963319"},"map_files_photo_id_array":[{"photo_id":"1326963327","filename":"file5"},{"photo_id":"1326963287","filename":"file2"},{"photo_id":"1326963323","filename":"file4"},{"photo_id":"1326963277","filename":"file1"},{"photo_id":"1326963250","filename":"file0"},{"photo_id":"1326963319","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326963323":["hashtag1","hashtag2"]},{"1326963277":["hashtag1","hashtag2"]},{"1326963250":["hashtag1","hashtag2"]},{"1326963319":["hashtag1","hashtag2"]},{"1326963327":["hashtag1","hashtag2"]},{"1326963287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326963323, 1326963277, 1326963250, 1326963319, 1326963327, 1326963287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21833157539368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:00:03.202599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0001.jpg', '/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0002.jpg', '/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0003.jpg', '/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0000.jpg', '/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0001.jpg', '/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0001.jpg
/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0002.jpg
/home/pi/Desktop/images/06012025/10/58/image_06012025_10_58_02_357261_0003.jpg
/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0000.jpg
/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0001.jpg
/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_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":["1326964093","1326964081","1326964333","1326964053","1326964032","1326964577"],"photo_ids_order":["1326964032","1326964053","1326964081","1326964093","1326964333","1326964577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e6a39c1b3df260287220e022c380cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1984850198380207062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_59_02_653019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31bc0c1e646cf754ead5eac6eb45a7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6717942399799399732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_58_02_357261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ecdb032432e1a6105da92c402219de2a.jpg","text":"TemporaryFile(/tmp/multipartBody7176434425064374173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_59_02_653019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/090106cbafd7f24b1ca6285ce0efd2bb.jpg","text":"TemporaryFile(/tmp/multipartBody7099771134712455798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_58_02_357261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bec28a941a69300ae16e80ffd02a2344.jpg","text":"TemporaryFile(/tmp/multipartBody6303399591344562589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_58_02_357261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/908c425e2476b4c138ab493de1458111.jpg","text":"TemporaryFile(/tmp/multipartBody8043192165681521297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157677989,"filename":"image_06012025_10_59_02_653019_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326964081","file1":"1326964053","file0":"1326964032","file4":"1326964333","file5":"1326964577","file3":"1326964093"},"map_files_photo_id_array":[{"photo_id":"1326964577","filename":"file5"},{"photo_id":"1326964081","filename":"file2"},{"photo_id":"1326964333","filename":"file4"},{"photo_id":"1326964053","filename":"file1"},{"photo_id":"1326964032","filename":"file0"},{"photo_id":"1326964093","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326964093":["hashtag1","hashtag2"]},{"1326964081":["hashtag1","hashtag2"]},{"1326964333":["hashtag1","hashtag2"]},{"1326964053":["hashtag1","hashtag2"]},{"1326964032":["hashtag1","hashtag2"]},{"1326964577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326964093, 1326964081, 1326964333, 1326964053, 1326964032, 1326964577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.728437662124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:01:02.561462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0003.jpg', '/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0000.jpg', '/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0001.jpg', '/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/10/59/image_06012025_10_59_02_653019_0003.jpg
/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0000.jpg
/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0001.jpg
/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326964773","1326964880","1326964676","1326964856"],"photo_ids_order":["1326964676","1326964773","1326964856","1326964880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edeb4ee6a92bfc998d768cc2cfd70b38.jpg","text":"TemporaryFile(/tmp/multipartBody270473673477763748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157732822,"filename":"image_06012025_11_00_02_850248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f72ae0c6e7e42a57aef863f951575ba7.jpg","text":"TemporaryFile(/tmp/multipartBody703908354584645479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157732822,"filename":"image_06012025_11_00_02_850248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63f360de756f5c225c63e409399f058c.jpg","text":"TemporaryFile(/tmp/multipartBody4826822270108335165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157732822,"filename":"image_06012025_10_59_02_653019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/294794f80c33f97e63e7e8a31c47e56e.jpg","text":"TemporaryFile(/tmp/multipartBody5827045920312564013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157732822,"filename":"image_06012025_11_00_02_850248_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326964856","file1":"1326964773","file0":"1326964676","file3":"1326964880"},"map_files_photo_id_array":[{"photo_id":"1326964856","filename":"file2"},{"photo_id":"1326964773","filename":"file1"},{"photo_id":"1326964676","filename":"file0"},{"photo_id":"1326964880","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326964773":["hashtag1","hashtag2"]},{"1326964880":["hashtag1","hashtag2"]},{"1326964676":["hashtag1","hashtag2"]},{"1326964856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326964773, 1326964880, 1326964676, 1326964856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.432573080062866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:01:51.852834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0003.jpg', '/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0000.jpg', '/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0001.jpg', '/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/00/image_06012025_11_00_02_850248_0003.jpg
/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0000.jpg
/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0001.jpg
/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_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":["1326964927","1326964921","1326964917","1326964925"],"photo_ids_order":["1326964917","1326964921","1326964925","1326964927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6a3088b8430835e9b8b71f83c58dd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5155313638052809331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157781968,"filename":"image_06012025_11_01_03_071757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8c25d0e54b42e0c7f6250a4b1368b92.jpg","text":"TemporaryFile(/tmp/multipartBody8796230162715313783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157781968,"filename":"image_06012025_11_01_03_071757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/823a7fa3503c7ab117c5a106e160eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7612173976528370627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157781968,"filename":"image_06012025_11_00_02_850248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec972765cb60d9f52781d4ca4116470b.jpg","text":"TemporaryFile(/tmp/multipartBody2505695161491172607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157781968,"filename":"image_06012025_11_01_03_071757_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326964925","file1":"1326964921","file0":"1326964917","file3":"1326964927"},"map_files_photo_id_array":[{"photo_id":"1326964925","filename":"file2"},{"photo_id":"1326964921","filename":"file1"},{"photo_id":"1326964917","filename":"file0"},{"photo_id":"1326964927","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326964927":["hashtag1","hashtag2"]},{"1326964921":["hashtag1","hashtag2"]},{"1326964917":["hashtag1","hashtag2"]},{"1326964925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326964927, 1326964921, 1326964917, 1326964925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.158628940582275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:02:31.973941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0003.jpg', '/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0000.jpg', '/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0001.jpg', '/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/01/image_06012025_11_01_03_071757_0003.jpg
/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0000.jpg
/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0001.jpg
/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326964942","1326964939","1326964949","1326964937"],"photo_ids_order":["1326964937","1326964939","1326964942","1326964949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e3966011d3d29be3ea47ca0a48145c9.jpg","text":"TemporaryFile(/tmp/multipartBody3960307165647669093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157822220,"filename":"image_06012025_11_02_02_245121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6aca2d86216ac7c9bdc282ac91dcf4c9.jpg","text":"TemporaryFile(/tmp/multipartBody2319527816490266960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157822220,"filename":"image_06012025_11_02_02_245121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc12009d9fb9fa206002a7a991f96b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2356299991169974057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157822220,"filename":"image_06012025_11_02_02_245121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/077cee791d962da75915ed29565f9da9.jpg","text":"TemporaryFile(/tmp/multipartBody3488056937847047104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157822220,"filename":"image_06012025_11_01_03_071757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326964942","file1":"1326964939","file0":"1326964937","file3":"1326964949"},"map_files_photo_id_array":[{"photo_id":"1326964942","filename":"file2"},{"photo_id":"1326964939","filename":"file1"},{"photo_id":"1326964937","filename":"file0"},{"photo_id":"1326964949","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326964942":["hashtag1","hashtag2"]},{"1326964939":["hashtag1","hashtag2"]},{"1326964949":["hashtag1","hashtag2"]},{"1326964937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326964942, 1326964939, 1326964949, 1326964937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9873251914978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:03:22.285514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0003.jpg', '/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0000.jpg', '/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0001.jpg', '/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/02/image_06012025_11_02_02_245121_0003.jpg
/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0000.jpg
/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0001.jpg
/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326964972","1326964975","1326964980","1326964977"],"photo_ids_order":["1326964972","1326964975","1326964977","1326964980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81c9cdc7fcb2b68f17989421e6cd8faf.jpg","text":"TemporaryFile(/tmp/multipartBody7340966316019518475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157872440,"filename":"image_06012025_11_02_02_245121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b95264cb34014606278fbb9b3eeb4d7.jpg","text":"TemporaryFile(/tmp/multipartBody3596822623726305620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157872440,"filename":"image_06012025_11_03_02_396615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15ada75bbd9f3469061d35cb48852cab.jpg","text":"TemporaryFile(/tmp/multipartBody737355917372529919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157872440,"filename":"image_06012025_11_03_02_396615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72d3ea82b0aac305cc998ec6ff5ae24b.jpg","text":"TemporaryFile(/tmp/multipartBody4654139548816011126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157872440,"filename":"image_06012025_11_03_02_396615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326964977","file1":"1326964975","file0":"1326964972","file3":"1326964980"},"map_files_photo_id_array":[{"photo_id":"1326964977","filename":"file2"},{"photo_id":"1326964975","filename":"file1"},{"photo_id":"1326964972","filename":"file0"},{"photo_id":"1326964980","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326964972":["hashtag1","hashtag2"]},{"1326964975":["hashtag1","hashtag2"]},{"1326964980":["hashtag1","hashtag2"]},{"1326964977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326964972, 1326964975, 1326964980, 1326964977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7873055934906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:04:02.732966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:04:22.402519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0003.jpg', '/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_0000.jpg', '/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/03/image_06012025_11_03_02_396615_0003.jpg
/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_0000.jpg
/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_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":["1326965035","1326965029","1326965033"],"photo_ids_order":["1326965029","1326965033","1326965035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f7565dffb98d2454b29f1bec3936abe.jpg","text":"TemporaryFile(/tmp/multipartBody6723001216409067084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157930129,"filename":"image_06012025_11_04_02_643598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4de41d46b16b51395093b52811bb1a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7607176492168032611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157930129,"filename":"image_06012025_11_03_02_396615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d0b440d564a8bfedd1404b8d639711c.jpg","text":"TemporaryFile(/tmp/multipartBody8229111002053510941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157930129,"filename":"image_06012025_11_04_02_643598_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965035","file1":"1326965033","file0":"1326965029"},"map_files_photo_id_array":[{"photo_id":"1326965035","filename":"file2"},{"photo_id":"1326965033","filename":"file1"},{"photo_id":"1326965029","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965035":["hashtag1","hashtag2"]},{"1326965029":["hashtag1","hashtag2"]},{"1326965033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965035, 1326965029, 1326965033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.809544563293457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:05:03.210500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:05:22.584891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_0003.jpg', '/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0000.jpg', '/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0001.jpg', '/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/04/image_06012025_11_04_02_643598_0003.jpg
/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0000.jpg
/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0001.jpg
/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965092","1326965094","1326965089","1326965098"],"photo_ids_order":["1326965089","1326965092","1326965094","1326965098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e686d7f1b6c3d6d8941024c31e0c87d5.jpg","text":"TemporaryFile(/tmp/multipartBody8391757216120485371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157992759,"filename":"image_06012025_11_05_02_799065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01899c3ee738e21e8ff6f7093076ae11.jpg","text":"TemporaryFile(/tmp/multipartBody1001630151756877986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157992759,"filename":"image_06012025_11_05_02_799065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c25b46eabce235e3a12381ea3bab4e68.jpg","text":"TemporaryFile(/tmp/multipartBody969635205781135754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157992759,"filename":"image_06012025_11_04_02_643598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2076cea7f37c273e0e3cb0275c5426f4.jpg","text":"TemporaryFile(/tmp/multipartBody8581277200121698791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736157992759,"filename":"image_06012025_11_05_02_799065_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965094","file1":"1326965092","file0":"1326965089","file3":"1326965098"},"map_files_photo_id_array":[{"photo_id":"1326965094","filename":"file2"},{"photo_id":"1326965092","filename":"file1"},{"photo_id":"1326965089","filename":"file0"},{"photo_id":"1326965098","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965092":["hashtag1","hashtag2"]},{"1326965094":["hashtag1","hashtag2"]},{"1326965089":["hashtag1","hashtag2"]},{"1326965098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965092, 1326965094, 1326965089, 1326965098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.966796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:06:03.123937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:06:22.733397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0003.jpg', '/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0000.jpg', '/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0001.jpg', '/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/05/image_06012025_11_05_02_799065_0003.jpg
/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0000.jpg
/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0001.jpg
/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965157","1326965165","1326965159","1326965162"],"photo_ids_order":["1326965157","1326965159","1326965162","1326965165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a72d6881a681c56abab85f636c079c06.jpg","text":"TemporaryFile(/tmp/multipartBody2234428331051371692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158052782,"filename":"image_06012025_11_05_02_799065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/febbbab3fec8ae2e566a2b9da57036ae.jpg","text":"TemporaryFile(/tmp/multipartBody4614843489525730272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158052782,"filename":"image_06012025_11_06_02_927031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11dff8b6f5d19e0964f0c69058cecfad.jpg","text":"TemporaryFile(/tmp/multipartBody5411063845976647088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158052782,"filename":"image_06012025_11_06_02_927031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a42662e0166a80b191f9094a03338f9.jpg","text":"TemporaryFile(/tmp/multipartBody4697218049607902737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158052782,"filename":"image_06012025_11_06_02_927031_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965162","file1":"1326965159","file0":"1326965157","file3":"1326965165"},"map_files_photo_id_array":[{"photo_id":"1326965162","filename":"file2"},{"photo_id":"1326965159","filename":"file1"},{"photo_id":"1326965157","filename":"file0"},{"photo_id":"1326965165","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965157":["hashtag1","hashtag2"]},{"1326965165":["hashtag1","hashtag2"]},{"1326965159":["hashtag1","hashtag2"]},{"1326965162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965157, 1326965165, 1326965159, 1326965162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34604740142822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:07:02.516970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:07:21.913733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0003.jpg', '/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_0000.jpg', '/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/06/image_06012025_11_06_02_927031_0003.jpg
/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_0000.jpg
/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_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":["1326965179","1326965174","1326965176"],"photo_ids_order":["1326965174","1326965176","1326965179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/612e69176054e96ad6a944cbc724757f.jpg","text":"TemporaryFile(/tmp/multipartBody118989601144853090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158109616,"filename":"image_06012025_11_07_03_115312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2c8d4060edbc1705e0f1c0605ccb29f.jpg","text":"TemporaryFile(/tmp/multipartBody6454160805613258773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158109616,"filename":"image_06012025_11_06_02_927031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8cdef114b74982e13619f18c67f3f80d.jpg","text":"TemporaryFile(/tmp/multipartBody5680017044526407387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158109616,"filename":"image_06012025_11_07_03_115312_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965179","file1":"1326965176","file0":"1326965174"},"map_files_photo_id_array":[{"photo_id":"1326965179","filename":"file2"},{"photo_id":"1326965176","filename":"file1"},{"photo_id":"1326965174","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965179":["hashtag1","hashtag2"]},{"1326965174":["hashtag1","hashtag2"]},{"1326965176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965179, 1326965174, 1326965176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.729575395584106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:08:02.435664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:08:22.130505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_0003.jpg', '/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0000.jpg', '/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0001.jpg', '/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/07/image_06012025_11_07_03_115312_0003.jpg
/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0000.jpg
/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0001.jpg
/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965364","1326965367","1326965375","1326965369"],"photo_ids_order":["1326965364","1326965367","1326965369","1326965375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1df368c09d395e1c9fabc9e5a9ed192.jpg","text":"TemporaryFile(/tmp/multipartBody4551152628765185737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158172269,"filename":"image_06012025_11_07_03_115312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a5e8d38255da5d32b233785a2e77f85.jpg","text":"TemporaryFile(/tmp/multipartBody6339847492623077479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158172269,"filename":"image_06012025_11_08_02_215746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94ff3ee3d08f51c7346912003349c6fe.jpg","text":"TemporaryFile(/tmp/multipartBody881747421385234595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158172269,"filename":"image_06012025_11_08_02_215746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5393fa8b949a1758d0510665f09dc493.jpg","text":"TemporaryFile(/tmp/multipartBody6325735065365545500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158172269,"filename":"image_06012025_11_08_02_215746_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965369","file1":"1326965367","file0":"1326965364","file3":"1326965375"},"map_files_photo_id_array":[{"photo_id":"1326965369","filename":"file2"},{"photo_id":"1326965367","filename":"file1"},{"photo_id":"1326965364","filename":"file0"},{"photo_id":"1326965375","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965364":["hashtag1","hashtag2"]},{"1326965367":["hashtag1","hashtag2"]},{"1326965375":["hashtag1","hashtag2"]},{"1326965369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965364, 1326965367, 1326965375, 1326965369)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.639317750930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:09:22.279011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0003.jpg', '/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0000.jpg', '/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0001.jpg', '/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/08/image_06012025_11_08_02_215746_0003.jpg
/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0000.jpg
/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0001.jpg
/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_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":["1326965431","1326965428","1326965433","1326965435"],"photo_ids_order":["1326965428","1326965431","1326965433","1326965435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/122f240e44eb79859642347aa95bb2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6778036809973566508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158232516,"filename":"image_06012025_11_09_02_495067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79a32cf636a7ee7bd727fc0e7534d097.jpg","text":"TemporaryFile(/tmp/multipartBody3081544480500734098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158232516,"filename":"image_06012025_11_08_02_215746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96fc1eb18289e91680981c6aaf95f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6928076770647674114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158232516,"filename":"image_06012025_11_09_02_495067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74774c50d9221e447a2da4e0d43e8587.jpg","text":"TemporaryFile(/tmp/multipartBody7041050075109987225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158232516,"filename":"image_06012025_11_09_02_495067_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965433","file1":"1326965431","file0":"1326965428","file3":"1326965435"},"map_files_photo_id_array":[{"photo_id":"1326965433","filename":"file2"},{"photo_id":"1326965431","filename":"file1"},{"photo_id":"1326965428","filename":"file0"},{"photo_id":"1326965435","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965431":["hashtag1","hashtag2"]},{"1326965428":["hashtag1","hashtag2"]},{"1326965433":["hashtag1","hashtag2"]},{"1326965435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965431, 1326965428, 1326965433, 1326965435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23690223693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:10:22.490627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0003.jpg', '/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0000.jpg', '/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0001.jpg', '/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/09/image_06012025_11_09_02_495067_0003.jpg
/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0000.jpg
/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0001.jpg
/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965461","1326965518","1326965522","1326965525"],"photo_ids_order":["1326965461","1326965518","1326965522","1326965525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab05fdcf1469b920dca194319b12c1b6.jpg","text":"TemporaryFile(/tmp/multipartBody8344495934294866599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158292720,"filename":"image_06012025_11_09_02_495067_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f874b17a40859f2858dc0c2ed870daa.jpg","text":"TemporaryFile(/tmp/multipartBody8967709729400779813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158292720,"filename":"image_06012025_11_10_02_608685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bd2590adb7015d86f6c4e1859f57f49.jpg","text":"TemporaryFile(/tmp/multipartBody7233271508234611362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158292720,"filename":"image_06012025_11_10_02_608685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adbf33403a23e5adfb97e7e8a2076b56.jpg","text":"TemporaryFile(/tmp/multipartBody7379639241910046924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158292720,"filename":"image_06012025_11_10_02_608685_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965522","file1":"1326965518","file0":"1326965461","file3":"1326965525"},"map_files_photo_id_array":[{"photo_id":"1326965522","filename":"file2"},{"photo_id":"1326965518","filename":"file1"},{"photo_id":"1326965461","filename":"file0"},{"photo_id":"1326965525","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965461":["hashtag1","hashtag2"]},{"1326965518":["hashtag1","hashtag2"]},{"1326965522":["hashtag1","hashtag2"]},{"1326965525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965461, 1326965518, 1326965522, 1326965525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9923734664917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:11:03.285049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:11:22.690646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0003.jpg', '/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0000.jpg', '/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0001.jpg', '/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/10/image_06012025_11_10_02_608685_0003.jpg
/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0000.jpg
/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0001.jpg
/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965560","1326965557","1326965562","1326965555"],"photo_ids_order":["1326965555","1326965557","1326965560","1326965562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07da3434e44edfe67b0b20e516789cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1882249478146817053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158352717,"filename":"image_06012025_11_11_02_764073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/850fab688735bd917f25cdf67d71ee4f.jpg","text":"TemporaryFile(/tmp/multipartBody689840760507954095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158352717,"filename":"image_06012025_11_11_02_764073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5260588701f870f9fde38276311b723a.jpg","text":"TemporaryFile(/tmp/multipartBody8730572510149830496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158352717,"filename":"image_06012025_11_11_02_764073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9624d58a5aaf77434bd3d4142af2dab.jpg","text":"TemporaryFile(/tmp/multipartBody232077812070523799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158352717,"filename":"image_06012025_11_10_02_608685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965560","file1":"1326965557","file0":"1326965555","file3":"1326965562"},"map_files_photo_id_array":[{"photo_id":"1326965560","filename":"file2"},{"photo_id":"1326965557","filename":"file1"},{"photo_id":"1326965555","filename":"file0"},{"photo_id":"1326965562","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965560":["hashtag1","hashtag2"]},{"1326965557":["hashtag1","hashtag2"]},{"1326965562":["hashtag1","hashtag2"]},{"1326965555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965560, 1326965557, 1326965562, 1326965555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67146110534668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:12:03.145785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:12:22.917625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0003.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0000.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0001.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0003.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0000.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0001.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_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.83906865119934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:12:42.732259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0003.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0000.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0001.jpg', '/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/11/image_06012025_11_11_02_764073_0003.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0000.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0001.jpg
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965641","1326965658","1326965643","1326965650"],"photo_ids_order":["1326965641","1326965643","1326965650","1326965658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93ba6c3bf1b3153486a1400ccc1ea9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2550356891223388982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158432977,"filename":"image_06012025_11_11_02_764073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/922352ddec1b3f7b6f1552a163944973.jpg","text":"TemporaryFile(/tmp/multipartBody2506650263620850400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158432977,"filename":"image_06012025_11_12_03_004351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d0bc9d691ad0ba8cc1572daf86224da.jpg","text":"TemporaryFile(/tmp/multipartBody3533398377471050024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158432977,"filename":"image_06012025_11_12_03_004351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9e19d4b0e2beb13c37d79df0a36e45c.jpg","text":"TemporaryFile(/tmp/multipartBody839068249436341182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158432977,"filename":"image_06012025_11_12_03_004351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965650","file1":"1326965643","file0":"1326965641","file3":"1326965658"},"map_files_photo_id_array":[{"photo_id":"1326965650","filename":"file2"},{"photo_id":"1326965643","filename":"file1"},{"photo_id":"1326965641","filename":"file0"},{"photo_id":"1326965658","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965641":["hashtag1","hashtag2"]},{"1326965658":["hashtag1","hashtag2"]},{"1326965643":["hashtag1","hashtag2"]},{"1326965650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965641, 1326965658, 1326965643, 1326965650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.39298605918884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:13:31.964942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0003.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0000.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0001.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0003.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0000.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0001.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_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.691053867340088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:13:52.007726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0003.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0000.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0001.jpg', '/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/12/image_06012025_11_12_03_004351_0003.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0000.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0001.jpg
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_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":["1326965722","1326965729","1326965732","1326965726"],"photo_ids_order":["1326965722","1326965726","1326965729","1326965732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d80072fd657d5fe1c2e947351976222.jpg","text":"TemporaryFile(/tmp/multipartBody8924504095853550094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158502153,"filename":"image_06012025_11_12_03_004351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/876fb36d87f5d9f60dde406153ce474e.jpg","text":"TemporaryFile(/tmp/multipartBody8656725492483034889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158502153,"filename":"image_06012025_11_13_03_068731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50fbd1b86fa8c348e27253638e6fe9e2.jpg","text":"TemporaryFile(/tmp/multipartBody4540982218155011269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158502153,"filename":"image_06012025_11_13_03_068731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8dcac70d14531306059a3ea17e27fccc.jpg","text":"TemporaryFile(/tmp/multipartBody8269180768745500985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158502153,"filename":"image_06012025_11_13_03_068731_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965729","file1":"1326965726","file0":"1326965722","file3":"1326965732"},"map_files_photo_id_array":[{"photo_id":"1326965729","filename":"file2"},{"photo_id":"1326965726","filename":"file1"},{"photo_id":"1326965722","filename":"file0"},{"photo_id":"1326965732","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965722":["hashtag1","hashtag2"]},{"1326965729":["hashtag1","hashtag2"]},{"1326965732":["hashtag1","hashtag2"]},{"1326965726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965722, 1326965729, 1326965732, 1326965726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.967631101608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:14:32.184712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0003.jpg', '/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0000.jpg', '/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0001.jpg', '/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/13/image_06012025_11_13_03_068731_0003.jpg
/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0000.jpg
/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0001.jpg
/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326965802","1326965792","1326965789","1326965776"],"photo_ids_order":["1326965776","1326965789","1326965792","1326965802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/947533d14af465d4805320b235ed3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5529463660866562341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158542322,"filename":"image_06012025_11_14_02_448110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27e476510a4c34b928b8938e97f61fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5986282130669855501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158542322,"filename":"image_06012025_11_14_02_448110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4d6ed12699033aa4e12c6e92bd533fa.jpg","text":"TemporaryFile(/tmp/multipartBody3682307565799402179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158542322,"filename":"image_06012025_11_14_02_448110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/113c07fa189c08a88692146b89cd4914.jpg","text":"TemporaryFile(/tmp/multipartBody6806491905623635805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158542322,"filename":"image_06012025_11_13_03_068731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326965792","file1":"1326965789","file0":"1326965776","file3":"1326965802"},"map_files_photo_id_array":[{"photo_id":"1326965792","filename":"file2"},{"photo_id":"1326965789","filename":"file1"},{"photo_id":"1326965776","filename":"file0"},{"photo_id":"1326965802","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965802":["hashtag1","hashtag2"]},{"1326965792":["hashtag1","hashtag2"]},{"1326965789":["hashtag1","hashtag2"]},{"1326965776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965802, 1326965792, 1326965789, 1326965776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.607168436050415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:15:22.405197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0003.jpg', '/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_0000.jpg', '/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/14/image_06012025_11_14_02_448110_0003.jpg
/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_0000.jpg
/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_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":["1326965959","1326966032","1326966035"],"photo_ids_order":["1326965959","1326966032","1326966035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab9dc1ffd90de7ec60f24f40eaa55cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2713177224576626612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158590067,"filename":"image_06012025_11_14_02_448110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be95e842a2a98a5a1a92e872e15d677b.jpg","text":"TemporaryFile(/tmp/multipartBody8431296581412574170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158590067,"filename":"image_06012025_11_15_02_668462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a20a32e8bd6957b34c5c342ab9091879.jpg","text":"TemporaryFile(/tmp/multipartBody5041189237389503647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158590067,"filename":"image_06012025_11_15_02_668462_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966035","file1":"1326966032","file0":"1326965959"},"map_files_photo_id_array":[{"photo_id":"1326966035","filename":"file2"},{"photo_id":"1326966032","filename":"file1"},{"photo_id":"1326965959","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326965959":["hashtag1","hashtag2"]},{"1326966032":["hashtag1","hashtag2"]},{"1326966035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326965959, 1326966032, 1326966035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.2113356590271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:16:03.018814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:16:22.553018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_0002.jpg', '/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0000.jpg', '/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0001.jpg', '/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/15/image_06012025_11_15_02_668462_0002.jpg
/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0000.jpg
/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0001.jpg
/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966075","1326966065","1326966091","1326966067"],"photo_ids_order":["1326966065","1326966067","1326966075","1326966091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d52d49044959f2ed5aa01fe3ef56427.jpg","text":"TemporaryFile(/tmp/multipartBody6007440550677677704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158652603,"filename":"image_06012025_11_16_02_748667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7638a1e2550d00844f3dd9dbb1fc1719.jpg","text":"TemporaryFile(/tmp/multipartBody7180864335641111649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158652603,"filename":"image_06012025_11_15_02_668462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dd67c4dad58cf1d75d130f26b11958c.jpg","text":"TemporaryFile(/tmp/multipartBody8240826052147172226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158652603,"filename":"image_06012025_11_16_02_748667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8532572d8e66fc62811b675f8d31d408.jpg","text":"TemporaryFile(/tmp/multipartBody5307949837433196631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158652603,"filename":"image_06012025_11_16_02_748667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966075","file1":"1326966067","file0":"1326966065","file3":"1326966091"},"map_files_photo_id_array":[{"photo_id":"1326966075","filename":"file2"},{"photo_id":"1326966067","filename":"file1"},{"photo_id":"1326966065","filename":"file0"},{"photo_id":"1326966091","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966075":["hashtag1","hashtag2"]},{"1326966065":["hashtag1","hashtag2"]},{"1326966091":["hashtag1","hashtag2"]},{"1326966067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966075, 1326966065, 1326966091, 1326966067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38762807846069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:17:03.391308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:17:22.782836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0003.jpg', '/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0000.jpg', '/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0001.jpg', '/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/16/image_06012025_11_16_02_748667_0003.jpg
/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0000.jpg
/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0001.jpg
/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_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":["1326966126","1326966131","1326966134","1326966128"],"photo_ids_order":["1326966126","1326966128","1326966131","1326966134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa17aff6e5cba76be220c979419dfcda.jpg","text":"TemporaryFile(/tmp/multipartBody8250008877980086732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158712951,"filename":"image_06012025_11_16_02_748667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bfdbbfc411bc0e7166907282d9cdb7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2493876449493871424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158712951,"filename":"image_06012025_11_17_02_924545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5b158972e57a7257ddedcf11923ae19.jpg","text":"TemporaryFile(/tmp/multipartBody4008218632095027446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158712951,"filename":"image_06012025_11_17_02_924545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a775afddb76689b2659839d52c71c62.jpg","text":"TemporaryFile(/tmp/multipartBody4425232799835407409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158712951,"filename":"image_06012025_11_17_02_924545_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966131","file1":"1326966128","file0":"1326966126","file3":"1326966134"},"map_files_photo_id_array":[{"photo_id":"1326966131","filename":"file2"},{"photo_id":"1326966128","filename":"file1"},{"photo_id":"1326966126","filename":"file0"},{"photo_id":"1326966134","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966126":["hashtag1","hashtag2"]},{"1326966131":["hashtag1","hashtag2"]},{"1326966134":["hashtag1","hashtag2"]},{"1326966128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966126, 1326966131, 1326966134, 1326966128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.824970722198486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:18:21.959456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0003.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0000.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0001.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0003.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0000.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0001.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_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.760489463806152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:18:41.929971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0003.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0000.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0001.jpg', '/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/17/image_06012025_11_17_02_924545_0003.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0000.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0001.jpg
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966159","1326966200","1326966203","1326966337"],"photo_ids_order":["1326966159","1326966200","1326966203","1326966337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2f1dec578a8d702b6f4b98fade57583.jpg","text":"TemporaryFile(/tmp/multipartBody8246564261128085853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158792117,"filename":"image_06012025_11_17_02_924545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/492c540be7a1eca2ca32eb29ada98959.jpg","text":"TemporaryFile(/tmp/multipartBody6476961486063920841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158792117,"filename":"image_06012025_11_18_03_101727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b1ee5a79e172e70d51720c20fe1de68.jpg","text":"TemporaryFile(/tmp/multipartBody3351253143322538193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158792117,"filename":"image_06012025_11_18_03_101727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc9d4e3bd11991e00e6377bc27139aec.jpg","text":"TemporaryFile(/tmp/multipartBody8954210504915994521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158792117,"filename":"image_06012025_11_18_03_101727_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966203","file1":"1326966200","file0":"1326966159","file3":"1326966337"},"map_files_photo_id_array":[{"photo_id":"1326966203","filename":"file2"},{"photo_id":"1326966200","filename":"file1"},{"photo_id":"1326966159","filename":"file0"},{"photo_id":"1326966337","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966159":["hashtag1","hashtag2"]},{"1326966200":["hashtag1","hashtag2"]},{"1326966203":["hashtag1","hashtag2"]},{"1326966337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966159, 1326966200, 1326966203, 1326966337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 125.80242586135864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:20:52.263269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0003.jpg', '/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0000.jpg', '/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0001.jpg', '/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0002.jpg', '/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0003.jpg', '/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/18/image_06012025_11_18_03_101727_0003.jpg
/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0000.jpg
/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0001.jpg
/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0002.jpg
/home/pi/Desktop/images/06012025/11/19/image_06012025_11_19_02_324534_0003.jpg
/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966519","1326966497","1326966353","1326966476","1326966365","1326966397"],"photo_ids_order":["1326966353","1326966365","1326966397","1326966476","1326966497","1326966519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30d428b308dbffa338d39536040a99aa.jpg","text":"TemporaryFile(/tmp/multipartBody6042343125967633436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_20_02_426546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae4fe88d9e687c2488ae8f1c0cb27a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8746549836701092804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_19_02_324534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cfa7b114f162d47e1e24e61bee7dfeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3156418903897395631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_18_03_101727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aea061300a452520b22b37064e33a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody8506503617913718072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_19_02_324534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a99bf1594a3146cc64f91effd964361.jpg","text":"TemporaryFile(/tmp/multipartBody8584123305490971403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_19_02_324534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5d649d3f09c70fdfa56d29c0e10d0e2.jpg","text":"TemporaryFile(/tmp/multipartBody6528206365532634225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736158927427,"filename":"image_06012025_11_19_02_324534_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966397","file1":"1326966365","file0":"1326966353","file4":"1326966497","file5":"1326966519","file3":"1326966476"},"map_files_photo_id_array":[{"photo_id":"1326966519","filename":"file5"},{"photo_id":"1326966397","filename":"file2"},{"photo_id":"1326966497","filename":"file4"},{"photo_id":"1326966365","filename":"file1"},{"photo_id":"1326966353","filename":"file0"},{"photo_id":"1326966476","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966519":["hashtag1","hashtag2"]},{"1326966497":["hashtag1","hashtag2"]},{"1326966353":["hashtag1","hashtag2"]},{"1326966476":["hashtag1","hashtag2"]},{"1326966365":["hashtag1","hashtag2"]},{"1326966397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966519, 1326966497, 1326966353, 1326966476, 1326966365, 1326966397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 138.17727327346802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:23:21.870494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0001.jpg', '/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0002.jpg', '/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0003.jpg', '/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0000.jpg', '/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0001.jpg', '/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0001.jpg
/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0002.jpg
/home/pi/Desktop/images/06012025/11/20/image_06012025_11_20_02_426546_0003.jpg
/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0000.jpg
/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0001.jpg
/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966616","1326966576","1326966537","1326966708","1326966691","1326966571"],"photo_ids_order":["1326966537","1326966571","1326966576","1326966616","1326966691","1326966708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee6ab35162bce4bb634bdc8267845ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6650528403133418560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_21_02_667846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec62a0ed9cdb3e9da8fed185ffead02b.jpg","text":"TemporaryFile(/tmp/multipartBody1086623044509959622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_20_02_426546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2cd25cc0c8b0e0542cbd79b87d76568a.jpg","text":"TemporaryFile(/tmp/multipartBody5718252766090591429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_20_02_426546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3113248a8fb96eb3268ea9a54677a91.jpg","text":"TemporaryFile(/tmp/multipartBody3260074800991440869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_21_02_667846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b390a7c754436ee1434ac60d757d0eac.jpg","text":"TemporaryFile(/tmp/multipartBody299424208998332379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_21_02_667846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0fdf55c58c3bc9be8bac8cf23316119.jpg","text":"TemporaryFile(/tmp/multipartBody5964752134093530404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159076846,"filename":"image_06012025_11_20_02_426546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966576","file1":"1326966571","file0":"1326966537","file4":"1326966691","file5":"1326966708","file3":"1326966616"},"map_files_photo_id_array":[{"photo_id":"1326966708","filename":"file5"},{"photo_id":"1326966576","filename":"file2"},{"photo_id":"1326966691","filename":"file4"},{"photo_id":"1326966571","filename":"file1"},{"photo_id":"1326966537","filename":"file0"},{"photo_id":"1326966616","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966616":["hashtag1","hashtag2"]},{"1326966576":["hashtag1","hashtag2"]},{"1326966537":["hashtag1","hashtag2"]},{"1326966708":["hashtag1","hashtag2"]},{"1326966691":["hashtag1","hashtag2"]},{"1326966571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966616, 1326966576, 1326966537, 1326966708, 1326966691, 1326966571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 153.31411576271057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:26:02.895141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0003.jpg', '/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0000.jpg', '/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0001.jpg', '/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0002.jpg', '/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0003.jpg', '/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/21/image_06012025_11_21_02_667846_0003.jpg
/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0000.jpg
/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0001.jpg
/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0002.jpg
/home/pi/Desktop/images/06012025/11/22/image_06012025_11_22_02_827404_0003.jpg
/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966792","1326966840","1326966782","1326966854","1326966836","1326966790"],"photo_ids_order":["1326966782","1326966790","1326966792","1326966836","1326966840","1326966854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da00826fbc69defee7d608a8702b0b60.jpg","text":"TemporaryFile(/tmp/multipartBody2003508850423731934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_22_02_827404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ada2e6ba5dbb15da7f556c0c9c23a4a8.jpg","text":"TemporaryFile(/tmp/multipartBody5544642682540525822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_22_02_827404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/561814fb7196d7657e2efdf833bb197e.jpg","text":"TemporaryFile(/tmp/multipartBody8980189907270928333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_21_02_667846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/025fdb3af1a6c0bf5c12250c43fe8af5.jpg","text":"TemporaryFile(/tmp/multipartBody6033895570684686557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_23_03_020340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fc5ce9a1ba14b381115848488b3af07.jpg","text":"TemporaryFile(/tmp/multipartBody8333007346472899293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_22_02_827404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/874b68a9cbdf7ae607198f09c57b1ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1516746673789523506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159237880,"filename":"image_06012025_11_22_02_827404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966792","file1":"1326966790","file0":"1326966782","file4":"1326966840","file5":"1326966854","file3":"1326966836"},"map_files_photo_id_array":[{"photo_id":"1326966854","filename":"file5"},{"photo_id":"1326966792","filename":"file2"},{"photo_id":"1326966840","filename":"file4"},{"photo_id":"1326966790","filename":"file1"},{"photo_id":"1326966782","filename":"file0"},{"photo_id":"1326966836","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966792":["hashtag1","hashtag2"]},{"1326966840":["hashtag1","hashtag2"]},{"1326966782":["hashtag1","hashtag2"]},{"1326966854":["hashtag1","hashtag2"]},{"1326966836":["hashtag1","hashtag2"]},{"1326966790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966792, 1326966840, 1326966782, 1326966854, 1326966836, 1326966790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 150.62741899490356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:28:42.721699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0001.jpg', '/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0002.jpg', '/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0003.jpg', '/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0000.jpg', '/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0001.jpg', '/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0001.jpg
/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0002.jpg
/home/pi/Desktop/images/06012025/11/23/image_06012025_11_23_03_020340_0003.jpg
/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0000.jpg
/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0001.jpg
/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326966944","1326966911","1326966929","1326966937","1326966946","1326966925"],"photo_ids_order":["1326966911","1326966925","1326966929","1326966937","1326966944","1326966946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b78d02793552529a0f0cf88cddee74ac.jpg","text":"TemporaryFile(/tmp/multipartBody4992480837874663591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_24_02_294701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be7f88dfcbb1c8b6a046a0ad2123b700.jpg","text":"TemporaryFile(/tmp/multipartBody5751920980560429197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_23_03_020340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9421af4c6ef7d58e8910e298ec4b538a.jpg","text":"TemporaryFile(/tmp/multipartBody2229916632769411286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_23_03_020340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/127e228ebd1fa38874ec4a9e016b91a0.jpg","text":"TemporaryFile(/tmp/multipartBody1458736147304564637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_24_02_294701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc93826dba55ec9167c00ba3af31f69c.jpg","text":"TemporaryFile(/tmp/multipartBody6858143104525985956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_24_02_294701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6319c878fe1d37d43f89ad9106b7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6942005227561847499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159397732,"filename":"image_06012025_11_23_03_020340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326966929","file1":"1326966925","file0":"1326966911","file4":"1326966944","file5":"1326966946","file3":"1326966937"},"map_files_photo_id_array":[{"photo_id":"1326966946","filename":"file5"},{"photo_id":"1326966929","filename":"file2"},{"photo_id":"1326966944","filename":"file4"},{"photo_id":"1326966925","filename":"file1"},{"photo_id":"1326966911","filename":"file0"},{"photo_id":"1326966937","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326966944":["hashtag1","hashtag2"]},{"1326966911":["hashtag1","hashtag2"]},{"1326966929":["hashtag1","hashtag2"]},{"1326966937":["hashtag1","hashtag2"]},{"1326966946":["hashtag1","hashtag2"]},{"1326966925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326966944, 1326966911, 1326966929, 1326966937, 1326966946, 1326966925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 150.7171025276184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:31:22.257502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0003.jpg', '/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0000.jpg', '/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0001.jpg', '/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0002.jpg', '/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0003.jpg', '/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/24/image_06012025_11_24_02_294701_0003.jpg
/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0000.jpg
/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0001.jpg
/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0002.jpg
/home/pi/Desktop/images/06012025/11/25/image_06012025_11_25_02_413185_0003.jpg
/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967043","1326967046","1326966970","1326967036","1326967003","1326967027"],"photo_ids_order":["1326966970","1326967003","1326967027","1326967036","1326967043","1326967046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d714dcc9f3ec7fcca4bca0ce0562c40.jpg","text":"TemporaryFile(/tmp/multipartBody6854650116020851020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_25_02_413185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4052294be152e137ebc23c20ff16ab21.jpg","text":"TemporaryFile(/tmp/multipartBody3240609950788409338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_26_02_649199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8ec31842f944dd8a8310b3d69d989a9.jpg","text":"TemporaryFile(/tmp/multipartBody6270846488721719934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_24_02_294701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee627c61b182bb8e67937735c11aa6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8455790733545074701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_25_02_413185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/abb90cf66d1e46ce8f9cb2690cfcfdbd.jpg","text":"TemporaryFile(/tmp/multipartBody912091337726343365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_25_02_413185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a6f0e6f29104ae186947f540211a47f.jpg","text":"TemporaryFile(/tmp/multipartBody8349304632237117089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159557385,"filename":"image_06012025_11_25_02_413185_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967027","file1":"1326967003","file0":"1326966970","file4":"1326967043","file5":"1326967046","file3":"1326967036"},"map_files_photo_id_array":[{"photo_id":"1326967046","filename":"file5"},{"photo_id":"1326967027","filename":"file2"},{"photo_id":"1326967043","filename":"file4"},{"photo_id":"1326967003","filename":"file1"},{"photo_id":"1326966970","filename":"file0"},{"photo_id":"1326967036","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967043":["hashtag1","hashtag2"]},{"1326967046":["hashtag1","hashtag2"]},{"1326966970":["hashtag1","hashtag2"]},{"1326967036":["hashtag1","hashtag2"]},{"1326967003":["hashtag1","hashtag2"]},{"1326967027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967043, 1326967046, 1326966970, 1326967036, 1326967003, 1326967027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 129.85269975662231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:33:42.639477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0001.jpg', '/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0002.jpg', '/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0003.jpg', '/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0000.jpg', '/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0001.jpg', '/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0001.jpg
/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0002.jpg
/home/pi/Desktop/images/06012025/11/26/image_06012025_11_26_02_649199_0003.jpg
/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0000.jpg
/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0001.jpg
/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967067","1326967262","1326967256","1326967144","1326967273","1326967075"],"photo_ids_order":["1326967067","1326967075","1326967144","1326967256","1326967262","1326967273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6de41fe588e4557c2694b0a468cc3934.jpg","text":"TemporaryFile(/tmp/multipartBody13708702610450952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_26_02_649199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3cd17f32399907977ecffcf114eab25c.jpg","text":"TemporaryFile(/tmp/multipartBody2160924449687704365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_27_02_704030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adfe36bb3da0aaf309d9b65bbe42b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody5262200990221343210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_27_02_704030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84bb0b913910bbd659bb684a55b1f789.jpg","text":"TemporaryFile(/tmp/multipartBody369408017519297824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_26_02_649199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94d0fbf4da9721776e1ca7bc4df3e214.jpg","text":"TemporaryFile(/tmp/multipartBody2858434554287448179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_27_02_704030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84d52cd3cc7575c859c2aaf1e75a97d4.jpg","text":"TemporaryFile(/tmp/multipartBody8570922863457094329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159697895,"filename":"image_06012025_11_26_02_649199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967144","file1":"1326967075","file0":"1326967067","file4":"1326967262","file5":"1326967273","file3":"1326967256"},"map_files_photo_id_array":[{"photo_id":"1326967273","filename":"file5"},{"photo_id":"1326967144","filename":"file2"},{"photo_id":"1326967262","filename":"file4"},{"photo_id":"1326967075","filename":"file1"},{"photo_id":"1326967067","filename":"file0"},{"photo_id":"1326967256","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967067":["hashtag1","hashtag2"]},{"1326967262":["hashtag1","hashtag2"]},{"1326967256":["hashtag1","hashtag2"]},{"1326967144":["hashtag1","hashtag2"]},{"1326967273":["hashtag1","hashtag2"]},{"1326967075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967067, 1326967262, 1326967256, 1326967144, 1326967273, 1326967075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 140.32501602172852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:36:22.180319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0003.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0000.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0001.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0002.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0003.jpg', '/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0003.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0000.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0001.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0002.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0003.jpg
/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0000.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.736253499984741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:36:42.171581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0003.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0000.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0001.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0002.jpg', '/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0003.jpg', '/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/27/image_06012025_11_27_02_704030_0003.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0000.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0001.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0002.jpg
/home/pi/Desktop/images/06012025/11/28/image_06012025_11_28_02_914039_0003.jpg
/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967349","1326967313","1326967312","1326967309","1326967293","1326967353"],"photo_ids_order":["1326967293","1326967309","1326967312","1326967313","1326967349","1326967353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a25e2815e2ed1003f46af0da9490a14a.jpg","text":"TemporaryFile(/tmp/multipartBody465350287233471182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_28_02_914039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a03517f157f5eb56650901cddd9796b1.jpg","text":"TemporaryFile(/tmp/multipartBody6352420965672698665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_28_02_914039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bafc58469c798ec20109182b705ab7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2834077547478804875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_28_02_914039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29eef137b501da33123dbe3a34f2888c.jpg","text":"TemporaryFile(/tmp/multipartBody1490432350950823304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_28_02_914039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b789482725c309e4b2b4cb24b9fe41a.jpg","text":"TemporaryFile(/tmp/multipartBody4725531064292644100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_27_02_704030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0865b489fd9942103749e49f83d289d8.jpg","text":"TemporaryFile(/tmp/multipartBody342821285793501213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159877304,"filename":"image_06012025_11_29_03_154613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967312","file1":"1326967309","file0":"1326967293","file4":"1326967349","file5":"1326967353","file3":"1326967313"},"map_files_photo_id_array":[{"photo_id":"1326967353","filename":"file5"},{"photo_id":"1326967312","filename":"file2"},{"photo_id":"1326967349","filename":"file4"},{"photo_id":"1326967309","filename":"file1"},{"photo_id":"1326967293","filename":"file0"},{"photo_id":"1326967313","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967349":["hashtag1","hashtag2"]},{"1326967313":["hashtag1","hashtag2"]},{"1326967312":["hashtag1","hashtag2"]},{"1326967309":["hashtag1","hashtag2"]},{"1326967293":["hashtag1","hashtag2"]},{"1326967353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967349, 1326967313, 1326967312, 1326967309, 1326967293, 1326967353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 115.64733719825745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 11:38:42.564782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0001.jpg', '/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0002.jpg', '/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0003.jpg', '/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0000.jpg', '/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0001.jpg', '/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0001.jpg
/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0002.jpg
/home/pi/Desktop/images/06012025/11/29/image_06012025_11_29_03_154613_0003.jpg
/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0000.jpg
/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0001.jpg
/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967364","1326967375","1326967399","1326967384","1326967380","1326967368"],"photo_ids_order":["1326967364","1326967368","1326967375","1326967380","1326967384","1326967399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bb0f608475315cedb6309053eeff5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4391314384195729388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_29_03_154613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88f300dfc4b455050211d5d2b5d5df13.jpg","text":"TemporaryFile(/tmp/multipartBody4165957600482610896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_29_03_154613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8d71bb6f755dc18f12a252390e51e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8957708048739172643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_30_02_302397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd9444efb942b2bebb58589c5290f08d.jpg","text":"TemporaryFile(/tmp/multipartBody61634846055967080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_30_02_302397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e07fb9a13c87481cecda2809781c7053.jpg","text":"TemporaryFile(/tmp/multipartBody2778500269073791427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_30_02_302397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c944c6bbe9441bc03d3f5f54e7ba4b8.jpg","text":"TemporaryFile(/tmp/multipartBody768314098113811173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736159997388,"filename":"image_06012025_11_29_03_154613_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967375","file1":"1326967368","file0":"1326967364","file4":"1326967384","file5":"1326967399","file3":"1326967380"},"map_files_photo_id_array":[{"photo_id":"1326967399","filename":"file5"},{"photo_id":"1326967375","filename":"file2"},{"photo_id":"1326967384","filename":"file4"},{"photo_id":"1326967368","filename":"file1"},{"photo_id":"1326967364","filename":"file0"},{"photo_id":"1326967380","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967364":["hashtag1","hashtag2"]},{"1326967375":["hashtag1","hashtag2"]},{"1326967399":["hashtag1","hashtag2"]},{"1326967384":["hashtag1","hashtag2"]},{"1326967380":["hashtag1","hashtag2"]},{"1326967368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967364, 1326967375, 1326967399, 1326967384, 1326967380, 1326967368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 130.81538891792297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:41:02.640512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0003.jpg', '/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0000.jpg', '/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0001.jpg', '/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0002.jpg', '/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0003.jpg', '/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/30/image_06012025_11_30_02_302397_0003.jpg
/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0000.jpg
/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0001.jpg
/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0002.jpg
/home/pi/Desktop/images/06012025/11/31/image_06012025_11_31_02_445865_0003.jpg
/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967449","1326967484","1326967487","1326967456","1326967465","1326967528"],"photo_ids_order":["1326967449","1326967456","1326967465","1326967484","1326967487","1326967528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be46b0a1a4230148dc4566301856b1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5671665682619471916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_30_02_302397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f594c3c6b4600f20008be7e1afcf6e0.jpg","text":"TemporaryFile(/tmp/multipartBody4435238989226009457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_31_02_445865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de2b48a8ec45e278b57f8df1a1b9b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody1442315578643529358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_31_02_445865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/112a84020f00cb3aa8b95050dfa71d63.jpg","text":"TemporaryFile(/tmp/multipartBody3745406266339444908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_31_02_445865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07200e0230f5522ac59a6618bd9a37c1.jpg","text":"TemporaryFile(/tmp/multipartBody2116559598120762034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_31_02_445865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67fd9ed3accbc2ad458c5a579526d151.jpg","text":"TemporaryFile(/tmp/multipartBody91853630416998634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160137350,"filename":"image_06012025_11_32_02_602732_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967465","file1":"1326967456","file0":"1326967449","file4":"1326967487","file5":"1326967528","file3":"1326967484"},"map_files_photo_id_array":[{"photo_id":"1326967528","filename":"file5"},{"photo_id":"1326967465","filename":"file2"},{"photo_id":"1326967487","filename":"file4"},{"photo_id":"1326967456","filename":"file1"},{"photo_id":"1326967449","filename":"file0"},{"photo_id":"1326967484","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967449":["hashtag1","hashtag2"]},{"1326967484":["hashtag1","hashtag2"]},{"1326967487":["hashtag1","hashtag2"]},{"1326967456":["hashtag1","hashtag2"]},{"1326967465":["hashtag1","hashtag2"]},{"1326967528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967449, 1326967484, 1326967487, 1326967456, 1326967465, 1326967528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 166.7598865032196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:43:52.421418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0001.jpg', '/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0002.jpg', '/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0003.jpg', '/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0000.jpg', '/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0001.jpg', '/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0001.jpg
/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0002.jpg
/home/pi/Desktop/images/06012025/11/32/image_06012025_11_32_02_602732_0003.jpg
/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0000.jpg
/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0001.jpg
/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967701","1326967611","1326967595","1326967586","1326967631","1326967606"],"photo_ids_order":["1326967586","1326967595","1326967606","1326967611","1326967631","1326967701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/334fb5b5a03ba368d422dc5e8c9eb7cc.jpg","text":"TemporaryFile(/tmp/multipartBody538194426067585128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_33_02_847990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23bc90c41d83cd2643399eab81486844.jpg","text":"TemporaryFile(/tmp/multipartBody4551285559551814297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_33_02_847990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3188039da97aea0a9987d001f08f149a.jpg","text":"TemporaryFile(/tmp/multipartBody6767421663388733861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_32_02_602732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc5af2c95493d480f5dcde3c06a52169.jpg","text":"TemporaryFile(/tmp/multipartBody538894593371401887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_32_02_602732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/517b1ec24843de9ea05967f1cc50fc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5512719180818906366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_33_02_847990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c34a59fb589b4ef0de3d06f8ed08a29.jpg","text":"TemporaryFile(/tmp/multipartBody7148968723966573964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160307285,"filename":"image_06012025_11_32_02_602732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967606","file1":"1326967595","file0":"1326967586","file4":"1326967631","file5":"1326967701","file3":"1326967611"},"map_files_photo_id_array":[{"photo_id":"1326967701","filename":"file5"},{"photo_id":"1326967606","filename":"file2"},{"photo_id":"1326967631","filename":"file4"},{"photo_id":"1326967595","filename":"file1"},{"photo_id":"1326967586","filename":"file0"},{"photo_id":"1326967611","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967701":["hashtag1","hashtag2"]},{"1326967611":["hashtag1","hashtag2"]},{"1326967595":["hashtag1","hashtag2"]},{"1326967586":["hashtag1","hashtag2"]},{"1326967631":["hashtag1","hashtag2"]},{"1326967606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967701, 1326967611, 1326967595, 1326967586, 1326967631, 1326967606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 169.325355052948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 11:46:51.931428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0003.jpg', '/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0000.jpg', '/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0001.jpg', '/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0002.jpg', '/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0003.jpg', '/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/33/image_06012025_11_33_02_847990_0003.jpg
/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0000.jpg
/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0001.jpg
/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0002.jpg
/home/pi/Desktop/images/06012025/11/34/image_06012025_11_34_02_934536_0003.jpg
/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967749","1326967713","1326967719","1326967748","1326967727","1326967723"],"photo_ids_order":["1326967713","1326967719","1326967723","1326967727","1326967748","1326967749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf0e33be2d4ae0d9e85142bfb2620347.jpg","text":"TemporaryFile(/tmp/multipartBody5306768294437277912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_35_02_137342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95f699a5bf66bfb7e313238018ec6de2.jpg","text":"TemporaryFile(/tmp/multipartBody6248320716383622326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_33_02_847990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37aacf71629acbbdd3dfd0abea39573b.jpg","text":"TemporaryFile(/tmp/multipartBody6057734958731346214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_34_02_934536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8003c91c8f375fd339c7350103c6cb4.jpg","text":"TemporaryFile(/tmp/multipartBody9066153730068248703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_34_02_934536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/599a5a123fded9458255e0b7b1c028fe.jpg","text":"TemporaryFile(/tmp/multipartBody1538221768990037191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_34_02_934536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df826c0a5b8a02d764accab40b193e96.jpg","text":"TemporaryFile(/tmp/multipartBody4150640523704487713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160486765,"filename":"image_06012025_11_34_02_934536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967723","file1":"1326967719","file0":"1326967713","file4":"1326967748","file5":"1326967749","file3":"1326967727"},"map_files_photo_id_array":[{"photo_id":"1326967749","filename":"file5"},{"photo_id":"1326967723","filename":"file2"},{"photo_id":"1326967748","filename":"file4"},{"photo_id":"1326967719","filename":"file1"},{"photo_id":"1326967713","filename":"file0"},{"photo_id":"1326967727","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967749":["hashtag1","hashtag2"]},{"1326967713":["hashtag1","hashtag2"]},{"1326967719":["hashtag1","hashtag2"]},{"1326967748":["hashtag1","hashtag2"]},{"1326967727":["hashtag1","hashtag2"]},{"1326967723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967749, 1326967713, 1326967719, 1326967748, 1326967727, 1326967723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 146.78768157958984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:49:22.553628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0001.jpg', '/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0002.jpg', '/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0003.jpg', '/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0000.jpg', '/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0001.jpg', '/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0001.jpg
/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0002.jpg
/home/pi/Desktop/images/06012025/11/35/image_06012025_11_35_02_137342_0003.jpg
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0000.jpg
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0001.jpg
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326967872","1326967806","1326967818","1326967832","1326967801","1326967794"],"photo_ids_order":["1326967794","1326967801","1326967806","1326967818","1326967832","1326967872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9c227eabb59eb6b71c248fa860a5a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1949821181306258646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_36_02_396430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2cfb856d521b837d7978f2d0cbb5ee27.jpg","text":"TemporaryFile(/tmp/multipartBody3064939739818460095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_35_02_137342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f32124e3627a6ccbd9ffa03f554cba71.jpg","text":"TemporaryFile(/tmp/multipartBody1668715588827573229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_36_02_396430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6809acb6ebdc3ed733c6a9c59d4bee15.jpg","text":"TemporaryFile(/tmp/multipartBody3549731331132817019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_36_02_396430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6cc2b261f06b782a9a0a763099f93ac.jpg","text":"TemporaryFile(/tmp/multipartBody8423897275063839375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_35_02_137342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36658c183412e488e9811d6616223f11.jpg","text":"TemporaryFile(/tmp/multipartBody165234786746048366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736160637440,"filename":"image_06012025_11_35_02_137342_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326967806","file1":"1326967801","file0":"1326967794","file4":"1326967832","file5":"1326967872","file3":"1326967818"},"map_files_photo_id_array":[{"photo_id":"1326967872","filename":"file5"},{"photo_id":"1326967806","filename":"file2"},{"photo_id":"1326967832","filename":"file4"},{"photo_id":"1326967801","filename":"file1"},{"photo_id":"1326967794","filename":"file0"},{"photo_id":"1326967818","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326967872":["hashtag1","hashtag2"]},{"1326967806":["hashtag1","hashtag2"]},{"1326967818":["hashtag1","hashtag2"]},{"1326967832":["hashtag1","hashtag2"]},{"1326967801":["hashtag1","hashtag2"]},{"1326967794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326967872, 1326967806, 1326967818, 1326967832, 1326967801, 1326967794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 227.92632603645325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 11:53:22.411669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg', '/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 11:59:03.159784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg', '/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 12:01:21.044334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg', '/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg', '/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/36/image_06012025_11_36_02_396430_0003.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0000.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0001.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0002.jpg
/home/pi/Desktop/images/06012025/11/37/image_06012025_11_37_02_546855_0003.jpg
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970002","1326970055","1326970013","1326969987","1326969996","1326969981"],"photo_ids_order":["1326969981","1326969987","1326969996","1326970002","1326970013","1326970055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e04259698e7d648408d6475873076143.jpg","text":"TemporaryFile(/tmp/multipartBody7328753109935826918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_37_02_546855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35f74b7f2f85248d76893e2b398e8f05.jpg","text":"TemporaryFile(/tmp/multipartBody1100043134637916186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_38_02_757160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73c3b5b210a5524f9aea7b7b8a45b40e.jpg","text":"TemporaryFile(/tmp/multipartBody9109901294740468374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_37_02_546855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61fe5d532e0e285d14a1270f5a5deb34.jpg","text":"TemporaryFile(/tmp/multipartBody674684160134750860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_37_02_546855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c86c4983e10027afaeab32b7f1ca7238.jpg","text":"TemporaryFile(/tmp/multipartBody7363132135408217930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_37_02_546855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/557fbfae9e25564a52e1d0a877f04d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5383284731202087766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161357229,"filename":"image_06012025_11_36_02_396430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326969996","file1":"1326969987","file0":"1326969981","file4":"1326970013","file5":"1326970055","file3":"1326970002"},"map_files_photo_id_array":[{"photo_id":"1326970055","filename":"file5"},{"photo_id":"1326969996","filename":"file2"},{"photo_id":"1326970013","filename":"file4"},{"photo_id":"1326969987","filename":"file1"},{"photo_id":"1326969981","filename":"file0"},{"photo_id":"1326970002","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970002":["hashtag1","hashtag2"]},{"1326970055":["hashtag1","hashtag2"]},{"1326970013":["hashtag1","hashtag2"]},{"1326969987":["hashtag1","hashtag2"]},{"1326969996":["hashtag1","hashtag2"]},{"1326969981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970002, 1326970055, 1326970013, 1326969987, 1326969996, 1326969981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 216.7326979637146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 12:05:02.620662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0001.jpg', '/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0002.jpg', '/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0003.jpg', '/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0000.jpg', '/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0001.jpg', '/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0001.jpg
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0002.jpg
/home/pi/Desktop/images/06012025/11/38/image_06012025_11_38_02_757160_0003.jpg
/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0000.jpg
/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0001.jpg
/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970097","1326970250","1326970285","1326970270","1326970258","1326970102"],"photo_ids_order":["1326970097","1326970102","1326970250","1326970258","1326970270","1326970285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f730aad349d9a6a9de8b6ab82bb5fdf.jpg","text":"TemporaryFile(/tmp/multipartBody7579284407725247820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_38_02_757160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c60f1f6a14d210813c09ae0888416e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8754317400080071945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_38_02_757160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f9f2d7d287f615d3914fc43ead26301.jpg","text":"TemporaryFile(/tmp/multipartBody8144744649600987785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_39_02_852595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ff9415d67de1646471c873d1035908f.jpg","text":"TemporaryFile(/tmp/multipartBody5276679417501101494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_39_02_852595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97bb187726a69e1cb2d6b07eeb6fe0c4.jpg","text":"TemporaryFile(/tmp/multipartBody2243063550752105595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_39_02_852595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a31b7570915b85c4ae0554f29fec0ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2260701529376612734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161577875,"filename":"image_06012025_11_38_02_757160_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326970250","file1":"1326970102","file0":"1326970097","file4":"1326970270","file5":"1326970285","file3":"1326970258"},"map_files_photo_id_array":[{"photo_id":"1326970285","filename":"file5"},{"photo_id":"1326970250","filename":"file2"},{"photo_id":"1326970270","filename":"file4"},{"photo_id":"1326970102","filename":"file1"},{"photo_id":"1326970097","filename":"file0"},{"photo_id":"1326970258","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970097":["hashtag1","hashtag2"]},{"1326970250":["hashtag1","hashtag2"]},{"1326970285":["hashtag1","hashtag2"]},{"1326970270":["hashtag1","hashtag2"]},{"1326970258":["hashtag1","hashtag2"]},{"1326970102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970097, 1326970250, 1326970285, 1326970270, 1326970258, 1326970102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 158.37893533706665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 12:07:42.456585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0003.jpg', '/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0000.jpg', '/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0001.jpg', '/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0002.jpg', '/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0003.jpg', '/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/39/image_06012025_11_39_02_852595_0003.jpg
/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0000.jpg
/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0001.jpg
/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0002.jpg
/home/pi/Desktop/images/06012025/11/40/image_06012025_11_40_03_103095_0003.jpg
/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970346","1326970339","1326970504","1326970455","1326970440","1326970365"],"photo_ids_order":["1326970339","1326970346","1326970365","1326970440","1326970455","1326970504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/775336fac5c98b8d74a085daf912236a.jpg","text":"TemporaryFile(/tmp/multipartBody5355852367144911294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_40_03_103095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7121cd35a0d276d1aa38639b79c59bb.jpg","text":"TemporaryFile(/tmp/multipartBody3292381798379904460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_39_02_852595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00343f0e6e55f501366669b1073d07df.jpg","text":"TemporaryFile(/tmp/multipartBody8658529238218406731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_41_02_264140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e1b7e683520142e4c8a0952e363ab6e.jpg","text":"TemporaryFile(/tmp/multipartBody3699607116730163380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_40_03_103095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6afc29338434cf8b9c8113b07267dbca.jpg","text":"TemporaryFile(/tmp/multipartBody132228624729800488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_40_03_103095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf74839063d90371cfe0686aff5978c0.jpg","text":"TemporaryFile(/tmp/multipartBody6303976627572102021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161737620,"filename":"image_06012025_11_40_03_103095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326970365","file1":"1326970346","file0":"1326970339","file4":"1326970455","file5":"1326970504","file3":"1326970440"},"map_files_photo_id_array":[{"photo_id":"1326970504","filename":"file5"},{"photo_id":"1326970365","filename":"file2"},{"photo_id":"1326970455","filename":"file4"},{"photo_id":"1326970346","filename":"file1"},{"photo_id":"1326970339","filename":"file0"},{"photo_id":"1326970440","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970346":["hashtag1","hashtag2"]},{"1326970339":["hashtag1","hashtag2"]},{"1326970504":["hashtag1","hashtag2"]},{"1326970455":["hashtag1","hashtag2"]},{"1326970440":["hashtag1","hashtag2"]},{"1326970365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970346, 1326970339, 1326970504, 1326970455, 1326970440, 1326970365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 218.9732847213745 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-06 12:11:32.157613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0001.jpg', '/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0002.jpg', '/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0003.jpg', '/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0000.jpg', '/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0001.jpg', '/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0001.jpg
/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0002.jpg
/home/pi/Desktop/images/06012025/11/41/image_06012025_11_41_02_264140_0003.jpg
/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0000.jpg
/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0001.jpg
/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970550","1326970532","1326970654","1326970564","1326970587","1326970641"],"photo_ids_order":["1326970532","1326970550","1326970564","1326970587","1326970641","1326970654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5abe512eee4113ed8f974b584565f1db.jpg","text":"TemporaryFile(/tmp/multipartBody8979186510588831804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_41_02_264140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1be5f5a63297144f04ea93d8ccad3e09.jpg","text":"TemporaryFile(/tmp/multipartBody2824333397164363488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_41_02_264140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bcae0e8e9690f401be8cbbe9c2c35d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2439850536467865927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_42_02_407118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5775a06d67dd09c7d2190148dd739906.jpg","text":"TemporaryFile(/tmp/multipartBody6672939376671812990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_41_02_264140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b70d0f78777c42d4866755d048dddc88.jpg","text":"TemporaryFile(/tmp/multipartBody7212927925481664676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_42_02_407118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09fd0b76c8506e1c9f47cfea4bb87f71.jpg","text":"TemporaryFile(/tmp/multipartBody162743348137204224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736161967218,"filename":"image_06012025_11_42_02_407118_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326970564","file1":"1326970550","file0":"1326970532","file4":"1326970641","file5":"1326970654","file3":"1326970587"},"map_files_photo_id_array":[{"photo_id":"1326970654","filename":"file5"},{"photo_id":"1326970564","filename":"file2"},{"photo_id":"1326970641","filename":"file4"},{"photo_id":"1326970550","filename":"file1"},{"photo_id":"1326970532","filename":"file0"},{"photo_id":"1326970587","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970550":["hashtag1","hashtag2"]},{"1326970532":["hashtag1","hashtag2"]},{"1326970654":["hashtag1","hashtag2"]},{"1326970564":["hashtag1","hashtag2"]},{"1326970587":["hashtag1","hashtag2"]},{"1326970641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970550, 1326970532, 1326970654, 1326970564, 1326970587, 1326970641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 207.61476922035217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 12:15:02.504763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0003.jpg', '/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0000.jpg', '/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0001.jpg', '/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0002.jpg', '/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0003.jpg', '/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/42/image_06012025_11_42_02_407118_0003.jpg
/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0000.jpg
/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0001.jpg
/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0002.jpg
/home/pi/Desktop/images/06012025/11/43/image_06012025_11_43_02_605070_0003.jpg
/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970679","1326970759","1326970747","1326970669","1326970750","1326970698"],"photo_ids_order":["1326970669","1326970679","1326970698","1326970747","1326970750","1326970759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39e950ea40f17132c7c3531b537de09d.jpg","text":"TemporaryFile(/tmp/multipartBody7529600209330060488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_43_02_605070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fefbc955f75b24b3e3ed6df2be995df.jpg","text":"TemporaryFile(/tmp/multipartBody4221161361074140496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_44_02_880020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f67eb3f67b84525b91c82238d18eff74.jpg","text":"TemporaryFile(/tmp/multipartBody1762086210933393125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_43_02_605070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7010d5af29d2d91000acfcfc06320468.jpg","text":"TemporaryFile(/tmp/multipartBody8139644557097577347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_42_02_407118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27e1d14c8e2ec27c313ee4828cd7c1db.jpg","text":"TemporaryFile(/tmp/multipartBody2321505988524430174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_43_02_605070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b46b8ef184543511ae8eab50001061c6.jpg","text":"TemporaryFile(/tmp/multipartBody5253145488197124602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162177479,"filename":"image_06012025_11_43_02_605070_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326970698","file1":"1326970679","file0":"1326970669","file4":"1326970750","file5":"1326970759","file3":"1326970747"},"map_files_photo_id_array":[{"photo_id":"1326970759","filename":"file5"},{"photo_id":"1326970698","filename":"file2"},{"photo_id":"1326970750","filename":"file4"},{"photo_id":"1326970679","filename":"file1"},{"photo_id":"1326970669","filename":"file0"},{"photo_id":"1326970747","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970679":["hashtag1","hashtag2"]},{"1326970759":["hashtag1","hashtag2"]},{"1326970747":["hashtag1","hashtag2"]},{"1326970669":["hashtag1","hashtag2"]},{"1326970750":["hashtag1","hashtag2"]},{"1326970698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970679, 1326970759, 1326970747, 1326970669, 1326970750, 1326970698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 155.93400073051453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 12:17:42.199822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0001.jpg', '/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0002.jpg', '/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0003.jpg', '/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0000.jpg', '/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0001.jpg', '/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0001.jpg
/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0002.jpg
/home/pi/Desktop/images/06012025/11/44/image_06012025_11_44_02_880020_0003.jpg
/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0000.jpg
/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0001.jpg
/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326970811","1326970870","1326970864","1326970794","1326970881","1326970779"],"photo_ids_order":["1326970779","1326970794","1326970811","1326970864","1326970870","1326970881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbb878d37c01608e38dff302222ab507.jpg","text":"TemporaryFile(/tmp/multipartBody6882889221589042447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_44_02_880020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a6f39425e5eae285890ffa5551f416b.jpg","text":"TemporaryFile(/tmp/multipartBody1000228204567981310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_45_02_977811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b395a658d979bfc2503a1f4b46d44f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8180523113548406625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_45_02_977811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8965f56432bf8babf14ced56bb44f705.jpg","text":"TemporaryFile(/tmp/multipartBody3035691014772778172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_44_02_880020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1aaa077ec15ff87aef8a73cd9c42a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2241670838253109373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_45_02_977811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7d48e5f8adf244a4fa2bfa323ba8c63.jpg","text":"TemporaryFile(/tmp/multipartBody4000697381668213123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162337410,"filename":"image_06012025_11_44_02_880020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326970811","file1":"1326970794","file0":"1326970779","file4":"1326970870","file5":"1326970881","file3":"1326970864"},"map_files_photo_id_array":[{"photo_id":"1326970881","filename":"file5"},{"photo_id":"1326970811","filename":"file2"},{"photo_id":"1326970870","filename":"file4"},{"photo_id":"1326970794","filename":"file1"},{"photo_id":"1326970779","filename":"file0"},{"photo_id":"1326970864","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326970811":["hashtag1","hashtag2"]},{"1326970870":["hashtag1","hashtag2"]},{"1326970864":["hashtag1","hashtag2"]},{"1326970794":["hashtag1","hashtag2"]},{"1326970881":["hashtag1","hashtag2"]},{"1326970779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326970811, 1326970870, 1326970864, 1326970794, 1326970881, 1326970779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 187.50863552093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 12:20:52.712003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0003.jpg', '/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0000.jpg', '/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0001.jpg', '/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0002.jpg', '/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0003.jpg', '/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/45/image_06012025_11_45_02_977811_0003.jpg
/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0000.jpg
/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0001.jpg
/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0002.jpg
/home/pi/Desktop/images/06012025/11/46/image_06012025_11_46_02_268995_0003.jpg
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326971006","1326971257","1326971268","1326970924","1326970980","1326971001"],"photo_ids_order":["1326970924","1326970980","1326971001","1326971006","1326971257","1326971268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba5132d553380184a48981546e95ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody2796978072861875371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_46_02_268995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5359688b2518ffa3b56b2adf070101a.jpg","text":"TemporaryFile(/tmp/multipartBody1161927944018882115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_46_02_268995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21e995a3474d3a3927083456c21c48d3.jpg","text":"TemporaryFile(/tmp/multipartBody389970518184400226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_47_02_367117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c5b3fd2df595afb8f2b47850d6a6cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8560503853843376071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_45_02_977811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84332a2899aefddd846495bf6ba5dc37.jpg","text":"TemporaryFile(/tmp/multipartBody4520780609628773355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_46_02_268995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79802e699875f3423c514f9d5414aa48.jpg","text":"TemporaryFile(/tmp/multipartBody8635501447504501644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162527882,"filename":"image_06012025_11_46_02_268995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326971001","file1":"1326970980","file0":"1326970924","file4":"1326971257","file5":"1326971268","file3":"1326971006"},"map_files_photo_id_array":[{"photo_id":"1326971268","filename":"file5"},{"photo_id":"1326971001","filename":"file2"},{"photo_id":"1326971257","filename":"file4"},{"photo_id":"1326970980","filename":"file1"},{"photo_id":"1326970924","filename":"file0"},{"photo_id":"1326971006","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326971006":["hashtag1","hashtag2"]},{"1326971257":["hashtag1","hashtag2"]},{"1326971268":["hashtag1","hashtag2"]},{"1326970924":["hashtag1","hashtag2"]},{"1326970980":["hashtag1","hashtag2"]},{"1326971001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326971006, 1326971257, 1326971268, 1326970924, 1326970980, 1326971001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 177.75800776481628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 12:23:52.232878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0001.jpg', '/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0002.jpg', '/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0003.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0000.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0001.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0001.jpg
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0002.jpg
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0003.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0000.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0001.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_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.778586626052856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:24:22.427795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0001.jpg', '/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0002.jpg', '/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0003.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0000.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0001.jpg', '/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0001.jpg
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0002.jpg
/home/pi/Desktop/images/06012025/11/47/image_06012025_11_47_02_367117_0003.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0000.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0001.jpg
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326971534","1326971473","1326971592","1326971611","1326971640","1326971360"],"photo_ids_order":["1326971360","1326971473","1326971534","1326971592","1326971611","1326971640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/020043773739ed2b1b6a3ddf899fb944.jpg","text":"TemporaryFile(/tmp/multipartBody3789392036594537557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_47_02_367117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/013d679fd36ee15300247af4b887cc00.jpg","text":"TemporaryFile(/tmp/multipartBody209729639695464365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_47_02_367117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2b24e2c65d6fc8be4aeec95715f99f6.jpg","text":"TemporaryFile(/tmp/multipartBody890314324821916460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_48_02_551390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fef1d63f5764ecaca6262f3762af01c1.jpg","text":"TemporaryFile(/tmp/multipartBody2499512832558915869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_48_02_551390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dab12071a7d036edcbbd96979ede3d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1808139222434495114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_48_02_551390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bb0991cf8305d08395b4cd1f432adf9.jpg","text":"TemporaryFile(/tmp/multipartBody8150322317534540034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162737454,"filename":"image_06012025_11_47_02_367117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326971534","file1":"1326971473","file0":"1326971360","file4":"1326971611","file5":"1326971640","file3":"1326971592"},"map_files_photo_id_array":[{"photo_id":"1326971640","filename":"file5"},{"photo_id":"1326971534","filename":"file2"},{"photo_id":"1326971611","filename":"file4"},{"photo_id":"1326971473","filename":"file1"},{"photo_id":"1326971360","filename":"file0"},{"photo_id":"1326971592","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326971534":["hashtag1","hashtag2"]},{"1326971473":["hashtag1","hashtag2"]},{"1326971592":["hashtag1","hashtag2"]},{"1326971611":["hashtag1","hashtag2"]},{"1326971640":["hashtag1","hashtag2"]},{"1326971360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326971534, 1326971473, 1326971592, 1326971611, 1326971640, 1326971360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 231.3404824733734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:28:22.255873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0003.jpg', '/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0000.jpg', '/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0001.jpg', '/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0002.jpg', '/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0003.jpg', '/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/48/image_06012025_11_48_02_551390_0003.jpg
/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0000.jpg
/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0001.jpg
/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0002.jpg
/home/pi/Desktop/images/06012025/11/49/image_06012025_11_49_02_755821_0003.jpg
/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326971756","1326971714","1326971906","1326971860","1326971795","1326971733"],"photo_ids_order":["1326971714","1326971733","1326971756","1326971795","1326971860","1326971906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fa5c43d69785a26dcb7eeda1667afca.jpg","text":"TemporaryFile(/tmp/multipartBody2756823876573612074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_49_02_755821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2ffe16dca71d99011164cf9306ae54b.jpg","text":"TemporaryFile(/tmp/multipartBody7035636020182787324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_48_02_551390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ef74da0814f69b659add79ac8474751.jpg","text":"TemporaryFile(/tmp/multipartBody3372287657946054527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_50_02_886069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f0feac00617466dcb6b49c10c67d01b.jpg","text":"TemporaryFile(/tmp/multipartBody2324476196468571909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_49_02_755821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3482e992ba20a40d7334a8ccdfc36f19.jpg","text":"TemporaryFile(/tmp/multipartBody4367828855344634213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_49_02_755821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8c74368cd07b5745db3574f1195fd91.jpg","text":"TemporaryFile(/tmp/multipartBody1022370637697811663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736162977566,"filename":"image_06012025_11_49_02_755821_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326971756","file1":"1326971733","file0":"1326971714","file4":"1326971860","file5":"1326971906","file3":"1326971795"},"map_files_photo_id_array":[{"photo_id":"1326971906","filename":"file5"},{"photo_id":"1326971756","filename":"file2"},{"photo_id":"1326971860","filename":"file4"},{"photo_id":"1326971733","filename":"file1"},{"photo_id":"1326971714","filename":"file0"},{"photo_id":"1326971795","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326971756":["hashtag1","hashtag2"]},{"1326971714":["hashtag1","hashtag2"]},{"1326971906":["hashtag1","hashtag2"]},{"1326971860":["hashtag1","hashtag2"]},{"1326971795":["hashtag1","hashtag2"]},{"1326971733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326971756, 1326971714, 1326971906, 1326971860, 1326971795, 1326971733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 282.69847083091736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:33:21.980045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0001.jpg', '/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0002.jpg', '/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0003.jpg', '/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0000.jpg', '/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0001.jpg', '/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0001.jpg
/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0002.jpg
/home/pi/Desktop/images/06012025/11/50/image_06012025_11_50_02_886069_0003.jpg
/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0000.jpg
/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0001.jpg
/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326972022","1326972238","1326972258","1326971982","1326972033","1326972248"],"photo_ids_order":["1326971982","1326972022","1326972033","1326972238","1326972248","1326972258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e11ed06353996b07aad31770006e8f00.jpg","text":"TemporaryFile(/tmp/multipartBody9155216679841572824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_50_02_886069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3350e0e4554aeb983f52da02ac7d1a19.jpg","text":"TemporaryFile(/tmp/multipartBody4984087387029178333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_51_03_178434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/485771e71938d06ab00091652d65b01a.jpg","text":"TemporaryFile(/tmp/multipartBody1498469932133425952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_51_03_178434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a10bd05b46b20a7c4b7a21d4a4d333c5.jpg","text":"TemporaryFile(/tmp/multipartBody8322477233448495198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_50_02_886069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9909d40aea6c981c4ffa22755bb866a.jpg","text":"TemporaryFile(/tmp/multipartBody1584911789838604306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_50_02_886069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9badcc3290cb77a4a02fdc50ca71037.jpg","text":"TemporaryFile(/tmp/multipartBody4733323252711746904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163277304,"filename":"image_06012025_11_51_03_178434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326972033","file1":"1326972022","file0":"1326971982","file4":"1326972248","file5":"1326972258","file3":"1326972238"},"map_files_photo_id_array":[{"photo_id":"1326972258","filename":"file5"},{"photo_id":"1326972033","filename":"file2"},{"photo_id":"1326972248","filename":"file4"},{"photo_id":"1326972022","filename":"file1"},{"photo_id":"1326971982","filename":"file0"},{"photo_id":"1326972238","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326972022":["hashtag1","hashtag2"]},{"1326972238":["hashtag1","hashtag2"]},{"1326972258":["hashtag1","hashtag2"]},{"1326971982":["hashtag1","hashtag2"]},{"1326972033":["hashtag1","hashtag2"]},{"1326972248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326972022, 1326972238, 1326972258, 1326971982, 1326972033, 1326972248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 238.95306944847107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:37:22.722016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0003.jpg', '/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0000.jpg', '/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0001.jpg', '/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0002.jpg', '/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0003.jpg', '/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/51/image_06012025_11_51_03_178434_0003.jpg
/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0000.jpg
/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0001.jpg
/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0002.jpg
/home/pi/Desktop/images/06012025/11/52/image_06012025_11_52_02_332055_0003.jpg
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326972367","1326972355","1326972375","1326972339","1326972327","1326972344"],"photo_ids_order":["1326972327","1326972339","1326972344","1326972355","1326972367","1326972375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/218dbfd97a1b57d418dca71e3011b091.jpg","text":"TemporaryFile(/tmp/multipartBody4422873315705358487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_52_02_332055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90b6fcbe76fb4e23dd3125d03c09a8cb.jpg","text":"TemporaryFile(/tmp/multipartBody3678584348082434120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_52_02_332055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59953f51165d66d7f2937576807b7be8.jpg","text":"TemporaryFile(/tmp/multipartBody6389051003797008865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_53_02_446521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72290887377c0daacad6b36e24450649.jpg","text":"TemporaryFile(/tmp/multipartBody5429356379248070626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_52_02_332055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e59a91c29d79e12450d7e9506697af88.jpg","text":"TemporaryFile(/tmp/multipartBody1097833051786782763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_51_03_178434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bfe97039c3de29a8775124fad28ce39f.jpg","text":"TemporaryFile(/tmp/multipartBody7891538886342737163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163518016,"filename":"image_06012025_11_52_02_332055_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326972344","file1":"1326972339","file0":"1326972327","file4":"1326972367","file5":"1326972375","file3":"1326972355"},"map_files_photo_id_array":[{"photo_id":"1326972375","filename":"file5"},{"photo_id":"1326972344","filename":"file2"},{"photo_id":"1326972367","filename":"file4"},{"photo_id":"1326972339","filename":"file1"},{"photo_id":"1326972327","filename":"file0"},{"photo_id":"1326972355","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326972367":["hashtag1","hashtag2"]},{"1326972355":["hashtag1","hashtag2"]},{"1326972375":["hashtag1","hashtag2"]},{"1326972339":["hashtag1","hashtag2"]},{"1326972327":["hashtag1","hashtag2"]},{"1326972344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326972367, 1326972355, 1326972375, 1326972339, 1326972327, 1326972344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 189.32365775108337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 12:40:42.269617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0001.jpg', '/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0002.jpg', '/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0003.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0000.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0001.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0001.jpg
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0002.jpg
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0003.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0000.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0001.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_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.70655870437622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 12:41:03.148937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0001.jpg', '/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0002.jpg', '/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0003.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0000.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0001.jpg', '/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0001.jpg
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0002.jpg
/home/pi/Desktop/images/06012025/11/53/image_06012025_11_53_02_446521_0003.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0000.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0001.jpg
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326972532","1326972570","1326972543","1326972435","1326972452","1326972493"],"photo_ids_order":["1326972435","1326972452","1326972493","1326972532","1326972543","1326972570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf822557b60d8965af598ee98704594f.jpg","text":"TemporaryFile(/tmp/multipartBody4653096174085067353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_54_02_649489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed94d2d6ab02874eb1ee3bdd7b3235f2.jpg","text":"TemporaryFile(/tmp/multipartBody4077821238115845487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_54_02_649489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d400a45e5f511d0ca3d9b67f7d3e4a45.jpg","text":"TemporaryFile(/tmp/multipartBody6450661944744846408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_54_02_649489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55cfb0a06ce470f75a48b47a949265c9.jpg","text":"TemporaryFile(/tmp/multipartBody939549637826442875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_53_02_446521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e260a06e8ad1f24057d6bb307d0285f2.jpg","text":"TemporaryFile(/tmp/multipartBody9173909469145963207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_53_02_446521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f8e78e40bce064c590acc90e3402315.jpg","text":"TemporaryFile(/tmp/multipartBody315001138297054362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163738192,"filename":"image_06012025_11_53_02_446521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326972493","file1":"1326972452","file0":"1326972435","file4":"1326972543","file5":"1326972570","file3":"1326972532"},"map_files_photo_id_array":[{"photo_id":"1326972570","filename":"file5"},{"photo_id":"1326972493","filename":"file2"},{"photo_id":"1326972543","filename":"file4"},{"photo_id":"1326972452","filename":"file1"},{"photo_id":"1326972435","filename":"file0"},{"photo_id":"1326972532","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326972532":["hashtag1","hashtag2"]},{"1326972570":["hashtag1","hashtag2"]},{"1326972543":["hashtag1","hashtag2"]},{"1326972435":["hashtag1","hashtag2"]},{"1326972452":["hashtag1","hashtag2"]},{"1326972493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326972532, 1326972570, 1326972543, 1326972435, 1326972452, 1326972493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 240.8645384311676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:45:22.258181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0003.jpg', '/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0000.jpg', '/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0001.jpg', '/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0002.jpg', '/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0003.jpg', '/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/54/image_06012025_11_54_02_649489_0003.jpg
/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0000.jpg
/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0001.jpg
/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0002.jpg
/home/pi/Desktop/images/06012025/11/55/image_06012025_11_55_02_867234_0003.jpg
/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326972892","1326972871","1326972808","1326972945","1326972819","1326972935"],"photo_ids_order":["1326972808","1326972819","1326972871","1326972892","1326972935","1326972945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03c53a17faa94eb0e31dcff1f9b2f333.jpg","text":"TemporaryFile(/tmp/multipartBody7252868396124193018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_55_02_867234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/090ad7309ed542ed7a06382a8d9737b7.jpg","text":"TemporaryFile(/tmp/multipartBody2438252271111495328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_55_02_867234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa5948ec188ddeafa498b43c31cabfb5.jpg","text":"TemporaryFile(/tmp/multipartBody488984839274023355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_54_02_649489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d73bbdc396929547b777b56c16c1c127.jpg","text":"TemporaryFile(/tmp/multipartBody4482455362127251408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_56_03_063924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f058cf89e72631ef6ac50c41592e74c.jpg","text":"TemporaryFile(/tmp/multipartBody4341879416638528380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_55_02_867234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/740836c5d8d3559a0fa84c8bef2bdc43.jpg","text":"TemporaryFile(/tmp/multipartBody5589246783597501873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736163997362,"filename":"image_06012025_11_55_02_867234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326972871","file1":"1326972819","file0":"1326972808","file4":"1326972935","file5":"1326972945","file3":"1326972892"},"map_files_photo_id_array":[{"photo_id":"1326972945","filename":"file5"},{"photo_id":"1326972871","filename":"file2"},{"photo_id":"1326972935","filename":"file4"},{"photo_id":"1326972819","filename":"file1"},{"photo_id":"1326972808","filename":"file0"},{"photo_id":"1326972892","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326972892":["hashtag1","hashtag2"]},{"1326972871":["hashtag1","hashtag2"]},{"1326972808":["hashtag1","hashtag2"]},{"1326972945":["hashtag1","hashtag2"]},{"1326972819":["hashtag1","hashtag2"]},{"1326972935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326972892, 1326972871, 1326972808, 1326972945, 1326972819, 1326972935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 224.86467599868774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:49:21.964322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0001.jpg', '/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0002.jpg', '/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0003.jpg', '/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0000.jpg', '/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0001.jpg', '/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0001.jpg
/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0002.jpg
/home/pi/Desktop/images/06012025/11/56/image_06012025_11_56_03_063924_0003.jpg
/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0000.jpg
/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0001.jpg
/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326973459","1326972991","1326973207","1326972994","1326973436","1326973483"],"photo_ids_order":["1326972991","1326972994","1326973207","1326973436","1326973459","1326973483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00baf8bd9f0b1c0a8cf2638fb59a0c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3928136107591387041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_57_02_251748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/072a3c6c6124fd48b3abcc4d9dacc7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1051973640796944904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_56_03_063924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db5fffb00f775930346feb28ac7d7bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4487888403143062287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_56_03_063924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e44e446c6cc779049373bcb6b5486d8.jpg","text":"TemporaryFile(/tmp/multipartBody4055255826313064431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_56_03_063924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb882a15944584ccd8c9fbdcaec0799b.jpg","text":"TemporaryFile(/tmp/multipartBody7485495334133265123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_57_02_251748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d13c0ec698554054cc08830cf1f5da77.jpg","text":"TemporaryFile(/tmp/multipartBody8201524198947721146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164237365,"filename":"image_06012025_11_57_02_251748_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326973207","file1":"1326972994","file0":"1326972991","file4":"1326973459","file5":"1326973483","file3":"1326973436"},"map_files_photo_id_array":[{"photo_id":"1326973483","filename":"file5"},{"photo_id":"1326973207","filename":"file2"},{"photo_id":"1326973459","filename":"file4"},{"photo_id":"1326972994","filename":"file1"},{"photo_id":"1326972991","filename":"file0"},{"photo_id":"1326973436","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326973459":["hashtag1","hashtag2"]},{"1326972991":["hashtag1","hashtag2"]},{"1326973207":["hashtag1","hashtag2"]},{"1326972994":["hashtag1","hashtag2"]},{"1326973436":["hashtag1","hashtag2"]},{"1326973483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326973459, 1326972991, 1326973207, 1326972994, 1326973436, 1326973483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 216.92528414726257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 12:53:03.253083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0003.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0000.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0001.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0002.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0003.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0003.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0000.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0001.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0002.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0003.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_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.890206336975098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 12:53:22.704026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0003.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0000.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0001.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0002.jpg', '/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0003.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/57/image_06012025_11_57_02_251748_0003.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0000.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0001.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0002.jpg
/home/pi/Desktop/images/06012025/11/58/image_06012025_11_58_02_442247_0003.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326973849","1326974061","1326973866","1326973802","1326973646","1326973625"],"photo_ids_order":["1326973625","1326973646","1326973802","1326973849","1326973866","1326974061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43a959ee9fdf66e79f7b1cf2291f0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1824610968982980079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_58_02_442247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af55415307d75f8641923f4a281de02d.jpg","text":"TemporaryFile(/tmp/multipartBody6189171299563935890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_59_02_631778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef4c5f6928327ccdf6f5735fbcdc1bda.jpg","text":"TemporaryFile(/tmp/multipartBody4789943442288416365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_58_02_442247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e341b96dcbbd89f78e9b3672b8826230.jpg","text":"TemporaryFile(/tmp/multipartBody8108436854088950600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_58_02_442247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddff9e4924b9f9fbf38e32c1a1d9b15b.jpg","text":"TemporaryFile(/tmp/multipartBody4590076271715826714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_58_02_442247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ca9cc4d8d5af2a56741063f2c45e8da.jpg","text":"TemporaryFile(/tmp/multipartBody1562806434907019866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164477726,"filename":"image_06012025_11_57_02_251748_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326973802","file1":"1326973646","file0":"1326973625","file4":"1326973866","file5":"1326974061","file3":"1326973849"},"map_files_photo_id_array":[{"photo_id":"1326974061","filename":"file5"},{"photo_id":"1326973802","filename":"file2"},{"photo_id":"1326973866","filename":"file4"},{"photo_id":"1326973646","filename":"file1"},{"photo_id":"1326973625","filename":"file0"},{"photo_id":"1326973849","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326973849":["hashtag1","hashtag2"]},{"1326974061":["hashtag1","hashtag2"]},{"1326973866":["hashtag1","hashtag2"]},{"1326973802":["hashtag1","hashtag2"]},{"1326973646":["hashtag1","hashtag2"]},{"1326973625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326973849, 1326974061, 1326973866, 1326973802, 1326973646, 1326973625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 251.34207105636597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 12:57:42.438969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0001.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0002.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0003.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0000.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0001.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0001.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0002.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0003.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0000.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0001.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0002.jpg
 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-06 12:59:03.370464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0001.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0002.jpg', '/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0003.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0000.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0001.jpg', '/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0001.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0002.jpg
/home/pi/Desktop/images/06012025/11/59/image_06012025_11_59_02_631778_0003.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0000.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0001.jpg
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326974902","1326974868","1326974805","1326974890","1326974761","1326974929"],"photo_ids_order":["1326974761","1326974805","1326974868","1326974890","1326974902","1326974929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdd22e43af86a39e140de6c37e18d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody7022978755252800472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_12_00_02_994947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab5fc2bbc2f636059f41b950521059de.jpg","text":"TemporaryFile(/tmp/multipartBody5469377794338404699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_11_59_02_631778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d601974536b6c8bafcc0c7512fdfc5bf.jpg","text":"TemporaryFile(/tmp/multipartBody4021295503602248420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_11_59_02_631778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1d5bc312ad2ee83cb0785fdacb7c555.jpg","text":"TemporaryFile(/tmp/multipartBody2338325923151199743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_12_00_02_994947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57efc1cf0ad5636540896099cc9c90ec.jpg","text":"TemporaryFile(/tmp/multipartBody1372208804636037128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_11_59_02_631778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b03d9f2a49cd94d1acc13c6d6c4dfe72.jpg","text":"TemporaryFile(/tmp/multipartBody7195959635882576836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736164818573,"filename":"image_06012025_12_00_02_994947_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326974868","file1":"1326974805","file0":"1326974761","file4":"1326974902","file5":"1326974929","file3":"1326974890"},"map_files_photo_id_array":[{"photo_id":"1326974929","filename":"file5"},{"photo_id":"1326974868","filename":"file2"},{"photo_id":"1326974902","filename":"file4"},{"photo_id":"1326974805","filename":"file1"},{"photo_id":"1326974761","filename":"file0"},{"photo_id":"1326974890","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326974902":["hashtag1","hashtag2"]},{"1326974868":["hashtag1","hashtag2"]},{"1326974805":["hashtag1","hashtag2"]},{"1326974890":["hashtag1","hashtag2"]},{"1326974761":["hashtag1","hashtag2"]},{"1326974929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326974902, 1326974868, 1326974805, 1326974890, 1326974761, 1326974929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 309.3493115901947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:04:22.699261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0003.jpg', '/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0000.jpg', '/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0001.jpg', '/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0002.jpg', '/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0003.jpg', '/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/00/image_06012025_12_00_02_994947_0003.jpg
/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0000.jpg
/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0001.jpg
/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0002.jpg
/home/pi/Desktop/images/06012025/12/02/image_06012025_12_02_19_462912_0003.jpg
/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326975030","1326974987","1326975026","1326975014","1326974998","1326975043"],"photo_ids_order":["1326974987","1326974998","1326975014","1326975026","1326975030","1326975043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0ef4842a670e19523c7f5235c923235.jpg","text":"TemporaryFile(/tmp/multipartBody834188824415976360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_02_19_462912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/266c3ecb62000c81ad1c066e918b90a4.jpg","text":"TemporaryFile(/tmp/multipartBody6997235055265932501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_00_02_994947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d5ac991d5d4b54c9b8d71d521e2df0d.jpg","text":"TemporaryFile(/tmp/multipartBody7847241050263345238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_02_19_462912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f178e700181bec739422b5ef038d563.jpg","text":"TemporaryFile(/tmp/multipartBody3146694359900045083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_02_19_462912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9991a0dde6d6cc4f03663d21811ccafd.jpg","text":"TemporaryFile(/tmp/multipartBody4786308157847156746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_02_19_462912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c91609f36bf344e0a9e43ddceae0beb.jpg","text":"TemporaryFile(/tmp/multipartBody223241027078777202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165137784,"filename":"image_06012025_12_04_02_982197_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326975014","file1":"1326974998","file0":"1326974987","file4":"1326975030","file5":"1326975043","file3":"1326975026"},"map_files_photo_id_array":[{"photo_id":"1326975043","filename":"file5"},{"photo_id":"1326975014","filename":"file2"},{"photo_id":"1326975030","filename":"file4"},{"photo_id":"1326974998","filename":"file1"},{"photo_id":"1326974987","filename":"file0"},{"photo_id":"1326975026","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326975030":["hashtag1","hashtag2"]},{"1326974987":["hashtag1","hashtag2"]},{"1326975026":["hashtag1","hashtag2"]},{"1326975014":["hashtag1","hashtag2"]},{"1326974998":["hashtag1","hashtag2"]},{"1326975043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326975030, 1326974987, 1326975026, 1326975014, 1326974998, 1326975043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 211.32345271110535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 13:08:02.824453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0001.jpg', '/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0002.jpg', '/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0003.jpg', '/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0000.jpg', '/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0001.jpg', '/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0001.jpg
/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0002.jpg
/home/pi/Desktop/images/06012025/12/04/image_06012025_12_04_02_982197_0003.jpg
/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0000.jpg
/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0001.jpg
/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326975129","1326975293","1326975197","1326975110","1326975165","1326975138"],"photo_ids_order":["1326975110","1326975129","1326975138","1326975165","1326975197","1326975293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff952cbc1f2d2ac2dceb87be1b0a41bb.jpg","text":"TemporaryFile(/tmp/multipartBody4399440778845900471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_04_02_982197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38d40a6a44b341ba7ac1ba86c8e6714b.jpg","text":"TemporaryFile(/tmp/multipartBody8833091964824470684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_05_02_170171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ce6c51e5e2e9ee02bfd5b7548d76fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5022284037764580767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_05_02_170171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa39071d5ad86480bc4e8a98b6c95099.jpg","text":"TemporaryFile(/tmp/multipartBody5936748480632201966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_04_02_982197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ebb6db94277dfd78dc4e95439fb3a551.jpg","text":"TemporaryFile(/tmp/multipartBody5866203903888265364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_05_02_170171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4091ff7cb5ca74a7bb37e5f0bae44dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5751430836664200422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165357959,"filename":"image_06012025_12_04_02_982197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326975138","file1":"1326975129","file0":"1326975110","file4":"1326975197","file5":"1326975293","file3":"1326975165"},"map_files_photo_id_array":[{"photo_id":"1326975293","filename":"file5"},{"photo_id":"1326975138","filename":"file2"},{"photo_id":"1326975197","filename":"file4"},{"photo_id":"1326975129","filename":"file1"},{"photo_id":"1326975110","filename":"file0"},{"photo_id":"1326975165","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326975129":["hashtag1","hashtag2"]},{"1326975293":["hashtag1","hashtag2"]},{"1326975197":["hashtag1","hashtag2"]},{"1326975110":["hashtag1","hashtag2"]},{"1326975165":["hashtag1","hashtag2"]},{"1326975138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326975129, 1326975293, 1326975197, 1326975110, 1326975165, 1326975138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 260.661052942276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 13:12:32.018779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0003.jpg', '/home/pi/Desktop/images/06012025/12/06/image_06012025_12_06_02_437336_0000.jpg', '/home/pi/Desktop/images/06012025/12/06/image_06012025_12_06_02_437336_0001.jpg', '/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0000.jpg', '/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0001.jpg', '/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/05/image_06012025_12_05_02_170171_0003.jpg
/home/pi/Desktop/images/06012025/12/06/image_06012025_12_06_02_437336_0000.jpg
/home/pi/Desktop/images/06012025/12/06/image_06012025_12_06_02_437336_0001.jpg
/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0000.jpg
/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0001.jpg
/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326975485","1326975533","1326975505","1326975400","1326975319","1326975336"],"photo_ids_order":["1326975319","1326975336","1326975400","1326975485","1326975505","1326975533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b06a57a8332f881761b5cd42144e812c.jpg","text":"TemporaryFile(/tmp/multipartBody3130418077525857051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_07_02_584828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72983ac04350af4dddbfe1e131d58feb.jpg","text":"TemporaryFile(/tmp/multipartBody8305902573870935139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_07_02_584828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae1f7065e6e1ccb35c09ba906288267b.jpg","text":"TemporaryFile(/tmp/multipartBody1306779552714194121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_07_02_584828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee358c5f1a62f4ea4b7efaa721e46ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8652534236451980307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_06_02_437336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24bc72f269b6274c19f3617ce2579298.jpg","text":"TemporaryFile(/tmp/multipartBody4213472723192293005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_05_02_170171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3b06e4e9e0bf3e749e64825ea840432.jpg","text":"TemporaryFile(/tmp/multipartBody5651083942560574240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165627125,"filename":"image_06012025_12_06_02_437336_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326975400","file1":"1326975336","file0":"1326975319","file4":"1326975505","file5":"1326975533","file3":"1326975485"},"map_files_photo_id_array":[{"photo_id":"1326975533","filename":"file5"},{"photo_id":"1326975400","filename":"file2"},{"photo_id":"1326975505","filename":"file4"},{"photo_id":"1326975336","filename":"file1"},{"photo_id":"1326975319","filename":"file0"},{"photo_id":"1326975485","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326975485":["hashtag1","hashtag2"]},{"1326975533":["hashtag1","hashtag2"]},{"1326975505":["hashtag1","hashtag2"]},{"1326975400":["hashtag1","hashtag2"]},{"1326975319":["hashtag1","hashtag2"]},{"1326975336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326975485, 1326975533, 1326975505, 1326975400, 1326975319, 1326975336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 220.98339986801147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:16:22.706074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0003.jpg', '/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0000.jpg', '/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0001.jpg', '/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0002.jpg', '/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0003.jpg', '/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/07/image_06012025_12_07_02_584828_0003.jpg
/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0000.jpg
/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0001.jpg
/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0002.jpg
/home/pi/Desktop/images/06012025/12/08/image_06012025_12_08_02_790677_0003.jpg
/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326975639","1326975656","1326975589","1326975559","1326975553","1326975582"],"photo_ids_order":["1326975553","1326975559","1326975582","1326975589","1326975639","1326975656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b3a322f81203aae1f836c9ee0fda2c4.jpg","text":"TemporaryFile(/tmp/multipartBody5081838290964764641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_08_02_790677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4b6bb030a8ba4e754d2efb8ecccdcda.jpg","text":"TemporaryFile(/tmp/multipartBody6227099033584644311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_09_02_983888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdbdda3b70f652dd87b2c6304109d07c.jpg","text":"TemporaryFile(/tmp/multipartBody2733568148095294017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_08_02_790677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df32fe50d8a21aa317b220c263926704.jpg","text":"TemporaryFile(/tmp/multipartBody6456150839056757154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_08_02_790677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6dfab9294d919fea4fbbef45d01e6528.jpg","text":"TemporaryFile(/tmp/multipartBody6826592432884203553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_07_02_584828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dba4b0917d34cc974caf6a1002e1406d.jpg","text":"TemporaryFile(/tmp/multipartBody941217119478145287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736165857849,"filename":"image_06012025_12_08_02_790677_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326975582","file1":"1326975559","file0":"1326975553","file4":"1326975639","file5":"1326975656","file3":"1326975589"},"map_files_photo_id_array":[{"photo_id":"1326975656","filename":"file5"},{"photo_id":"1326975582","filename":"file2"},{"photo_id":"1326975639","filename":"file4"},{"photo_id":"1326975559","filename":"file1"},{"photo_id":"1326975553","filename":"file0"},{"photo_id":"1326975589","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326975639":["hashtag1","hashtag2"]},{"1326975656":["hashtag1","hashtag2"]},{"1326975589":["hashtag1","hashtag2"]},{"1326975559":["hashtag1","hashtag2"]},{"1326975553":["hashtag1","hashtag2"]},{"1326975582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326975639, 1326975656, 1326975589, 1326975559, 1326975553, 1326975582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 207.67320489883423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 13:19:52.223523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0001.jpg', '/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0002.jpg', '/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0003.jpg', '/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0000.jpg', '/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0001.jpg', '/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0001.jpg
/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0002.jpg
/home/pi/Desktop/images/06012025/12/09/image_06012025_12_09_02_983888_0003.jpg
/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0000.jpg
/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0001.jpg
/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326975816","1326975705","1326975737","1326975799","1326975792","1326975672"],"photo_ids_order":["1326975672","1326975705","1326975737","1326975792","1326975799","1326975816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9531c37585ebbf48e1e2962ffad3f43.jpg","text":"TemporaryFile(/tmp/multipartBody4893302640119143489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_10_02_145793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/365f1945fd25cd271c17cec7cae66bef.jpg","text":"TemporaryFile(/tmp/multipartBody5257961226172261052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_09_02_983888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d360e5c5f80f21158ffc0ba057ff6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8257551892378131969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_09_02_983888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6242721ec512f74753a6b77308928b10.jpg","text":"TemporaryFile(/tmp/multipartBody6222989898922239065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_10_02_145793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3056c408ba5ce83a4bfbbc0e1c6b339d.jpg","text":"TemporaryFile(/tmp/multipartBody3049219925474817031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_10_02_145793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc4fa0e5721baffed93472a269c6213e.jpg","text":"TemporaryFile(/tmp/multipartBody5074872420922040076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166067241,"filename":"image_06012025_12_09_02_983888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326975737","file1":"1326975705","file0":"1326975672","file4":"1326975799","file5":"1326975816","file3":"1326975792"},"map_files_photo_id_array":[{"photo_id":"1326975816","filename":"file5"},{"photo_id":"1326975737","filename":"file2"},{"photo_id":"1326975799","filename":"file4"},{"photo_id":"1326975705","filename":"file1"},{"photo_id":"1326975672","filename":"file0"},{"photo_id":"1326975792","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326975816":["hashtag1","hashtag2"]},{"1326975705":["hashtag1","hashtag2"]},{"1326975737":["hashtag1","hashtag2"]},{"1326975799":["hashtag1","hashtag2"]},{"1326975792":["hashtag1","hashtag2"]},{"1326975672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326975816, 1326975705, 1326975737, 1326975799, 1326975792, 1326975672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 239.317528963089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 13:24:02.523237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0003.jpg', '/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0000.jpg', '/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0001.jpg', '/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0002.jpg', '/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0003.jpg', '/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/10/image_06012025_12_10_02_145793_0003.jpg
/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0000.jpg
/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0001.jpg
/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0002.jpg
/home/pi/Desktop/images/06012025/12/11/image_06012025_12_11_02_325535_0003.jpg
/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326976262","1326976079","1326976052","1326976318","1326976098","1326976362"],"photo_ids_order":["1326976052","1326976079","1326976098","1326976262","1326976318","1326976362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1413dba187876c11e095afb6d8a89ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7183370527612263597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_11_02_325535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/282d3a08078242f5036f491472d92106.jpg","text":"TemporaryFile(/tmp/multipartBody9094832910101341447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_11_02_325535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79db89fe585cfd693a8fa6ec114e91cc.jpg","text":"TemporaryFile(/tmp/multipartBody5731877634789840590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_10_02_145793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b726a2723ecf3cded0b7cb5c59ded0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1070527955918423630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_11_02_325535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98d6049828faa8bd5736a7a84c9b8bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4669827565335157398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_11_02_325535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9bdd8f82d959466d714aeee02dd9e2c0.jpg","text":"TemporaryFile(/tmp/multipartBody7660020944050130880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166317467,"filename":"image_06012025_12_12_02_606016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326976098","file1":"1326976079","file0":"1326976052","file4":"1326976318","file5":"1326976362","file3":"1326976262"},"map_files_photo_id_array":[{"photo_id":"1326976362","filename":"file5"},{"photo_id":"1326976098","filename":"file2"},{"photo_id":"1326976318","filename":"file4"},{"photo_id":"1326976079","filename":"file1"},{"photo_id":"1326976052","filename":"file0"},{"photo_id":"1326976262","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326976262":["hashtag1","hashtag2"]},{"1326976079":["hashtag1","hashtag2"]},{"1326976052":["hashtag1","hashtag2"]},{"1326976318":["hashtag1","hashtag2"]},{"1326976098":["hashtag1","hashtag2"]},{"1326976362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326976262, 1326976079, 1326976052, 1326976318, 1326976098, 1326976362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 278.2553687095642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 13:28:41.872728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0001.jpg', '/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0002.jpg', '/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0003.jpg', '/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0000.jpg', '/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0001.jpg', '/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0001.jpg
/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0002.jpg
/home/pi/Desktop/images/06012025/12/12/image_06012025_12_12_02_606016_0003.jpg
/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0000.jpg
/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0001.jpg
/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326976760","1326976661","1326976465","1326976480","1326976680","1326976716"],"photo_ids_order":["1326976465","1326976480","1326976661","1326976680","1326976716","1326976760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05e411a27bf8f1424be80f6b948c5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3356075726365465698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_13_02_827938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f874df9d6f9d2d2b7885f48e78c37016.jpg","text":"TemporaryFile(/tmp/multipartBody5199645897852823427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_12_02_606016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0af20a6532e5d1eef5bebfe0a67ee81c.jpg","text":"TemporaryFile(/tmp/multipartBody1006219851708169721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_12_02_606016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9912c0c82d9c78dbb00e4d3f04912e9.jpg","text":"TemporaryFile(/tmp/multipartBody3288287020102656357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_12_02_606016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8553d3d1b0068fb6e23721c438656fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5672958810696617770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_13_02_827938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7da33551db87cdda5caa7d95445a43ae.jpg","text":"TemporaryFile(/tmp/multipartBody8018995718731757734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166596856,"filename":"image_06012025_12_13_02_827938_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326976661","file1":"1326976480","file0":"1326976465","file4":"1326976716","file5":"1326976760","file3":"1326976680"},"map_files_photo_id_array":[{"photo_id":"1326976760","filename":"file5"},{"photo_id":"1326976661","filename":"file2"},{"photo_id":"1326976716","filename":"file4"},{"photo_id":"1326976480","filename":"file1"},{"photo_id":"1326976465","filename":"file0"},{"photo_id":"1326976680","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326976760":["hashtag1","hashtag2"]},{"1326976661":["hashtag1","hashtag2"]},{"1326976465":["hashtag1","hashtag2"]},{"1326976480":["hashtag1","hashtag2"]},{"1326976680":["hashtag1","hashtag2"]},{"1326976716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326976760, 1326976661, 1326976465, 1326976480, 1326976680, 1326976716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 237.71754693984985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 13:32:42.539267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0003.jpg', '/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0000.jpg', '/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0001.jpg', '/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0002.jpg', '/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0003.jpg', '/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/13/image_06012025_12_13_02_827938_0003.jpg
/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0000.jpg
/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0001.jpg
/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0002.jpg
/home/pi/Desktop/images/06012025/12/14/image_06012025_12_14_02_938178_0003.jpg
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326976847","1326976814","1326976838","1326976925","1326976867","1326976824"],"photo_ids_order":["1326976814","1326976824","1326976838","1326976847","1326976867","1326976925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d53611e4c82987a5eb3bc83c119b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7912946265639990480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_14_02_938178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/368a5304a2556c664f045b60f38625a0.jpg","text":"TemporaryFile(/tmp/multipartBody4847060570886626709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_13_02_827938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4222134c080118ca3bc18bfba94f6c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5536317895135568706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_14_02_938178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0208274e5682d3e2c29b6ef0988309b0.jpg","text":"TemporaryFile(/tmp/multipartBody2454910543116420736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_15_03_072198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c578597dea76acb976690081473a2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6839556978357029734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_14_02_938178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c298c9a1c25ad73628c6b06b999cb1dd.jpg","text":"TemporaryFile(/tmp/multipartBody3115820123385647481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736166837504,"filename":"image_06012025_12_14_02_938178_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326976838","file1":"1326976824","file0":"1326976814","file4":"1326976867","file5":"1326976925","file3":"1326976847"},"map_files_photo_id_array":[{"photo_id":"1326976925","filename":"file5"},{"photo_id":"1326976838","filename":"file2"},{"photo_id":"1326976867","filename":"file4"},{"photo_id":"1326976824","filename":"file1"},{"photo_id":"1326976814","filename":"file0"},{"photo_id":"1326976847","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326976847":["hashtag1","hashtag2"]},{"1326976814":["hashtag1","hashtag2"]},{"1326976838":["hashtag1","hashtag2"]},{"1326976925":["hashtag1","hashtag2"]},{"1326976867":["hashtag1","hashtag2"]},{"1326976824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326976847, 1326976814, 1326976838, 1326976925, 1326976867, 1326976824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 183.83601427078247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 13:35:52.159246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0001.jpg', '/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0002.jpg', '/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0003.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0000.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0001.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0001.jpg
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0002.jpg
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0003.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0000.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0001.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_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.360479354858398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:36:22.444961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0001.jpg', '/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0002.jpg', '/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0003.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0000.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0001.jpg', '/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0001.jpg
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0002.jpg
/home/pi/Desktop/images/06012025/12/15/image_06012025_12_15_03_072198_0003.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0000.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0001.jpg
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326977129","1326977293","1326977074","1326977268","1326977049","1326977217"],"photo_ids_order":["1326977049","1326977074","1326977129","1326977217","1326977268","1326977293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63c98ee6201f1e6aa017c4daad6cd92b.jpg","text":"TemporaryFile(/tmp/multipartBody8443108628668187648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_15_03_072198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/098eb3db5dc7b016be77be1a20a06c01.jpg","text":"TemporaryFile(/tmp/multipartBody65922817471776186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_16_02_210978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d637d04b8b17b9fae2383874eeb36a9.jpg","text":"TemporaryFile(/tmp/multipartBody8501531556598543152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_15_03_072198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6ad603dd3ef7f9cd9b5c00a483c652a.jpg","text":"TemporaryFile(/tmp/multipartBody4315011731221282822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_16_02_210978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/285b41c2a968e42e1e71bb9e39ddc112.jpg","text":"TemporaryFile(/tmp/multipartBody4284790965303415506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_15_03_072198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fda8e11cce4fb3c4fb39e35b985b879c.jpg","text":"TemporaryFile(/tmp/multipartBody5298398672697368517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167057184,"filename":"image_06012025_12_16_02_210978_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326977129","file1":"1326977074","file0":"1326977049","file4":"1326977268","file5":"1326977293","file3":"1326977217"},"map_files_photo_id_array":[{"photo_id":"1326977293","filename":"file5"},{"photo_id":"1326977129","filename":"file2"},{"photo_id":"1326977268","filename":"file4"},{"photo_id":"1326977074","filename":"file1"},{"photo_id":"1326977049","filename":"file0"},{"photo_id":"1326977217","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326977129":["hashtag1","hashtag2"]},{"1326977293":["hashtag1","hashtag2"]},{"1326977074":["hashtag1","hashtag2"]},{"1326977268":["hashtag1","hashtag2"]},{"1326977049":["hashtag1","hashtag2"]},{"1326977217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326977129, 1326977293, 1326977074, 1326977268, 1326977049, 1326977217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 306.5791561603546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 13:41:32.442946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0003.jpg', '/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0000.jpg', '/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0001.jpg', '/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0002.jpg', '/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0003.jpg', '/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/16/image_06012025_12_16_02_210978_0003.jpg
/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0000.jpg
/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0001.jpg
/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0002.jpg
/home/pi/Desktop/images/06012025/12/17/image_06012025_12_17_02_411006_0003.jpg
/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326977558","1326977510","1326977497","1326977574","1326977585","1326977486"],"photo_ids_order":["1326977486","1326977497","1326977510","1326977558","1326977574","1326977585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2230b3d33f42df6f6683377751cc0a9.jpg","text":"TemporaryFile(/tmp/multipartBody7441092290445151609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_17_02_411006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d6029543340aad63a95b7ef6687b10e.jpg","text":"TemporaryFile(/tmp/multipartBody1779827276906545546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_17_02_411006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e88c70706bf595bbe8c0de6e80536dc.jpg","text":"TemporaryFile(/tmp/multipartBody3804912662781256077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_17_02_411006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f95b3b3d6a05857544baf9637cd729ac.jpg","text":"TemporaryFile(/tmp/multipartBody705586456449976219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_17_02_411006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf8d9ff13657ed58dae256a8cb2a882a.jpg","text":"TemporaryFile(/tmp/multipartBody9064436377366843327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_18_02_548630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1021f3ca3132af02035b964b04e7102e.jpg","text":"TemporaryFile(/tmp/multipartBody4864859696314491631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167367303,"filename":"image_06012025_12_16_02_210978_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326977510","file1":"1326977497","file0":"1326977486","file4":"1326977574","file5":"1326977585","file3":"1326977558"},"map_files_photo_id_array":[{"photo_id":"1326977585","filename":"file5"},{"photo_id":"1326977510","filename":"file2"},{"photo_id":"1326977574","filename":"file4"},{"photo_id":"1326977497","filename":"file1"},{"photo_id":"1326977486","filename":"file0"},{"photo_id":"1326977558","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326977558":["hashtag1","hashtag2"]},{"1326977510":["hashtag1","hashtag2"]},{"1326977497":["hashtag1","hashtag2"]},{"1326977574":["hashtag1","hashtag2"]},{"1326977585":["hashtag1","hashtag2"]},{"1326977486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326977558, 1326977510, 1326977497, 1326977574, 1326977585, 1326977486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 226.11436462402344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:45:22.372956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0001.jpg', '/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0002.jpg', '/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0003.jpg', '/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0000.jpg', '/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0001.jpg', '/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0001.jpg
/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0002.jpg
/home/pi/Desktop/images/06012025/12/18/image_06012025_12_18_02_548630_0003.jpg
/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0000.jpg
/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0001.jpg
/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326977772","1326977760","1326977748","1326977780","1326977765","1326977744"],"photo_ids_order":["1326977744","1326977748","1326977760","1326977765","1326977772","1326977780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da9179a28bfcd2fadfadfdeb75687ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1758573363988622948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_19_02_803676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a80c948396d44ef8b77460fd8cde8f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3569647742006124856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_18_02_548630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b461e301cf0d46e5599df30ef37677a4.jpg","text":"TemporaryFile(/tmp/multipartBody2481291189532092936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_18_02_548630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd2c5ea20643b04594b760d18fc91862.jpg","text":"TemporaryFile(/tmp/multipartBody6237390518665047263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_19_02_803676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa52bff11efd6e47a736c52e116738b1.jpg","text":"TemporaryFile(/tmp/multipartBody8894219970038203984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_19_02_803676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f884b0e1c22bbc1ecfbb6f31eec67421.jpg","text":"TemporaryFile(/tmp/multipartBody467886155070566119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167597400,"filename":"image_06012025_12_18_02_548630_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326977760","file1":"1326977748","file0":"1326977744","file4":"1326977772","file5":"1326977780","file3":"1326977765"},"map_files_photo_id_array":[{"photo_id":"1326977780","filename":"file5"},{"photo_id":"1326977760","filename":"file2"},{"photo_id":"1326977772","filename":"file4"},{"photo_id":"1326977748","filename":"file1"},{"photo_id":"1326977744","filename":"file0"},{"photo_id":"1326977765","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326977772":["hashtag1","hashtag2"]},{"1326977760":["hashtag1","hashtag2"]},{"1326977748":["hashtag1","hashtag2"]},{"1326977780":["hashtag1","hashtag2"]},{"1326977765":["hashtag1","hashtag2"]},{"1326977744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326977772, 1326977760, 1326977748, 1326977780, 1326977765, 1326977744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 163.03054404258728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:48:21.887155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0003.jpg', '/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0000.jpg', '/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0001.jpg', '/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0002.jpg', '/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0003.jpg', '/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/19/image_06012025_12_19_02_803676_0003.jpg
/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0000.jpg
/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0001.jpg
/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0002.jpg
/home/pi/Desktop/images/06012025/12/20/image_06012025_12_20_03_016888_0003.jpg
/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326977938","1326977997","1326977999","1326977990","1326977981","1326977936"],"photo_ids_order":["1326977936","1326977938","1326977981","1326977990","1326977997","1326977999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f3a043e408d4622750dba8a34b6f034.jpg","text":"TemporaryFile(/tmp/multipartBody1300236195818493206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_20_03_016888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbda7b7a9bded15df33a92626b09dc98.jpg","text":"TemporaryFile(/tmp/multipartBody4102388390216645040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_20_03_016888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c64cf257c34d95ed504a0653a0db608.jpg","text":"TemporaryFile(/tmp/multipartBody8420518583744478905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_21_03_092986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c84a6887f600ffcebaa592d9bedf6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2185008002561915028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_20_03_016888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5c738698aa81bdce6453b3170eda140.jpg","text":"TemporaryFile(/tmp/multipartBody3332660780843575640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_20_03_016888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5153cb8610ee02d3b215453a07993877.jpg","text":"TemporaryFile(/tmp/multipartBody2263172423933335770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167776877,"filename":"image_06012025_12_19_02_803676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326977981","file1":"1326977938","file0":"1326977936","file4":"1326977997","file5":"1326977999","file3":"1326977990"},"map_files_photo_id_array":[{"photo_id":"1326977999","filename":"file5"},{"photo_id":"1326977981","filename":"file2"},{"photo_id":"1326977997","filename":"file4"},{"photo_id":"1326977938","filename":"file1"},{"photo_id":"1326977936","filename":"file0"},{"photo_id":"1326977990","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326977938":["hashtag1","hashtag2"]},{"1326977997":["hashtag1","hashtag2"]},{"1326977999":["hashtag1","hashtag2"]},{"1326977990":["hashtag1","hashtag2"]},{"1326977981":["hashtag1","hashtag2"]},{"1326977936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326977938, 1326977997, 1326977999, 1326977990, 1326977981, 1326977936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 178.8016939163208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:51:22.409905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0001.jpg', '/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0002.jpg', '/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0003.jpg', '/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0000.jpg', '/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0001.jpg', '/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0001.jpg
/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0002.jpg
/home/pi/Desktop/images/06012025/12/21/image_06012025_12_21_03_092986_0003.jpg
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0000.jpg
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0001.jpg
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326978367","1326978177","1326978057","1326978144","1326978191","1326978123"],"photo_ids_order":["1326978057","1326978123","1326978144","1326978177","1326978191","1326978367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ecd85820b3d2de098609fe98669ea613.jpg","text":"TemporaryFile(/tmp/multipartBody6601335179339018480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_22_02_238667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d405252884e57658dc12b24c2d6b832.jpg","text":"TemporaryFile(/tmp/multipartBody5896246040206271641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_22_02_238667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adee3007dd83e0e304869dfb681c0b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2466412472724861507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_21_03_092986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37ba5fc459a3f8f1d3d9c65bc56a3e69.jpg","text":"TemporaryFile(/tmp/multipartBody4285462361856996257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_21_03_092986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54e28a9d91a6b2bbc01e91ae3725292d.jpg","text":"TemporaryFile(/tmp/multipartBody7642230953802744342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_22_02_238667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77ebcf6b2e7a7f556749166148ed2a83.jpg","text":"TemporaryFile(/tmp/multipartBody2662262355890296428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736167957347,"filename":"image_06012025_12_21_03_092986_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326978144","file1":"1326978123","file0":"1326978057","file4":"1326978191","file5":"1326978367","file3":"1326978177"},"map_files_photo_id_array":[{"photo_id":"1326978367","filename":"file5"},{"photo_id":"1326978144","filename":"file2"},{"photo_id":"1326978191","filename":"file4"},{"photo_id":"1326978123","filename":"file1"},{"photo_id":"1326978057","filename":"file0"},{"photo_id":"1326978177","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326978367":["hashtag1","hashtag2"]},{"1326978177":["hashtag1","hashtag2"]},{"1326978057":["hashtag1","hashtag2"]},{"1326978144":["hashtag1","hashtag2"]},{"1326978191":["hashtag1","hashtag2"]},{"1326978123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326978367, 1326978177, 1326978057, 1326978144, 1326978191, 1326978123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 282.21485590934753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 13:56:22.276194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_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! 
 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-06 13:59:02.458652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 314.5307021141052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:04:22.745219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg', '/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/22/image_06012025_12_22_02_238667_0003.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0000.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0001.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0002.jpg
/home/pi/Desktop/images/06012025/12/23/image_06012025_12_23_02_475235_0003.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326980439","1326980616","1326980564","1326980517","1326980387","1326980645"],"photo_ids_order":["1326980387","1326980439","1326980517","1326980564","1326980616","1326980645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7af14bdf255b188d3b9e287122083630.jpg","text":"TemporaryFile(/tmp/multipartBody5999076286291197018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_23_02_475235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec238b919a8776b3684f0f6125d62141.jpg","text":"TemporaryFile(/tmp/multipartBody696792616096217924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_23_02_475235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d45ca84927b9af2cfa86a30630cd176.jpg","text":"TemporaryFile(/tmp/multipartBody8508830485055784895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_23_02_475235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d6dd0ef6197c7598db155bd0d1f3f83.jpg","text":"TemporaryFile(/tmp/multipartBody3212960866083894356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_23_02_475235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2b95cd0615a631538c84ec522b68bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7194581059775502629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_22_02_238667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/990ea8d4f24a92c88a214b5afa368f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6795814433430111914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736168737539,"filename":"image_06012025_12_24_02_635729_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326980517","file1":"1326980439","file0":"1326980387","file4":"1326980616","file5":"1326980645","file3":"1326980564"},"map_files_photo_id_array":[{"photo_id":"1326980645","filename":"file5"},{"photo_id":"1326980517","filename":"file2"},{"photo_id":"1326980616","filename":"file4"},{"photo_id":"1326980439","filename":"file1"},{"photo_id":"1326980387","filename":"file0"},{"photo_id":"1326980564","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326980439":["hashtag1","hashtag2"]},{"1326980616":["hashtag1","hashtag2"]},{"1326980564":["hashtag1","hashtag2"]},{"1326980517":["hashtag1","hashtag2"]},{"1326980387":["hashtag1","hashtag2"]},{"1326980645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326980439, 1326980616, 1326980564, 1326980517, 1326980387, 1326980645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 307.1080586910248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:09:32.625597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0001.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0002.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0003.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0000.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0001.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0001.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0002.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0003.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0000.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0001.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 314.6303598880768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:14:52.574631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0001.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0002.jpg', '/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0003.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0000.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0001.jpg', '/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0001.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0002.jpg
/home/pi/Desktop/images/06012025/12/24/image_06012025_12_24_02_635729_0003.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0000.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0001.jpg
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326981288","1326981276","1326981269","1326981292","1326981286","1326981274"],"photo_ids_order":["1326981269","1326981274","1326981276","1326981286","1326981288","1326981292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef20eb3c499cd43dbc627482c7c339d4.jpg","text":"TemporaryFile(/tmp/multipartBody7313138625315484143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_25_02_777262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b31c838f853d3532b8f865c24d6a1ee.jpg","text":"TemporaryFile(/tmp/multipartBody671586585457231347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_24_02_635729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30b78397b86c1670b476e358e96fe4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6706488070840368535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_24_02_635729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80e6a38516729c5d08cd2ada788d0cef.jpg","text":"TemporaryFile(/tmp/multipartBody8144585557497771708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_25_02_777262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a465405ec2fceaa265d99b28ec95663.jpg","text":"TemporaryFile(/tmp/multipartBody2435979512841044574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_25_02_777262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1421c1969263c1e526ef5e1f9b5e0fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6569927246717348177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169367557,"filename":"image_06012025_12_24_02_635729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981276","file1":"1326981274","file0":"1326981269","file4":"1326981288","file5":"1326981292","file3":"1326981286"},"map_files_photo_id_array":[{"photo_id":"1326981292","filename":"file5"},{"photo_id":"1326981276","filename":"file2"},{"photo_id":"1326981288","filename":"file4"},{"photo_id":"1326981274","filename":"file1"},{"photo_id":"1326981269","filename":"file0"},{"photo_id":"1326981286","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981288":["hashtag1","hashtag2"]},{"1326981276":["hashtag1","hashtag2"]},{"1326981269":["hashtag1","hashtag2"]},{"1326981292":["hashtag1","hashtag2"]},{"1326981286":["hashtag1","hashtag2"]},{"1326981274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981288, 1326981276, 1326981269, 1326981292, 1326981286, 1326981274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 136.99309253692627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:17:22.154579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0003.jpg', '/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0000.jpg', '/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0001.jpg', '/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0002.jpg', '/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0003.jpg', '/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/25/image_06012025_12_25_02_777262_0003.jpg
/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0000.jpg
/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0001.jpg
/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0002.jpg
/home/pi/Desktop/images/06012025/12/26/image_06012025_12_26_03_016024_0003.jpg
/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326981313","1326981315","1326981305","1326981361","1326981308","1326981367"],"photo_ids_order":["1326981305","1326981308","1326981313","1326981315","1326981361","1326981367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b9d09dac56dd8fc94a2ca2f735e7dce.jpg","text":"TemporaryFile(/tmp/multipartBody4658965383072223387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_26_03_016024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/154ede08b6ed50a1ebd6da018913fce1.jpg","text":"TemporaryFile(/tmp/multipartBody5283471290020078474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_26_03_016024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/419eb241c7b17959f8858ad60e365ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3741298130774590911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_25_02_777262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a20f69904cd3562fc2c8557e5c6f6a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1743551194183562653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_26_03_016024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36040c280706b0639675a5be68e0c525.jpg","text":"TemporaryFile(/tmp/multipartBody6159480301689853695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_26_03_016024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72453f2b3e7fde08aab9d316a3baef71.jpg","text":"TemporaryFile(/tmp/multipartBody8663020885015230724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169516871,"filename":"image_06012025_12_27_03_128667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981313","file1":"1326981308","file0":"1326981305","file4":"1326981361","file5":"1326981367","file3":"1326981315"},"map_files_photo_id_array":[{"photo_id":"1326981367","filename":"file5"},{"photo_id":"1326981313","filename":"file2"},{"photo_id":"1326981361","filename":"file4"},{"photo_id":"1326981308","filename":"file1"},{"photo_id":"1326981305","filename":"file0"},{"photo_id":"1326981315","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981313":["hashtag1","hashtag2"]},{"1326981315":["hashtag1","hashtag2"]},{"1326981305":["hashtag1","hashtag2"]},{"1326981361":["hashtag1","hashtag2"]},{"1326981308":["hashtag1","hashtag2"]},{"1326981367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981313, 1326981315, 1326981305, 1326981361, 1326981308, 1326981367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.45345568656921 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 --last_day=15
2025-01-06 14:19:03.110991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0001.jpg', '/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0002.jpg', '/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0003.jpg', '/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0000.jpg', '/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0001.jpg', '/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0001.jpg
/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0002.jpg
/home/pi/Desktop/images/06012025/12/27/image_06012025_12_27_03_128667_0003.jpg
/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0000.jpg
/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0001.jpg
/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_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":["1326981400","1326981384","1326981405","1326981386","1326981380","1326981382"],"photo_ids_order":["1326981380","1326981382","1326981384","1326981386","1326981400","1326981405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/285d72f068d1ccd78fb8ca4dcf17851b.jpg","text":"TemporaryFile(/tmp/multipartBody5406937409202983609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_28_02_383190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3828b53a32eb5e3a0bec5bb53b6c95de.jpg","text":"TemporaryFile(/tmp/multipartBody3460673835858463721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_27_03_128667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78c5a0d01ec81a66fb62997dbe4f09b7.jpg","text":"TemporaryFile(/tmp/multipartBody931743931931584964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_28_02_383190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24e4487895b654975ce78aaad32b39e4.jpg","text":"TemporaryFile(/tmp/multipartBody6971289128241386615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_28_02_383190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/841e2112c440e8fd6d7ba4cb69b17efe.jpg","text":"TemporaryFile(/tmp/multipartBody3709572747165321678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_27_03_128667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca5380e4f06efe04c766fcb18b4ed0b4.jpg","text":"TemporaryFile(/tmp/multipartBody96252106184585462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169618012,"filename":"image_06012025_12_27_03_128667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981384","file1":"1326981382","file0":"1326981380","file4":"1326981400","file5":"1326981405","file3":"1326981386"},"map_files_photo_id_array":[{"photo_id":"1326981405","filename":"file5"},{"photo_id":"1326981384","filename":"file2"},{"photo_id":"1326981400","filename":"file4"},{"photo_id":"1326981382","filename":"file1"},{"photo_id":"1326981380","filename":"file0"},{"photo_id":"1326981386","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981400":["hashtag1","hashtag2"]},{"1326981384":["hashtag1","hashtag2"]},{"1326981405":["hashtag1","hashtag2"]},{"1326981386":["hashtag1","hashtag2"]},{"1326981380":["hashtag1","hashtag2"]},{"1326981382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981400, 1326981384, 1326981405, 1326981386, 1326981380, 1326981382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.41848492622375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:20:22.728250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0003.jpg', '/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0000.jpg', '/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0001.jpg', '/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0002.jpg', '/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0003.jpg', '/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/28/image_06012025_12_28_02_383190_0003.jpg
/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0000.jpg
/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0001.jpg
/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0002.jpg
/home/pi/Desktop/images/06012025/12/29/image_06012025_12_29_02_526188_0003.jpg
/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_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":["1326981454","1326981476","1326981464","1326981460","1326981457","1326981451"],"photo_ids_order":["1326981451","1326981454","1326981457","1326981460","1326981464","1326981476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3321501c4a69b643df25adff7fef6f98.jpg","text":"TemporaryFile(/tmp/multipartBody7611677094754480566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_29_02_526188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ab2523d2327d262f4ce56185b63a5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2116064360495527591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_30_02_718164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3031f959e817272b28601badb18b60b5.jpg","text":"TemporaryFile(/tmp/multipartBody6707889751567791779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_29_02_526188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e67e89badbf1c46597ed76e36ab27c8.jpg","text":"TemporaryFile(/tmp/multipartBody2801158854332197089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_29_02_526188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17177acf6ff9a3172496d15c36bae8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4188657888464868694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_29_02_526188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c896b9642ba7d7b1019b3fd33861f96.jpg","text":"TemporaryFile(/tmp/multipartBody6334369260339824415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169697730,"filename":"image_06012025_12_28_02_383190_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981457","file1":"1326981454","file0":"1326981451","file4":"1326981464","file5":"1326981476","file3":"1326981460"},"map_files_photo_id_array":[{"photo_id":"1326981476","filename":"file5"},{"photo_id":"1326981457","filename":"file2"},{"photo_id":"1326981464","filename":"file4"},{"photo_id":"1326981454","filename":"file1"},{"photo_id":"1326981451","filename":"file0"},{"photo_id":"1326981460","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981454":["hashtag1","hashtag2"]},{"1326981476":["hashtag1","hashtag2"]},{"1326981464":["hashtag1","hashtag2"]},{"1326981460":["hashtag1","hashtag2"]},{"1326981457":["hashtag1","hashtag2"]},{"1326981451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981454, 1326981476, 1326981464, 1326981460, 1326981457, 1326981451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.04590344429016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:21:41.987839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0001.jpg', '/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0002.jpg', '/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0003.jpg', '/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0000.jpg', '/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0001.jpg', '/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0001.jpg
/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0002.jpg
/home/pi/Desktop/images/06012025/12/30/image_06012025_12_30_02_718164_0003.jpg
/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0000.jpg
/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0001.jpg
/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_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":["1326981606","1326981513","1326981659","1326981566","1326981626","1326981512"],"photo_ids_order":["1326981512","1326981513","1326981566","1326981606","1326981626","1326981659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80c115edbda561e2e6689b50f16ce7d9.jpg","text":"TemporaryFile(/tmp/multipartBody745341301899839622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_31_02_840768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd347afdf9f7208e7eb44fa9611b321a.jpg","text":"TemporaryFile(/tmp/multipartBody143410782418761909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_30_02_718164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00c169874da7d0c19b88794d94306eba.jpg","text":"TemporaryFile(/tmp/multipartBody578982410449999943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_31_02_840768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0db39f38e0a9d932bf2471f773a4c984.jpg","text":"TemporaryFile(/tmp/multipartBody1038417317051973372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_30_02_718164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10e9a4dc43ce34af7d92d5c00c242528.jpg","text":"TemporaryFile(/tmp/multipartBody496917585561205773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_31_02_840768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2515633f67ba8013c26cc7c531444992.jpg","text":"TemporaryFile(/tmp/multipartBody4248735127866453081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169776668,"filename":"image_06012025_12_30_02_718164_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981566","file1":"1326981513","file0":"1326981512","file4":"1326981626","file5":"1326981659","file3":"1326981606"},"map_files_photo_id_array":[{"photo_id":"1326981659","filename":"file5"},{"photo_id":"1326981566","filename":"file2"},{"photo_id":"1326981626","filename":"file4"},{"photo_id":"1326981513","filename":"file1"},{"photo_id":"1326981512","filename":"file0"},{"photo_id":"1326981606","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981606":["hashtag1","hashtag2"]},{"1326981513":["hashtag1","hashtag2"]},{"1326981659":["hashtag1","hashtag2"]},{"1326981566":["hashtag1","hashtag2"]},{"1326981626":["hashtag1","hashtag2"]},{"1326981512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981606, 1326981513, 1326981659, 1326981566, 1326981626, 1326981512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.79441666603088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 14:23:02.912863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0003.jpg', '/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0000.jpg', '/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0001.jpg', '/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0002.jpg', '/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0003.jpg', '/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/31/image_06012025_12_31_02_840768_0003.jpg
/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0000.jpg
/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0001.jpg
/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0002.jpg
/home/pi/Desktop/images/06012025/12/32/image_06012025_12_32_03_015516_0003.jpg
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_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":["1326981681","1326981738","1326981737","1326981685","1326981742","1326981736"],"photo_ids_order":["1326981681","1326981685","1326981736","1326981737","1326981738","1326981742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84c4b7a0340ffea884885774f0b4c95b.jpg","text":"TemporaryFile(/tmp/multipartBody2541424979436545775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_31_02_840768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36cf23609b175226b530ed639a14bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody4667151104723478961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_32_03_015516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8aa90bc63f8350b302f403b5f393345b.jpg","text":"TemporaryFile(/tmp/multipartBody2527709810355914528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_32_03_015516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/873f8a0e2b7b7d36086178f1b50da6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6874594126130271448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_32_03_015516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35dc688e8c451f72ddfb99c39b6f9097.jpg","text":"TemporaryFile(/tmp/multipartBody6144050977153068727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_33_02_154050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f920ddcae37beca6bfbf824f878d665.jpg","text":"TemporaryFile(/tmp/multipartBody1734046621513496958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169857791,"filename":"image_06012025_12_32_03_015516_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981736","file1":"1326981685","file0":"1326981681","file4":"1326981738","file5":"1326981742","file3":"1326981737"},"map_files_photo_id_array":[{"photo_id":"1326981742","filename":"file5"},{"photo_id":"1326981736","filename":"file2"},{"photo_id":"1326981738","filename":"file4"},{"photo_id":"1326981685","filename":"file1"},{"photo_id":"1326981681","filename":"file0"},{"photo_id":"1326981737","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981681":["hashtag1","hashtag2"]},{"1326981738":["hashtag1","hashtag2"]},{"1326981737":["hashtag1","hashtag2"]},{"1326981685":["hashtag1","hashtag2"]},{"1326981742":["hashtag1","hashtag2"]},{"1326981736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981681, 1326981738, 1326981737, 1326981685, 1326981742, 1326981736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.55340600013733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:24:32.492336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0001.jpg', '/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0002.jpg', '/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0003.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0000.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0001.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0001.jpg
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0002.jpg
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0003.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0000.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0001.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_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.414110898971558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:24:52.531234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0001.jpg', '/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0002.jpg', '/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0003.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0000.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0001.jpg', '/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0001.jpg
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0002.jpg
/home/pi/Desktop/images/06012025/12/33/image_06012025_12_33_02_154050_0003.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0000.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_0001.jpg
/home/pi/Desktop/images/06012025/12/34/image_06012025_12_34_02_386290_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326981795","1326981792","1326981779","1326981769","1326981940","1326981763"],"photo_ids_order":["1326981763","1326981769","1326981779","1326981792","1326981795","1326981940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94e53bfd4abe6161162dd14cbae95bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2385621416026503777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_34_02_386290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8d91f975e35f0f4628441ea3454ca00.jpg","text":"TemporaryFile(/tmp/multipartBody6659671370140960537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_34_02_386290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f9606841723a96f03a06bdb0c905580.jpg","text":"TemporaryFile(/tmp/multipartBody8265814541880966793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_33_02_154050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b19fa492c8632db4628b5f8a391a82bb.jpg","text":"TemporaryFile(/tmp/multipartBody3167097669029924818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_33_02_154050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d8843ab46909f7979e0dfff22a706c7.jpg","text":"TemporaryFile(/tmp/multipartBody5153882040420901048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_34_02_386290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/755f1c22d76570732486f9a6d53a7e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2305123021287745933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736169967369,"filename":"image_06012025_12_33_02_154050_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981779","file1":"1326981769","file0":"1326981763","file4":"1326981795","file5":"1326981940","file3":"1326981792"},"map_files_photo_id_array":[{"photo_id":"1326981940","filename":"file5"},{"photo_id":"1326981779","filename":"file2"},{"photo_id":"1326981795","filename":"file4"},{"photo_id":"1326981769","filename":"file1"},{"photo_id":"1326981763","filename":"file0"},{"photo_id":"1326981792","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981795":["hashtag1","hashtag2"]},{"1326981792":["hashtag1","hashtag2"]},{"1326981779":["hashtag1","hashtag2"]},{"1326981769":["hashtag1","hashtag2"]},{"1326981940":["hashtag1","hashtag2"]},{"1326981763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981795, 1326981792, 1326981779, 1326981769, 1326981940, 1326981763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 114.92371940612793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:26:51.901776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0000.jpg', '/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0001.jpg', '/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0002.jpg', '/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0003.jpg', '/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0000.jpg', '/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0000.jpg
/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0001.jpg
/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0002.jpg
/home/pi/Desktop/images/06012025/12/35/image_06012025_12_35_02_569689_0003.jpg
/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0000.jpg
/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326981999","1326982005","1326982014","1326981989","1326981994","1326982012"],"photo_ids_order":["1326981989","1326981994","1326981999","1326982005","1326982012","1326982014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae3ae30f2a6d42a00df890575d73ce46.jpg","text":"TemporaryFile(/tmp/multipartBody3640953013639341745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_35_02_569689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7fe82ac22b7143ace3f0a0cfe90c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody79878011028592682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_35_02_569689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b3b182f23a9337ac203ced6d113dba0.jpg","text":"TemporaryFile(/tmp/multipartBody7429611051693448752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_36_02_694079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7049556ead155cc04d92b1c91bc8b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3425824322816302327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_35_02_569689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50ef85f9aabd85a5d8d6e876050e3003.jpg","text":"TemporaryFile(/tmp/multipartBody588422824467355499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_35_02_569689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ee06ced2c13cec9df894d1781183876.jpg","text":"TemporaryFile(/tmp/multipartBody8825843960434056704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170086907,"filename":"image_06012025_12_36_02_694079_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326981999","file1":"1326981994","file0":"1326981989","file4":"1326982012","file5":"1326982014","file3":"1326982005"},"map_files_photo_id_array":[{"photo_id":"1326982014","filename":"file5"},{"photo_id":"1326981999","filename":"file2"},{"photo_id":"1326982012","filename":"file4"},{"photo_id":"1326981994","filename":"file1"},{"photo_id":"1326981989","filename":"file0"},{"photo_id":"1326982005","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326981999":["hashtag1","hashtag2"]},{"1326982005":["hashtag1","hashtag2"]},{"1326982014":["hashtag1","hashtag2"]},{"1326981989":["hashtag1","hashtag2"]},{"1326981994":["hashtag1","hashtag2"]},{"1326982012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326981999, 1326982005, 1326982014, 1326981989, 1326981994, 1326982012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.96080684661865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:28:22.284109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0002.jpg', '/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0003.jpg', '/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0000.jpg', '/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0001.jpg', '/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0002.jpg', '/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0002.jpg
/home/pi/Desktop/images/06012025/12/36/image_06012025_12_36_02_694079_0003.jpg
/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0000.jpg
/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0001.jpg
/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_0002.jpg
/home/pi/Desktop/images/06012025/12/37/image_06012025_12_37_02_868384_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982035","1326982094","1326982046","1326982040","1326982100","1326982042"],"photo_ids_order":["1326982035","1326982040","1326982042","1326982046","1326982094","1326982100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f29bd5e574b03ed539d1d24039e4f23.jpg","text":"TemporaryFile(/tmp/multipartBody3879739403606574973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_36_02_694079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8961fb6c677109e99c7918fc4d1c2b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6220066413734254378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_37_02_868384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/602f5e615981aadeaeac627f351ac751.jpg","text":"TemporaryFile(/tmp/multipartBody5209042810680764317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_37_02_868384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c13c3b4a53b9af452ced2f708e360b3.jpg","text":"TemporaryFile(/tmp/multipartBody8231434624142414828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_36_02_694079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41aeb5e849fe7ac1fdfeb514884194ab.jpg","text":"TemporaryFile(/tmp/multipartBody7708369476330543081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_37_02_868384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23eddf170a530855d4965d0d88482669.jpg","text":"TemporaryFile(/tmp/multipartBody3187293301290405548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170177132,"filename":"image_06012025_12_37_02_868384_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982042","file1":"1326982040","file0":"1326982035","file4":"1326982094","file5":"1326982100","file3":"1326982046"},"map_files_photo_id_array":[{"photo_id":"1326982100","filename":"file5"},{"photo_id":"1326982042","filename":"file2"},{"photo_id":"1326982094","filename":"file4"},{"photo_id":"1326982040","filename":"file1"},{"photo_id":"1326982035","filename":"file0"},{"photo_id":"1326982046","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982035":["hashtag1","hashtag2"]},{"1326982094":["hashtag1","hashtag2"]},{"1326982046":["hashtag1","hashtag2"]},{"1326982040":["hashtag1","hashtag2"]},{"1326982100":["hashtag1","hashtag2"]},{"1326982042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982035, 1326982094, 1326982046, 1326982040, 1326982100, 1326982042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.08656764030457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:29:52.416685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0000.jpg', '/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0002.jpg', '/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0003.jpg', '/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0000.jpg', '/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0001.jpg', '/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0000.jpg
/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0002.jpg
/home/pi/Desktop/images/06012025/12/38/image_06012025_12_38_03_093986_0003.jpg
/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0000.jpg
/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0001.jpg
/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982194","1326982163","1326982175","1326982192","1326982180","1326982207"],"photo_ids_order":["1326982163","1326982175","1326982180","1326982192","1326982194","1326982207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ca9119d8a118befbb4d7ccab0c39281.jpg","text":"TemporaryFile(/tmp/multipartBody7030422918714077249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_39_02_241153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19dce2706ed3f99e7e2bbf528b2de229.jpg","text":"TemporaryFile(/tmp/multipartBody2351767426150219959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_38_03_093986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e04cda4e3068194a67294bbdf64780a.jpg","text":"TemporaryFile(/tmp/multipartBody6662317120722104232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_38_03_093986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36c3d36ff9cf845120e481f3d5dd68d6.jpg","text":"TemporaryFile(/tmp/multipartBody7645935412528667953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_39_02_241153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/decf33eec2286cdf864a092dc11457c8.jpg","text":"TemporaryFile(/tmp/multipartBody8152944792874893185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_38_03_093986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0568b9fbc071491bdfb8ea73b608210.jpg","text":"TemporaryFile(/tmp/multipartBody348553689422507996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170267303,"filename":"image_06012025_12_39_02_241153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982180","file1":"1326982175","file0":"1326982163","file4":"1326982194","file5":"1326982207","file3":"1326982192"},"map_files_photo_id_array":[{"photo_id":"1326982207","filename":"file5"},{"photo_id":"1326982180","filename":"file2"},{"photo_id":"1326982194","filename":"file4"},{"photo_id":"1326982175","filename":"file1"},{"photo_id":"1326982163","filename":"file0"},{"photo_id":"1326982192","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982194":["hashtag1","hashtag2"]},{"1326982163":["hashtag1","hashtag2"]},{"1326982175":["hashtag1","hashtag2"]},{"1326982192":["hashtag1","hashtag2"]},{"1326982180":["hashtag1","hashtag2"]},{"1326982207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982194, 1326982163, 1326982175, 1326982192, 1326982180, 1326982207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.5936644077301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:31:41.827012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0003.jpg', '/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0000.jpg', '/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0001.jpg', '/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0002.jpg', '/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0003.jpg', '/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/39/image_06012025_12_39_02_241153_0003.jpg
/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0000.jpg
/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0001.jpg
/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0002.jpg
/home/pi/Desktop/images/06012025/12/40/image_06012025_12_40_02_521153_0003.jpg
/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982269","1326982298","1326982262","1326982291","1326982282","1326982296"],"photo_ids_order":["1326982262","1326982269","1326982282","1326982291","1326982296","1326982298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/415837f0207180ec00647f6ed3a14156.jpg","text":"TemporaryFile(/tmp/multipartBody8076187124576242097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_40_02_521153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/045dc956485a2f2392d30d0b8037fdaa.jpg","text":"TemporaryFile(/tmp/multipartBody2094997350400827267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_41_02_691063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/280c6995bec4f255667576b15c6dc754.jpg","text":"TemporaryFile(/tmp/multipartBody1237453860109651347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_39_02_241153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0068d3e5010e95448242afcb473f05ea.jpg","text":"TemporaryFile(/tmp/multipartBody1003125911225991074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_40_02_521153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ace245df861117718228aeb17a1ade3.jpg","text":"TemporaryFile(/tmp/multipartBody6741033080313327810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_40_02_521153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/faa71941ea082b8b985b80d0e785c401.jpg","text":"TemporaryFile(/tmp/multipartBody6318867672965551838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170376759,"filename":"image_06012025_12_40_02_521153_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982282","file1":"1326982269","file0":"1326982262","file4":"1326982296","file5":"1326982298","file3":"1326982291"},"map_files_photo_id_array":[{"photo_id":"1326982298","filename":"file5"},{"photo_id":"1326982282","filename":"file2"},{"photo_id":"1326982296","filename":"file4"},{"photo_id":"1326982269","filename":"file1"},{"photo_id":"1326982262","filename":"file0"},{"photo_id":"1326982291","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982269":["hashtag1","hashtag2"]},{"1326982298":["hashtag1","hashtag2"]},{"1326982262":["hashtag1","hashtag2"]},{"1326982291":["hashtag1","hashtag2"]},{"1326982282":["hashtag1","hashtag2"]},{"1326982296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982269, 1326982298, 1326982262, 1326982291, 1326982282, 1326982296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.9759316444397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:33:22.079879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0001.jpg', '/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0002.jpg', '/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0003.jpg', '/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0000.jpg', '/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0001.jpg', '/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0001.jpg
/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0002.jpg
/home/pi/Desktop/images/06012025/12/41/image_06012025_12_41_02_691063_0003.jpg
/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0000.jpg
/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0001.jpg
/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_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":["1326982347","1326982340","1326982322","1326982351","1326982330","1326982318"],"photo_ids_order":["1326982318","1326982322","1326982330","1326982340","1326982347","1326982351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1fbc0923f3ec989a99441992ccd0416.jpg","text":"TemporaryFile(/tmp/multipartBody7706831937886578233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_42_02_919060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4495055ccc1e5a9ca216455f3fb948b.jpg","text":"TemporaryFile(/tmp/multipartBody6257590840188255399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_42_02_919060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84a29753b78d2a438b1aaaa4bb4204f9.jpg","text":"TemporaryFile(/tmp/multipartBody952714433573783152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_41_02_691063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24978164f5901ceb9d2f566d19372778.jpg","text":"TemporaryFile(/tmp/multipartBody2298339639027670562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_42_02_919060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33f441759c4d1611399270f1ea153e0d.jpg","text":"TemporaryFile(/tmp/multipartBody8137670608196145071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_41_02_691063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bd4af21148063a448f373d8caf6ee057.jpg","text":"TemporaryFile(/tmp/multipartBody1652357684406790352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170477024,"filename":"image_06012025_12_41_02_691063_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982330","file1":"1326982322","file0":"1326982318","file4":"1326982347","file5":"1326982351","file3":"1326982340"},"map_files_photo_id_array":[{"photo_id":"1326982351","filename":"file5"},{"photo_id":"1326982330","filename":"file2"},{"photo_id":"1326982347","filename":"file4"},{"photo_id":"1326982322","filename":"file1"},{"photo_id":"1326982318","filename":"file0"},{"photo_id":"1326982340","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982347":["hashtag1","hashtag2"]},{"1326982340":["hashtag1","hashtag2"]},{"1326982322":["hashtag1","hashtag2"]},{"1326982351":["hashtag1","hashtag2"]},{"1326982330":["hashtag1","hashtag2"]},{"1326982318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982347, 1326982340, 1326982322, 1326982351, 1326982330, 1326982318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.96423101425171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:34:42.287299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0003.jpg', '/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0000.jpg', '/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0001.jpg', '/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0002.jpg', '/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0003.jpg', '/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/42/image_06012025_12_42_02_919060_0003.jpg
/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0000.jpg
/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0001.jpg
/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0002.jpg
/home/pi/Desktop/images/06012025/12/43/image_06012025_12_43_03_042561_0003.jpg
/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982470","1326982449","1326982454","1326982445","1326982462","1326982441"],"photo_ids_order":["1326982441","1326982445","1326982449","1326982454","1326982462","1326982470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/057fb524df97c15a6c2d4d84afdda504.jpg","text":"TemporaryFile(/tmp/multipartBody4784308172941617431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_44_02_276544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89d476c76915bbdeb1dca545a229ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody1463848240450021816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_43_03_042561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0278e1d6776dfda28ecb389812a627ae.jpg","text":"TemporaryFile(/tmp/multipartBody8970644529311366548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_43_03_042561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c71d2905e2864859fd5a1e0c9da30698.jpg","text":"TemporaryFile(/tmp/multipartBody1419908388853852189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_43_03_042561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4e75ee7f280b879dfde16cc531f1b06.jpg","text":"TemporaryFile(/tmp/multipartBody5447156236341458522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_43_03_042561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5563e65ae29193a7df2be54e9e065583.jpg","text":"TemporaryFile(/tmp/multipartBody3918747272161661876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170557406,"filename":"image_06012025_12_42_02_919060_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982449","file1":"1326982445","file0":"1326982441","file4":"1326982462","file5":"1326982470","file3":"1326982454"},"map_files_photo_id_array":[{"photo_id":"1326982470","filename":"file5"},{"photo_id":"1326982449","filename":"file2"},{"photo_id":"1326982462","filename":"file4"},{"photo_id":"1326982445","filename":"file1"},{"photo_id":"1326982441","filename":"file0"},{"photo_id":"1326982454","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982470":["hashtag1","hashtag2"]},{"1326982449":["hashtag1","hashtag2"]},{"1326982454":["hashtag1","hashtag2"]},{"1326982445":["hashtag1","hashtag2"]},{"1326982462":["hashtag1","hashtag2"]},{"1326982441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982470, 1326982449, 1326982454, 1326982445, 1326982462, 1326982441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.09979796409607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:36:22.627367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_0001.jpg', '/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_0002.jpg', '/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0000.jpg', '/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0001.jpg', '/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0002.jpg', '/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_0001.jpg
/home/pi/Desktop/images/06012025/12/44/image_06012025_12_44_02_276544_0002.jpg
/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0000.jpg
/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0001.jpg
/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_0002.jpg
/home/pi/Desktop/images/06012025/12/45/image_06012025_12_45_02_387281_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982496","1326982517","1326982498","1326982502","1326982494","1326982488"],"photo_ids_order":["1326982488","1326982494","1326982496","1326982498","1326982502","1326982517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18db8b4fe9e017e82871d387fe9695ae.jpg","text":"TemporaryFile(/tmp/multipartBody1676367782280403172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_45_02_387281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c333193cdc97d208bea466dd12c2101f.jpg","text":"TemporaryFile(/tmp/multipartBody75005111497319527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_45_02_387281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82341775f09581823318513ce1d1d765.jpg","text":"TemporaryFile(/tmp/multipartBody2630698170361746840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_45_02_387281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0604d6a887e7d81eaafe5e12644fa60e.jpg","text":"TemporaryFile(/tmp/multipartBody1286037819810269082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_45_02_387281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa4557bef1e3887e74de22b93232a83c.jpg","text":"TemporaryFile(/tmp/multipartBody8565955181615176047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_44_02_276544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd84997fe8e236a357996d4c46a66a62.jpg","text":"TemporaryFile(/tmp/multipartBody2172654607248591225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170657579,"filename":"image_06012025_12_44_02_276544_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982496","file1":"1326982494","file0":"1326982488","file4":"1326982502","file5":"1326982517","file3":"1326982498"},"map_files_photo_id_array":[{"photo_id":"1326982517","filename":"file5"},{"photo_id":"1326982496","filename":"file2"},{"photo_id":"1326982502","filename":"file4"},{"photo_id":"1326982494","filename":"file1"},{"photo_id":"1326982488","filename":"file0"},{"photo_id":"1326982498","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982496":["hashtag1","hashtag2"]},{"1326982517":["hashtag1","hashtag2"]},{"1326982498":["hashtag1","hashtag2"]},{"1326982502":["hashtag1","hashtag2"]},{"1326982494":["hashtag1","hashtag2"]},{"1326982488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982496, 1326982517, 1326982498, 1326982502, 1326982494, 1326982488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.76966619491577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:37:51.758739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0000.jpg', '/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0001.jpg', '/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0002.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0001.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0002.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0000.jpg
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0001.jpg
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0002.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0001.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0002.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_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.633008480072021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:38:21.914465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0000.jpg', '/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0001.jpg', '/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0002.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0001.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0002.jpg', '/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0000.jpg
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0001.jpg
/home/pi/Desktop/images/06012025/12/46/image_06012025_12_46_02_621860_0002.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0001.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_0002.jpg
/home/pi/Desktop/images/06012025/12/47/image_06012025_12_47_02_801488_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982605","1326982595","1326982585","1326982579","1326982600","1326982587"],"photo_ids_order":["1326982579","1326982585","1326982587","1326982595","1326982600","1326982605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d1732fca66888535c0977b69b393d65.jpg","text":"TemporaryFile(/tmp/multipartBody8059030318970128590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_47_02_801488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44ab906feb01d73579ecb2b94cf6a04c.jpg","text":"TemporaryFile(/tmp/multipartBody2700252188377702216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_47_02_801488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f4f4529bec0bca32f62a208a7a04b95.jpg","text":"TemporaryFile(/tmp/multipartBody323732891762270978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_46_02_621860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25f6e8183a44d6408f3efdc12e6a33be.jpg","text":"TemporaryFile(/tmp/multipartBody9018302431776531187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_46_02_621860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5850473b6311ae933344e8d0ba2519aa.jpg","text":"TemporaryFile(/tmp/multipartBody6814198537827739960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_47_02_801488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be4b180d821f3c4e10fd6028b30b87c8.jpg","text":"TemporaryFile(/tmp/multipartBody4286211399596183055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170776967,"filename":"image_06012025_12_46_02_621860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982587","file1":"1326982585","file0":"1326982579","file4":"1326982600","file5":"1326982605","file3":"1326982595"},"map_files_photo_id_array":[{"photo_id":"1326982605","filename":"file5"},{"photo_id":"1326982587","filename":"file2"},{"photo_id":"1326982600","filename":"file4"},{"photo_id":"1326982585","filename":"file1"},{"photo_id":"1326982579","filename":"file0"},{"photo_id":"1326982595","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982605":["hashtag1","hashtag2"]},{"1326982595":["hashtag1","hashtag2"]},{"1326982585":["hashtag1","hashtag2"]},{"1326982579":["hashtag1","hashtag2"]},{"1326982600":["hashtag1","hashtag2"]},{"1326982587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982605, 1326982595, 1326982585, 1326982579, 1326982600, 1326982587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.21077752113342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:40:22.335493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0000.jpg', '/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0001.jpg', '/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0002.jpg', '/home/pi/Desktop/images/06012025/12/49/image_06012025_12_49_03_157152_0001.jpg', '/home/pi/Desktop/images/06012025/12/49/image_06012025_12_49_03_157152_0002.jpg', '/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0000.jpg
/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0001.jpg
/home/pi/Desktop/images/06012025/12/48/image_06012025_12_48_03_007671_0002.jpg
/home/pi/Desktop/images/06012025/12/49/image_06012025_12_49_03_157152_0001.jpg
/home/pi/Desktop/images/06012025/12/49/image_06012025_12_49_03_157152_0002.jpg
/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982629","1326982679","1326982682","1326982633","1326982695","1326982689"],"photo_ids_order":["1326982629","1326982633","1326982679","1326982682","1326982689","1326982695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb13e295fa7bbe4dd4136635fcdee1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1232479902056729428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_48_03_007671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/233543a52eda9f6f7ded27b983702efa.jpg","text":"TemporaryFile(/tmp/multipartBody4493347041814475547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_48_03_007671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a13e712ff29b866e2fba260a741e4cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1405041014556614456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_49_03_157152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4326501b719b6b0d3b1ca83ca56bee82.jpg","text":"TemporaryFile(/tmp/multipartBody6954869584201705368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_48_03_007671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e10c93f6ac391c53c511b863c7f6a512.jpg","text":"TemporaryFile(/tmp/multipartBody12106188080711541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_50_02_335317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93812a88e4816ad4d47193f04f6b8393.jpg","text":"TemporaryFile(/tmp/multipartBody2624108803066436956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170897355,"filename":"image_06012025_12_49_03_157152_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982679","file1":"1326982633","file0":"1326982629","file4":"1326982689","file5":"1326982695","file3":"1326982682"},"map_files_photo_id_array":[{"photo_id":"1326982695","filename":"file5"},{"photo_id":"1326982679","filename":"file2"},{"photo_id":"1326982689","filename":"file4"},{"photo_id":"1326982633","filename":"file1"},{"photo_id":"1326982629","filename":"file0"},{"photo_id":"1326982682","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982629":["hashtag1","hashtag2"]},{"1326982679":["hashtag1","hashtag2"]},{"1326982682":["hashtag1","hashtag2"]},{"1326982633":["hashtag1","hashtag2"]},{"1326982695":["hashtag1","hashtag2"]},{"1326982689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982629, 1326982679, 1326982682, 1326982633, 1326982695, 1326982689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.68681812286377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:41:52.487579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0001.jpg', '/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0002.jpg', '/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0003.jpg', '/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_0001.jpg', '/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_0002.jpg', '/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0001.jpg
/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0002.jpg
/home/pi/Desktop/images/06012025/12/50/image_06012025_12_50_02_335317_0003.jpg
/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_0001.jpg
/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_0002.jpg
/home/pi/Desktop/images/06012025/12/51/image_06012025_12_51_02_458030_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982737","1326982719","1326982716","1326982721","1326982706","1326982729"],"photo_ids_order":["1326982706","1326982716","1326982719","1326982721","1326982729","1326982737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5367d8fc2c0c1f286c2464da832cd9c6.jpg","text":"TemporaryFile(/tmp/multipartBody23503129742244096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_51_02_458030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9802b8a50a4694a288ede543d4cd906.jpg","text":"TemporaryFile(/tmp/multipartBody3390212479790078243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_50_02_335317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b44475d9dd25e78553a5025925c61bfe.jpg","text":"TemporaryFile(/tmp/multipartBody3605581260495464728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_50_02_335317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2e7f5f9f36fc615e548c5da2bfd3c96.jpg","text":"TemporaryFile(/tmp/multipartBody715401602311554879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_51_02_458030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a87162636d45cedd991ff90c9ef370f.jpg","text":"TemporaryFile(/tmp/multipartBody5422031136587635395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_50_02_335317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07f8c9bc5aed20703a916b276007a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7513853056500949971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736170987462,"filename":"image_06012025_12_51_02_458030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982719","file1":"1326982716","file0":"1326982706","file4":"1326982729","file5":"1326982737","file3":"1326982721"},"map_files_photo_id_array":[{"photo_id":"1326982737","filename":"file5"},{"photo_id":"1326982719","filename":"file2"},{"photo_id":"1326982729","filename":"file4"},{"photo_id":"1326982716","filename":"file1"},{"photo_id":"1326982706","filename":"file0"},{"photo_id":"1326982721","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982737":["hashtag1","hashtag2"]},{"1326982719":["hashtag1","hashtag2"]},{"1326982716":["hashtag1","hashtag2"]},{"1326982721":["hashtag1","hashtag2"]},{"1326982706":["hashtag1","hashtag2"]},{"1326982729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982737, 1326982719, 1326982716, 1326982721, 1326982706, 1326982729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.28893685340881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:43:51.858716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0000.jpg', '/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0001.jpg', '/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0003.jpg', '/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0000.jpg', '/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0001.jpg', '/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0000.jpg
/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0001.jpg
/home/pi/Desktop/images/06012025/12/52/image_06012025_12_52_02_636846_0003.jpg
/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0000.jpg
/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0001.jpg
/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_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":["1326982818","1326982793","1326982787","1326982811","1326982807","1326982801"],"photo_ids_order":["1326982787","1326982793","1326982801","1326982807","1326982811","1326982818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c011255c071da7d5d44c062d3a5c4034.jpg","text":"TemporaryFile(/tmp/multipartBody1490028964308906434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_53_02_825705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84f6a1e28ad06df8f34bcf0e14167a31.jpg","text":"TemporaryFile(/tmp/multipartBody678701465557526104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_52_02_636846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/552753cb283098f5c46906b83721a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3754038722473748859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_52_02_636846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e1d6577d018783d912eefbfcf0e759b.jpg","text":"TemporaryFile(/tmp/multipartBody7880248987416260347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_53_02_825705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f31f473ffa728561834e81ea801cd40f.jpg","text":"TemporaryFile(/tmp/multipartBody6971046092236249738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_53_02_825705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56e3f6d3065d25955701d679f1050374.jpg","text":"TemporaryFile(/tmp/multipartBody1766356270061801181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171106964,"filename":"image_06012025_12_52_02_636846_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982801","file1":"1326982793","file0":"1326982787","file4":"1326982811","file5":"1326982818","file3":"1326982807"},"map_files_photo_id_array":[{"photo_id":"1326982818","filename":"file5"},{"photo_id":"1326982801","filename":"file2"},{"photo_id":"1326982811","filename":"file4"},{"photo_id":"1326982793","filename":"file1"},{"photo_id":"1326982787","filename":"file0"},{"photo_id":"1326982807","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982818":["hashtag1","hashtag2"]},{"1326982793":["hashtag1","hashtag2"]},{"1326982787":["hashtag1","hashtag2"]},{"1326982811":["hashtag1","hashtag2"]},{"1326982807":["hashtag1","hashtag2"]},{"1326982801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982818, 1326982793, 1326982787, 1326982811, 1326982807, 1326982801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.4592399597168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:45:22.282779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0003.jpg', '/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0000.jpg', '/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0001.jpg', '/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0002.jpg', '/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_0001.jpg', '/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/53/image_06012025_12_53_02_825705_0003.jpg
/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0000.jpg
/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0001.jpg
/home/pi/Desktop/images/06012025/12/54/image_06012025_12_54_03_025782_0002.jpg
/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_0001.jpg
/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982950","1326982850","1326982907","1326982927","1326982840","1326982872"],"photo_ids_order":["1326982840","1326982850","1326982872","1326982907","1326982927","1326982950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/541825315a31e700ca0bae5a76b11018.jpg","text":"TemporaryFile(/tmp/multipartBody5310170008019683068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_55_02_210897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6910cf71064801e9ca43b995786d931c.jpg","text":"TemporaryFile(/tmp/multipartBody256006118229018964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_54_03_025782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d436ed89afb1e41714246d4993c21dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5289024236981897335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_54_03_025782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbefe6126ab0885543ab108f6df91f98.jpg","text":"TemporaryFile(/tmp/multipartBody6135055328915655364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_55_02_210897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b40b7c90c28cc2b864914f4262795cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2562700219028385348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_53_02_825705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d9f7652f595d30f0040b7be47c2e9da.jpg","text":"TemporaryFile(/tmp/multipartBody6582397315071218763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171197770,"filename":"image_06012025_12_54_03_025782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982872","file1":"1326982850","file0":"1326982840","file4":"1326982927","file5":"1326982950","file3":"1326982907"},"map_files_photo_id_array":[{"photo_id":"1326982950","filename":"file5"},{"photo_id":"1326982872","filename":"file2"},{"photo_id":"1326982927","filename":"file4"},{"photo_id":"1326982850","filename":"file1"},{"photo_id":"1326982840","filename":"file0"},{"photo_id":"1326982907","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982950":["hashtag1","hashtag2"]},{"1326982850":["hashtag1","hashtag2"]},{"1326982907":["hashtag1","hashtag2"]},{"1326982927":["hashtag1","hashtag2"]},{"1326982840":["hashtag1","hashtag2"]},{"1326982872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982950, 1326982850, 1326982907, 1326982927, 1326982840, 1326982872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.99317765235901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 14:46:52.370484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_0003.jpg', '/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0000.jpg', '/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0002.jpg', '/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0003.jpg', '/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_0000.jpg', '/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/55/image_06012025_12_55_02_210897_0003.jpg
/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0000.jpg
/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0002.jpg
/home/pi/Desktop/images/06012025/12/56/image_06012025_12_56_02_423627_0003.jpg
/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_0000.jpg
/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326982989","1326982968","1326982985","1326982978","1326982963","1326982992"],"photo_ids_order":["1326982963","1326982968","1326982978","1326982985","1326982989","1326982992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c14196ee800af7d5b6b7ed9f8686b92.jpg","text":"TemporaryFile(/tmp/multipartBody7957024670605349149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_57_02_595264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b178928e978fbbe02c21d6866193c49.jpg","text":"TemporaryFile(/tmp/multipartBody8263986467097804839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_56_02_423627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf7580c3062051fc716483bb7e2073f3.jpg","text":"TemporaryFile(/tmp/multipartBody486828727356660673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_56_02_423627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcc8dd99f8b82d680dc804649b242a46.jpg","text":"TemporaryFile(/tmp/multipartBody4018440467614508298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_56_02_423627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db239ccb32eaa8d5835ac742ac15661b.jpg","text":"TemporaryFile(/tmp/multipartBody5185693636955889349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_55_02_210897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1d89c4d8fcf041984a0d2bbb0c991b2.jpg","text":"TemporaryFile(/tmp/multipartBody2639522296774251399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171287857,"filename":"image_06012025_12_57_02_595264_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326982978","file1":"1326982968","file0":"1326982963","file4":"1326982989","file5":"1326982992","file3":"1326982985"},"map_files_photo_id_array":[{"photo_id":"1326982992","filename":"file5"},{"photo_id":"1326982978","filename":"file2"},{"photo_id":"1326982989","filename":"file4"},{"photo_id":"1326982968","filename":"file1"},{"photo_id":"1326982963","filename":"file0"},{"photo_id":"1326982985","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326982989":["hashtag1","hashtag2"]},{"1326982968":["hashtag1","hashtag2"]},{"1326982985":["hashtag1","hashtag2"]},{"1326982978":["hashtag1","hashtag2"]},{"1326982963":["hashtag1","hashtag2"]},{"1326982992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326982989, 1326982968, 1326982985, 1326982978, 1326982963, 1326982992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.91391181945801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:48:22.747823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_0003.jpg', '/home/pi/Desktop/images/06012025/12/58/image_06012025_12_58_02_736999_0002.jpg', '/home/pi/Desktop/images/06012025/12/58/image_06012025_12_58_02_736999_0003.jpg', '/home/pi/Desktop/images/06012025/12/59/image_06012025_12_59_02_922028_0000.jpg', '/home/pi/Desktop/images/06012025/12/59/image_06012025_12_59_02_922028_0001.jpg', '/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/12/57/image_06012025_12_57_02_595264_0003.jpg
/home/pi/Desktop/images/06012025/12/58/image_06012025_12_58_02_736999_0002.jpg
/home/pi/Desktop/images/06012025/12/58/image_06012025_12_58_02_736999_0003.jpg
/home/pi/Desktop/images/06012025/12/59/image_06012025_12_59_02_922028_0000.jpg
/home/pi/Desktop/images/06012025/12/59/image_06012025_12_59_02_922028_0001.jpg
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_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":["1326983142","1326983109","1326983003","1326983163","1326983166","1326983160"],"photo_ids_order":["1326983003","1326983109","1326983142","1326983160","1326983163","1326983166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/604466a43c5bbb29b3ede19a6fdb411e.jpg","text":"TemporaryFile(/tmp/multipartBody9096131796489187516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_12_58_02_736999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6a0f5e7e34c04b9a135e2ea5762281a.jpg","text":"TemporaryFile(/tmp/multipartBody3634134449691841398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_12_58_02_736999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d5a9e1a6e0214f8dbc031d0ae45930d.jpg","text":"TemporaryFile(/tmp/multipartBody1331095045801515275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_12_57_02_595264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dba73a2fa743003f3ac1c1dc71180ba.jpg","text":"TemporaryFile(/tmp/multipartBody31149581608789882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_12_59_02_922028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab7d777910c7b3d54fe7a6dd0676c131.jpg","text":"TemporaryFile(/tmp/multipartBody4109226158850387647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_13_00_03_075501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c8550b02ad3ea4706f5754c0982ea32.jpg","text":"TemporaryFile(/tmp/multipartBody8503158711558486578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171378222,"filename":"image_06012025_12_59_02_922028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983142","file1":"1326983109","file0":"1326983003","file4":"1326983163","file5":"1326983166","file3":"1326983160"},"map_files_photo_id_array":[{"photo_id":"1326983166","filename":"file5"},{"photo_id":"1326983142","filename":"file2"},{"photo_id":"1326983163","filename":"file4"},{"photo_id":"1326983109","filename":"file1"},{"photo_id":"1326983003","filename":"file0"},{"photo_id":"1326983160","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983142":["hashtag1","hashtag2"]},{"1326983109":["hashtag1","hashtag2"]},{"1326983003":["hashtag1","hashtag2"]},{"1326983163":["hashtag1","hashtag2"]},{"1326983166":["hashtag1","hashtag2"]},{"1326983160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983142, 1326983109, 1326983003, 1326983163, 1326983166, 1326983160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.50550532341003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:49:41.942412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0001.jpg', '/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0002.jpg', '/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0003.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0000.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0001.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0001.jpg
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0002.jpg
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0003.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0000.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0001.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_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: 15.066854238510132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 14:50:02.580714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0001.jpg', '/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0002.jpg', '/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0003.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0000.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0001.jpg', '/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0001.jpg
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0002.jpg
/home/pi/Desktop/images/06012025/13/00/image_06012025_13_00_03_075501_0003.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0000.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0001.jpg
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326983252","1326983233","1326983245","1326983239","1326983224","1326983247"],"photo_ids_order":["1326983224","1326983233","1326983239","1326983245","1326983247","1326983252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae1527f878312804e762573d206ea126.jpg","text":"TemporaryFile(/tmp/multipartBody2401253611818793688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_01_02_297216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/382a2259231055186652c240a90a76c9.jpg","text":"TemporaryFile(/tmp/multipartBody9210728143226883508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_00_03_075501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/674b6969b20afe278f988435a8d1ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody2318252632727185391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_01_02_297216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24345f53b55ddaf09edc8ed3fbed9cea.jpg","text":"TemporaryFile(/tmp/multipartBody9125206668407969273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_00_03_075501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56fe79974249f0cf70fb7402dc0c63da.jpg","text":"TemporaryFile(/tmp/multipartBody6505596217245866164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_00_03_075501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22e6aeb8e8792fd521d6b3f6ce86a37c.jpg","text":"TemporaryFile(/tmp/multipartBody4639794579183833863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171478057,"filename":"image_06012025_13_01_02_297216_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983239","file1":"1326983233","file0":"1326983224","file4":"1326983247","file5":"1326983252","file3":"1326983245"},"map_files_photo_id_array":[{"photo_id":"1326983252","filename":"file5"},{"photo_id":"1326983239","filename":"file2"},{"photo_id":"1326983247","filename":"file4"},{"photo_id":"1326983233","filename":"file1"},{"photo_id":"1326983224","filename":"file0"},{"photo_id":"1326983245","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983252":["hashtag1","hashtag2"]},{"1326983233":["hashtag1","hashtag2"]},{"1326983245":["hashtag1","hashtag2"]},{"1326983239":["hashtag1","hashtag2"]},{"1326983224":["hashtag1","hashtag2"]},{"1326983247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983252, 1326983233, 1326983245, 1326983239, 1326983224, 1326983247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.58492541313171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:51:42.328588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0003.jpg', '/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0000.jpg', '/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0001.jpg', '/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0002.jpg', '/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0003.jpg', '/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/01/image_06012025_13_01_02_297216_0003.jpg
/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0000.jpg
/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0001.jpg
/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0002.jpg
/home/pi/Desktop/images/06012025/13/02/image_06012025_13_02_02_537754_0003.jpg
/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326983433","1326983432","1326983275","1326983397","1326983308","1326983283"],"photo_ids_order":["1326983275","1326983283","1326983308","1326983397","1326983432","1326983433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3baab7508d9a4a10926192c1a1836ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2078790282950109231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_03_02_667521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c24272f8b6fff3959f3766fa65695729.jpg","text":"TemporaryFile(/tmp/multipartBody3613547919536008933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_02_02_537754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49fa9ff4198e70f384dd215e99ff4121.jpg","text":"TemporaryFile(/tmp/multipartBody6024034527818708727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_01_02_297216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70e610a7367fa5c1a2ed4ed5e7fdde4b.jpg","text":"TemporaryFile(/tmp/multipartBody6801816223899477441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_02_02_537754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d47d54dd309bff7b127f618a362fc552.jpg","text":"TemporaryFile(/tmp/multipartBody7905025442862114687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_02_02_537754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a80bc912edec107ae06c194b48c1f6c1.jpg","text":"TemporaryFile(/tmp/multipartBody481471122033813237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171577057,"filename":"image_06012025_13_02_02_537754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983308","file1":"1326983283","file0":"1326983275","file4":"1326983432","file5":"1326983433","file3":"1326983397"},"map_files_photo_id_array":[{"photo_id":"1326983433","filename":"file5"},{"photo_id":"1326983308","filename":"file2"},{"photo_id":"1326983432","filename":"file4"},{"photo_id":"1326983283","filename":"file1"},{"photo_id":"1326983275","filename":"file0"},{"photo_id":"1326983397","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983433":["hashtag1","hashtag2"]},{"1326983432":["hashtag1","hashtag2"]},{"1326983275":["hashtag1","hashtag2"]},{"1326983397":["hashtag1","hashtag2"]},{"1326983308":["hashtag1","hashtag2"]},{"1326983283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983433, 1326983432, 1326983275, 1326983397, 1326983308, 1326983283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.29372572898865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:53:22.725552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_0002.jpg', '/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_0003.jpg', '/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0000.jpg', '/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0001.jpg', '/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0002.jpg', '/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_0002.jpg
/home/pi/Desktop/images/06012025/13/03/image_06012025_13_03_02_667521_0003.jpg
/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0000.jpg
/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0001.jpg
/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_0002.jpg
/home/pi/Desktop/images/06012025/13/04/image_06012025_13_04_02_870557_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326983470","1326983458","1326983467","1326983452","1326983455","1326983475"],"photo_ids_order":["1326983452","1326983455","1326983458","1326983467","1326983470","1326983475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d103bd49fad0c6c28ebb51d63346846c.jpg","text":"TemporaryFile(/tmp/multipartBody9007407927487213717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_04_02_870557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/349d725ca26003483cd64900ebbd2f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7187244833493549584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_04_02_870557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89f1eb0825a1037a56b379a1b13cab2b.jpg","text":"TemporaryFile(/tmp/multipartBody4593037216535609222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_04_02_870557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d893893f3b2776ac25cf5a19bd9325b8.jpg","text":"TemporaryFile(/tmp/multipartBody1988528920726713281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_03_02_667521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39ec7913062e3da9d50de184b76497e0.jpg","text":"TemporaryFile(/tmp/multipartBody713884295093550979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_03_02_667521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bc6b2efab5acdb3587ea0ea0764097b.jpg","text":"TemporaryFile(/tmp/multipartBody3158359285289664946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171677742,"filename":"image_06012025_13_04_02_870557_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983458","file1":"1326983455","file0":"1326983452","file4":"1326983470","file5":"1326983475","file3":"1326983467"},"map_files_photo_id_array":[{"photo_id":"1326983475","filename":"file5"},{"photo_id":"1326983458","filename":"file2"},{"photo_id":"1326983470","filename":"file4"},{"photo_id":"1326983455","filename":"file1"},{"photo_id":"1326983452","filename":"file0"},{"photo_id":"1326983467","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983470":["hashtag1","hashtag2"]},{"1326983458":["hashtag1","hashtag2"]},{"1326983467":["hashtag1","hashtag2"]},{"1326983452":["hashtag1","hashtag2"]},{"1326983455":["hashtag1","hashtag2"]},{"1326983475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983470, 1326983458, 1326983467, 1326983452, 1326983455, 1326983475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.57973861694336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 14:55:02.620009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0000.jpg', '/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0001.jpg', '/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0003.jpg', '/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0000.jpg', '/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0001.jpg', '/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0000.jpg
/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0001.jpg
/home/pi/Desktop/images/06012025/13/05/image_06012025_13_05_03_036754_0003.jpg
/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0000.jpg
/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0001.jpg
/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_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":["1326983681","1326983624","1326983680","1326983668","1326983683","1326983677"],"photo_ids_order":["1326983624","1326983668","1326983677","1326983680","1326983681","1326983683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e15ed26bc778f31bf221b91b8ec389c7.jpg","text":"TemporaryFile(/tmp/multipartBody3929390161747775400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_06_02_248365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e028d0a21cb33cca5a588a75818583ff.jpg","text":"TemporaryFile(/tmp/multipartBody4788369146436635014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_05_03_036754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7888a441034f5d6cb5b0240017505b5.jpg","text":"TemporaryFile(/tmp/multipartBody5547996555279814846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_06_02_248365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9464c5be1fe01a766edd3c540b76ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody7937506130496777196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_05_03_036754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81b727a67680be223fa40cf0806bb72e.jpg","text":"TemporaryFile(/tmp/multipartBody6376428972208968505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_06_02_248365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9558764619c697b0aa3398bbc02470a.jpg","text":"TemporaryFile(/tmp/multipartBody5871848330722328824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171777506,"filename":"image_06012025_13_05_03_036754_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983677","file1":"1326983668","file0":"1326983624","file4":"1326983681","file5":"1326983683","file3":"1326983680"},"map_files_photo_id_array":[{"photo_id":"1326983683","filename":"file5"},{"photo_id":"1326983677","filename":"file2"},{"photo_id":"1326983681","filename":"file4"},{"photo_id":"1326983668","filename":"file1"},{"photo_id":"1326983624","filename":"file0"},{"photo_id":"1326983680","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983681":["hashtag1","hashtag2"]},{"1326983624":["hashtag1","hashtag2"]},{"1326983680":["hashtag1","hashtag2"]},{"1326983668":["hashtag1","hashtag2"]},{"1326983683":["hashtag1","hashtag2"]},{"1326983677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983681, 1326983624, 1326983680, 1326983668, 1326983683, 1326983677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.97358727455139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 14:56:22.295399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0003.jpg', '/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0000.jpg', '/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0001.jpg', '/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0002.jpg', '/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0003.jpg', '/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/06/image_06012025_13_06_02_248365_0003.jpg
/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0000.jpg
/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0001.jpg
/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0002.jpg
/home/pi/Desktop/images/06012025/13/07/image_06012025_13_07_02_427017_0003.jpg
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_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":["1326983706","1326983696","1326983705","1326983704","1326983707","1326983701"],"photo_ids_order":["1326983696","1326983701","1326983704","1326983705","1326983706","1326983707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5472a1c3858e3b8225d3db1e368b794f.jpg","text":"TemporaryFile(/tmp/multipartBody4920000901256622878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_07_02_427017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/205583a23cb3d8740e819532e5d5819a.jpg","text":"TemporaryFile(/tmp/multipartBody3338514364138776498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_06_02_248365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/011908a940c68fd54bea5674cb5b8003.jpg","text":"TemporaryFile(/tmp/multipartBody8813893567433629484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_07_02_427017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb82653c8b6b68236c1bf48fc0f84558.jpg","text":"TemporaryFile(/tmp/multipartBody3557617230538137699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_07_02_427017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb2664ad3cc1a7def06e0e386d643f63.jpg","text":"TemporaryFile(/tmp/multipartBody8280152450506700082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_08_02_577318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/65b073a5e1c8e25b58051afc3e4d1013.jpg","text":"TemporaryFile(/tmp/multipartBody2547820840500663598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736171857247,"filename":"image_06012025_13_07_02_427017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326983704","file1":"1326983701","file0":"1326983696","file4":"1326983706","file5":"1326983707","file3":"1326983705"},"map_files_photo_id_array":[{"photo_id":"1326983707","filename":"file5"},{"photo_id":"1326983704","filename":"file2"},{"photo_id":"1326983706","filename":"file4"},{"photo_id":"1326983701","filename":"file1"},{"photo_id":"1326983696","filename":"file0"},{"photo_id":"1326983705","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326983706":["hashtag1","hashtag2"]},{"1326983696":["hashtag1","hashtag2"]},{"1326983705":["hashtag1","hashtag2"]},{"1326983704":["hashtag1","hashtag2"]},{"1326983707":["hashtag1","hashtag2"]},{"1326983701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326983706, 1326983696, 1326983705, 1326983704, 1326983707, 1326983701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.87748122215271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 14:57:42.409196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0001.jpg', '/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0002.jpg', '/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0003.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0000.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0001.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0001.jpg
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0002.jpg
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0003.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0000.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0001.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0002.jpg
 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-06 14:59:03.516811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0001.jpg', '/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0002.jpg', '/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0003.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0000.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0001.jpg', '/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0001.jpg
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0002.jpg
/home/pi/Desktop/images/06012025/13/08/image_06012025_13_08_02_577318_0003.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0000.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0001.jpg
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_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":["1326984743","1326984608","1326984739","1326984601","1326984843","1326984791"],"photo_ids_order":["1326984601","1326984608","1326984739","1326984743","1326984791","1326984843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/277ebfab01ff99816490cbc465dac70d.jpg","text":"TemporaryFile(/tmp/multipartBody8619531625430165849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_09_02_767929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d24f20b8a735f6556a4cc7551f4f193d.jpg","text":"TemporaryFile(/tmp/multipartBody161681701756954980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_08_02_577318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a351dcf2af1a6bf546673d1ce9cea336.jpg","text":"TemporaryFile(/tmp/multipartBody6896572279828411978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_08_02_577318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b97f5f7ecbbe31d0da1354531a2e9f6.jpg","text":"TemporaryFile(/tmp/multipartBody2790780255769886992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_08_02_577318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76b0ec7b3d24c5517ab1ef84872f3c0e.jpg","text":"TemporaryFile(/tmp/multipartBody398578311082456855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_09_02_767929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c26d9c6c5d08dc35075187c410e7105.jpg","text":"TemporaryFile(/tmp/multipartBody1258257684704216039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172018497,"filename":"image_06012025_13_09_02_767929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326984739","file1":"1326984608","file0":"1326984601","file4":"1326984791","file5":"1326984843","file3":"1326984743"},"map_files_photo_id_array":[{"photo_id":"1326984843","filename":"file5"},{"photo_id":"1326984739","filename":"file2"},{"photo_id":"1326984791","filename":"file4"},{"photo_id":"1326984608","filename":"file1"},{"photo_id":"1326984601","filename":"file0"},{"photo_id":"1326984743","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326984743":["hashtag1","hashtag2"]},{"1326984608":["hashtag1","hashtag2"]},{"1326984739":["hashtag1","hashtag2"]},{"1326984601":["hashtag1","hashtag2"]},{"1326984843":["hashtag1","hashtag2"]},{"1326984791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326984743, 1326984608, 1326984739, 1326984601, 1326984843, 1326984791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.21191096305847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:00:22.032793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0003.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0000.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0001.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0002.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0003.jpg', '/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0003.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0000.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0001.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0002.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0003.jpg
/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0000.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.495646476745605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:00:41.969281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0003.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0000.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0001.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0002.jpg', '/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0003.jpg', '/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/09/image_06012025_13_09_02_767929_0003.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0000.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0001.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0002.jpg
/home/pi/Desktop/images/06012025/13/10/image_06012025_13_10_02_900856_0003.jpg
/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_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":["1326985427","1326985435","1326985429","1326985593","1326985590","1326985422"],"photo_ids_order":["1326985422","1326985427","1326985429","1326985435","1326985590","1326985593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f2bc95f94def57636a74a65de95161c.jpg","text":"TemporaryFile(/tmp/multipartBody4797312518236144672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_10_02_900856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e75fb36e21ab6a760c9dbe249ecf71cb.jpg","text":"TemporaryFile(/tmp/multipartBody8247848867326017351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_10_02_900856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/785e630997c120bd4e01b2c208959689.jpg","text":"TemporaryFile(/tmp/multipartBody3976051517874762459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_10_02_900856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bf687a08995f47e96046899c65952e0.jpg","text":"TemporaryFile(/tmp/multipartBody5448577627812876880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_11_03_168971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27784b8eba440e49110f57bde213dc25.jpg","text":"TemporaryFile(/tmp/multipartBody8589053066956875716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_10_02_900856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8ff9fca40b533c657d09dd08938a8df.jpg","text":"TemporaryFile(/tmp/multipartBody6150172368035492226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172116867,"filename":"image_06012025_13_09_02_767929_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326985429","file1":"1326985427","file0":"1326985422","file4":"1326985590","file5":"1326985593","file3":"1326985435"},"map_files_photo_id_array":[{"photo_id":"1326985593","filename":"file5"},{"photo_id":"1326985429","filename":"file2"},{"photo_id":"1326985590","filename":"file4"},{"photo_id":"1326985427","filename":"file1"},{"photo_id":"1326985422","filename":"file0"},{"photo_id":"1326985435","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326985427":["hashtag1","hashtag2"]},{"1326985435":["hashtag1","hashtag2"]},{"1326985429":["hashtag1","hashtag2"]},{"1326985593":["hashtag1","hashtag2"]},{"1326985590":["hashtag1","hashtag2"]},{"1326985422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326985427, 1326985435, 1326985429, 1326985593, 1326985590, 1326985422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.56164979934692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:02:02.748117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0001.jpg', '/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0002.jpg', '/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0003.jpg', '/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0000.jpg', '/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0001.jpg', '/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0001.jpg
/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0002.jpg
/home/pi/Desktop/images/06012025/13/11/image_06012025_13_11_03_168971_0003.jpg
/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0000.jpg
/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0001.jpg
/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_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":["1326985756","1326985753","1326985755","1326985749","1326985743","1326985746"],"photo_ids_order":["1326985743","1326985746","1326985749","1326985753","1326985755","1326985756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f512ca55466353e0c32b527c76e7214c.jpg","text":"TemporaryFile(/tmp/multipartBody3795481679109483166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_12_02_232797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8a51d2a114223d44beb81be1438ae64.jpg","text":"TemporaryFile(/tmp/multipartBody3813300175810563634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_12_02_232797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7716901828fe3d8178a1bb47bfd945ac.jpg","text":"TemporaryFile(/tmp/multipartBody6154178664574570433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_12_02_232797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a05bede7969ac37056561ea63780b6a9.jpg","text":"TemporaryFile(/tmp/multipartBody144478174809250101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_11_03_168971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3948b0f98c93fdee4db715e2a7866d74.jpg","text":"TemporaryFile(/tmp/multipartBody5092646775978942085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_11_03_168971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80852f47ad6651d73496b031bb1c0347.jpg","text":"TemporaryFile(/tmp/multipartBody406153052566000823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172197708,"filename":"image_06012025_13_11_03_168971_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326985749","file1":"1326985746","file0":"1326985743","file4":"1326985755","file5":"1326985756","file3":"1326985753"},"map_files_photo_id_array":[{"photo_id":"1326985756","filename":"file5"},{"photo_id":"1326985749","filename":"file2"},{"photo_id":"1326985755","filename":"file4"},{"photo_id":"1326985746","filename":"file1"},{"photo_id":"1326985743","filename":"file0"},{"photo_id":"1326985753","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326985756":["hashtag1","hashtag2"]},{"1326985753":["hashtag1","hashtag2"]},{"1326985755":["hashtag1","hashtag2"]},{"1326985749":["hashtag1","hashtag2"]},{"1326985743":["hashtag1","hashtag2"]},{"1326985746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326985756, 1326985753, 1326985755, 1326985749, 1326985743, 1326985746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.63652634620667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:03:32.472790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0003.jpg', '/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0000.jpg', '/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0001.jpg', '/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0002.jpg', '/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0003.jpg', '/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/12/image_06012025_13_12_02_232797_0003.jpg
/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0000.jpg
/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0001.jpg
/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0002.jpg
/home/pi/Desktop/images/06012025/13/13/image_06012025_13_13_02_383688_0003.jpg
/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326985777","1326985771","1326985770","1326985781","1326985793","1326985772"],"photo_ids_order":["1326985770","1326985771","1326985772","1326985777","1326985781","1326985793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91b93bdd73dc42179439e2f3a1819b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2597775761983527155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_13_02_383688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42c5a9c6a6308d3099a00a3e2a55e252.jpg","text":"TemporaryFile(/tmp/multipartBody5188478285871435556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_13_02_383688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f2ffbb274734d6c598aa1b1eedf6408.jpg","text":"TemporaryFile(/tmp/multipartBody3878504348085199268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_12_02_232797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46d5c540bd840bb691274d4f60e4120b.jpg","text":"TemporaryFile(/tmp/multipartBody7042654619003234066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_13_02_383688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14d88aa1744f50d65c17552274042b60.jpg","text":"TemporaryFile(/tmp/multipartBody1726068096932787744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_14_02_496441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9d71bc63959d46fe570286883978227.jpg","text":"TemporaryFile(/tmp/multipartBody9196505401932125120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172287235,"filename":"image_06012025_13_13_02_383688_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326985772","file1":"1326985771","file0":"1326985770","file4":"1326985781","file5":"1326985793","file3":"1326985777"},"map_files_photo_id_array":[{"photo_id":"1326985793","filename":"file5"},{"photo_id":"1326985772","filename":"file2"},{"photo_id":"1326985781","filename":"file4"},{"photo_id":"1326985771","filename":"file1"},{"photo_id":"1326985770","filename":"file0"},{"photo_id":"1326985777","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326985777":["hashtag1","hashtag2"]},{"1326985771":["hashtag1","hashtag2"]},{"1326985770":["hashtag1","hashtag2"]},{"1326985781":["hashtag1","hashtag2"]},{"1326985793":["hashtag1","hashtag2"]},{"1326985772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326985777, 1326985771, 1326985770, 1326985781, 1326985793, 1326985772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.72032403945923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:05:02.469243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0001.jpg', '/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0002.jpg', '/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0003.jpg', '/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0000.jpg', '/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0001.jpg', '/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0001.jpg
/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0002.jpg
/home/pi/Desktop/images/06012025/13/14/image_06012025_13_14_02_496441_0003.jpg
/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0000.jpg
/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0001.jpg
/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_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":["1326985873","1326985878","1326985869","1326985880","1326985871","1326985865"],"photo_ids_order":["1326985865","1326985869","1326985871","1326985873","1326985878","1326985880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64ed126262812fe2cb102ed2433566e0.jpg","text":"TemporaryFile(/tmp/multipartBody1360155676305059365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_15_02_813344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/947a0b085be70008891c91bf66419da7.jpg","text":"TemporaryFile(/tmp/multipartBody2749526121377251769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_15_02_813344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e098390ea1d2de29c058da41934b968e.jpg","text":"TemporaryFile(/tmp/multipartBody6909014393210064996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_14_02_496441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c79f6d53119b3573d4bafc9cae7e8115.jpg","text":"TemporaryFile(/tmp/multipartBody5566603469770606442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_15_02_813344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0648b9321749db31ce6d76b3e2b5168.jpg","text":"TemporaryFile(/tmp/multipartBody8398440815389001096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_14_02_496441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad3ab9fb12b16d3aae193a3b99dde133.jpg","text":"TemporaryFile(/tmp/multipartBody2823991692768058756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172377494,"filename":"image_06012025_13_14_02_496441_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326985871","file1":"1326985869","file0":"1326985865","file4":"1326985878","file5":"1326985880","file3":"1326985873"},"map_files_photo_id_array":[{"photo_id":"1326985880","filename":"file5"},{"photo_id":"1326985871","filename":"file2"},{"photo_id":"1326985878","filename":"file4"},{"photo_id":"1326985869","filename":"file1"},{"photo_id":"1326985865","filename":"file0"},{"photo_id":"1326985873","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326985873":["hashtag1","hashtag2"]},{"1326985878":["hashtag1","hashtag2"]},{"1326985869":["hashtag1","hashtag2"]},{"1326985880":["hashtag1","hashtag2"]},{"1326985871":["hashtag1","hashtag2"]},{"1326985865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326985873, 1326985878, 1326985869, 1326985880, 1326985871, 1326985865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.01875591278076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:06:22.137754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0003.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0000.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0001.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0002.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0003.jpg', '/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0003.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0000.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0001.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0002.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0003.jpg
/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0000.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.525996208190918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:06:42.146729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0003.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0000.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0001.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0002.jpg', '/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0003.jpg', '/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/15/image_06012025_13_15_02_813344_0003.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0000.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0001.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0002.jpg
/home/pi/Desktop/images/06012025/13/16/image_06012025_13_16_03_008024_0003.jpg
/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_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":["1326986386","1326986512","1326986506","1326986514","1326986516","1326986519"],"photo_ids_order":["1326986386","1326986506","1326986512","1326986514","1326986516","1326986519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe95c3455c9f07006016aff8eaeaa46f.jpg","text":"TemporaryFile(/tmp/multipartBody5013886195196821254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_15_02_813344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca96edad421c1c06be7a70b0f6e78695.jpg","text":"TemporaryFile(/tmp/multipartBody3264105747072857675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_16_03_008024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/045805ffa00f14daa1ed4f9964446d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4546944770317340739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_16_03_008024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0408da4d7db53e3b023f54bb5a86d78a.jpg","text":"TemporaryFile(/tmp/multipartBody7732765800006525025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_16_03_008024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbd6aecb698a0be4a8455afad96bb8c9.jpg","text":"TemporaryFile(/tmp/multipartBody622037339890527473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_16_03_008024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b8c86c267ca134b9dff0f1d8f0d76fd.jpg","text":"TemporaryFile(/tmp/multipartBody8623699872295115940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172477062,"filename":"image_06012025_13_17_03_112984_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986512","file1":"1326986506","file0":"1326986386","file4":"1326986516","file5":"1326986519","file3":"1326986514"},"map_files_photo_id_array":[{"photo_id":"1326986519","filename":"file5"},{"photo_id":"1326986512","filename":"file2"},{"photo_id":"1326986516","filename":"file4"},{"photo_id":"1326986506","filename":"file1"},{"photo_id":"1326986386","filename":"file0"},{"photo_id":"1326986514","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986386":["hashtag1","hashtag2"]},{"1326986512":["hashtag1","hashtag2"]},{"1326986506":["hashtag1","hashtag2"]},{"1326986514":["hashtag1","hashtag2"]},{"1326986516":["hashtag1","hashtag2"]},{"1326986519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986386, 1326986512, 1326986506, 1326986514, 1326986516, 1326986519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.97962713241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:07:52.300184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0001.jpg', '/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0002.jpg', '/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0003.jpg', '/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0000.jpg', '/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0001.jpg', '/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0001.jpg
/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0002.jpg
/home/pi/Desktop/images/06012025/13/17/image_06012025_13_17_03_112984_0003.jpg
/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0000.jpg
/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0001.jpg
/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_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":["1326986578","1326986530","1326986571","1326986574","1326986576","1326986572"],"photo_ids_order":["1326986530","1326986571","1326986572","1326986574","1326986576","1326986578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1afc40b8b1c31397d51137f06d22fa36.jpg","text":"TemporaryFile(/tmp/multipartBody5324558846670698091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_18_02_285065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0018a4626e1cc5899f7dcd2bf3e06471.jpg","text":"TemporaryFile(/tmp/multipartBody1281751754943687331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_17_03_112984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e942c9ae0cf387b472d9583585ccd631.jpg","text":"TemporaryFile(/tmp/multipartBody61027900100421459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_17_03_112984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7220ba985697e57b5d88d5726128725.jpg","text":"TemporaryFile(/tmp/multipartBody4376097560256860771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_18_02_285065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57452601cc07d9998122e811fd7cb5bf.jpg","text":"TemporaryFile(/tmp/multipartBody5549914596836992756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_18_02_285065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1eb410b4645bc5bddc703eb5453ce2c4.jpg","text":"TemporaryFile(/tmp/multipartBody6295615219436275227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172547234,"filename":"image_06012025_13_17_03_112984_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986572","file1":"1326986571","file0":"1326986530","file4":"1326986576","file5":"1326986578","file3":"1326986574"},"map_files_photo_id_array":[{"photo_id":"1326986578","filename":"file5"},{"photo_id":"1326986572","filename":"file2"},{"photo_id":"1326986576","filename":"file4"},{"photo_id":"1326986571","filename":"file1"},{"photo_id":"1326986530","filename":"file0"},{"photo_id":"1326986574","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986578":["hashtag1","hashtag2"]},{"1326986530":["hashtag1","hashtag2"]},{"1326986571":["hashtag1","hashtag2"]},{"1326986574":["hashtag1","hashtag2"]},{"1326986576":["hashtag1","hashtag2"]},{"1326986572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986578, 1326986530, 1326986571, 1326986574, 1326986576, 1326986572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.292264223098755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:08:52.512127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0003.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0000.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0001.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0002.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0003.jpg', '/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0003.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0000.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0001.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0002.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0003.jpg
/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0000.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.49085807800293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:09:22.722462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0003.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0000.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0001.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0002.jpg', '/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0003.jpg', '/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/18/image_06012025_13_18_02_285065_0003.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0000.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0001.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0002.jpg
/home/pi/Desktop/images/06012025/13/19/image_06012025_13_19_02_423597_0003.jpg
/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_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":["1326986608","1326986602","1326986604","1326986597","1326986599","1326986606"],"photo_ids_order":["1326986597","1326986599","1326986602","1326986604","1326986606","1326986608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c248969eac50703f53027d176f7abe1.jpg","text":"TemporaryFile(/tmp/multipartBody4597847962284839252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_20_02_564269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37c05721b2a36a5616a8438f3cf252d1.jpg","text":"TemporaryFile(/tmp/multipartBody2667202102220964735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_19_02_423597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/065d44d3ddd22c408dd55c43a45f019f.jpg","text":"TemporaryFile(/tmp/multipartBody3187881335451524423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_19_02_423597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ffcde206a686694f2aad37d50a2021c7.jpg","text":"TemporaryFile(/tmp/multipartBody8426461892305710811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_18_02_285065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/722da659b071c35489ecf0031de0c038.jpg","text":"TemporaryFile(/tmp/multipartBody6106657353336195782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_19_02_423597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3cb3fd8fe0234fdaaa863f560bc4d247.jpg","text":"TemporaryFile(/tmp/multipartBody792404488780269938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172637565,"filename":"image_06012025_13_19_02_423597_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986602","file1":"1326986599","file0":"1326986597","file4":"1326986606","file5":"1326986608","file3":"1326986604"},"map_files_photo_id_array":[{"photo_id":"1326986608","filename":"file5"},{"photo_id":"1326986602","filename":"file2"},{"photo_id":"1326986606","filename":"file4"},{"photo_id":"1326986599","filename":"file1"},{"photo_id":"1326986597","filename":"file0"},{"photo_id":"1326986604","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986608":["hashtag1","hashtag2"]},{"1326986602":["hashtag1","hashtag2"]},{"1326986604":["hashtag1","hashtag2"]},{"1326986597":["hashtag1","hashtag2"]},{"1326986599":["hashtag1","hashtag2"]},{"1326986606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986608, 1326986602, 1326986604, 1326986597, 1326986599, 1326986606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.04834246635437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:10:21.889053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0001.jpg', '/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0002.jpg', '/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0003.jpg', '/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0000.jpg', '/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0001.jpg', '/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0001.jpg
/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0002.jpg
/home/pi/Desktop/images/06012025/13/20/image_06012025_13_20_02_564269_0003.jpg
/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0000.jpg
/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0001.jpg
/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_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":["1326986677","1326986623","1326986675","1326986630","1326986627","1326986621"],"photo_ids_order":["1326986621","1326986623","1326986627","1326986630","1326986675","1326986677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6b026e84f0430f32f94789ceec8e003.jpg","text":"TemporaryFile(/tmp/multipartBody7965277605159128750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_21_02_788509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e464976a60234f7039b9d437fcde532c.jpg","text":"TemporaryFile(/tmp/multipartBody8532406742015869343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_20_02_564269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf369c1b2115e9b4cb7e66668c10a007.jpg","text":"TemporaryFile(/tmp/multipartBody1367178211282110668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_21_02_788509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/121f5975cc981896eb9877b4e2800401.jpg","text":"TemporaryFile(/tmp/multipartBody8710214732799597369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_21_02_788509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7bcca579dc40d5a01a049c91adad2bf.jpg","text":"TemporaryFile(/tmp/multipartBody2780674718930060772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_20_02_564269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c629481cbcbc3c53ceacb7c660c27b8.jpg","text":"TemporaryFile(/tmp/multipartBody6450587092759637654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172696924,"filename":"image_06012025_13_20_02_564269_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986627","file1":"1326986623","file0":"1326986621","file4":"1326986675","file5":"1326986677","file3":"1326986630"},"map_files_photo_id_array":[{"photo_id":"1326986677","filename":"file5"},{"photo_id":"1326986627","filename":"file2"},{"photo_id":"1326986675","filename":"file4"},{"photo_id":"1326986623","filename":"file1"},{"photo_id":"1326986621","filename":"file0"},{"photo_id":"1326986630","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986677":["hashtag1","hashtag2"]},{"1326986623":["hashtag1","hashtag2"]},{"1326986675":["hashtag1","hashtag2"]},{"1326986630":["hashtag1","hashtag2"]},{"1326986627":["hashtag1","hashtag2"]},{"1326986621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986677, 1326986623, 1326986675, 1326986630, 1326986627, 1326986621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.90153622627258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:11:22.150032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0003.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0000.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0001.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0002.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0003.jpg', '/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0003.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0000.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0001.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0002.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0003.jpg
/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0000.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.918861389160156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:11:42.046344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0003.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0000.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0001.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0002.jpg', '/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0003.jpg', '/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/21/image_06012025_13_21_02_788509_0003.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0000.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0001.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0002.jpg
/home/pi/Desktop/images/06012025/13/22/image_06012025_13_22_02_896039_0003.jpg
/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_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":["1326986697","1326986701","1326986700","1326986699","1326986692","1326986705"],"photo_ids_order":["1326986692","1326986697","1326986699","1326986700","1326986701","1326986705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee192f967fad1aa27c72bb50e5dda807.jpg","text":"TemporaryFile(/tmp/multipartBody6118740879091029643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_22_02_896039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67ac23456a74514ea56444bb561a24f4.jpg","text":"TemporaryFile(/tmp/multipartBody3594497392530931419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_22_02_896039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/daa3315cbd45d79ed0e838cf277e28a9.jpg","text":"TemporaryFile(/tmp/multipartBody23546716876678766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_22_02_896039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92a47644ae2cc88bb9c346cddc8b19f5.jpg","text":"TemporaryFile(/tmp/multipartBody8337133811767024230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_22_02_896039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c4c7137f06ae49f57085bc6cc62f16e.jpg","text":"TemporaryFile(/tmp/multipartBody2816446495570136780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_21_02_788509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e55e97e0512e0f6398b00e63bbbd650a.jpg","text":"TemporaryFile(/tmp/multipartBody9047295617379421044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172777374,"filename":"image_06012025_13_23_03_091666_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986699","file1":"1326986697","file0":"1326986692","file4":"1326986701","file5":"1326986705","file3":"1326986700"},"map_files_photo_id_array":[{"photo_id":"1326986705","filename":"file5"},{"photo_id":"1326986699","filename":"file2"},{"photo_id":"1326986701","filename":"file4"},{"photo_id":"1326986697","filename":"file1"},{"photo_id":"1326986692","filename":"file0"},{"photo_id":"1326986700","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986697":["hashtag1","hashtag2"]},{"1326986701":["hashtag1","hashtag2"]},{"1326986700":["hashtag1","hashtag2"]},{"1326986699":["hashtag1","hashtag2"]},{"1326986692":["hashtag1","hashtag2"]},{"1326986705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986697, 1326986701, 1326986700, 1326986699, 1326986692, 1326986705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74026417732239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:12:42.280591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0001.jpg', '/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0002.jpg', '/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0003.jpg', '/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0000.jpg', '/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0001.jpg', '/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0001.jpg
/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0002.jpg
/home/pi/Desktop/images/06012025/13/23/image_06012025_13_23_03_091666_0003.jpg
/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0000.jpg
/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0001.jpg
/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_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":["1326986716","1326986721","1326986718","1326986712","1326986726","1326986723"],"photo_ids_order":["1326986712","1326986716","1326986718","1326986721","1326986723","1326986726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cec0f6934f255587522c72530b96d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2888484425505357749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_23_03_091666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/685a7a295b4b88176fca7b1cc2b33dfd.jpg","text":"TemporaryFile(/tmp/multipartBody4047750946235043942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_24_02_258609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf4433a36649bb3714cb70312978a5c5.jpg","text":"TemporaryFile(/tmp/multipartBody3141307829130473384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_23_03_091666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53a5824b4812d0b1a76163e61255c934.jpg","text":"TemporaryFile(/tmp/multipartBody7001701340446880715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_23_03_091666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db88a781b3d50563786ba355f30b1f65.jpg","text":"TemporaryFile(/tmp/multipartBody5005283376088182125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_24_02_258609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50e057ecd025214bc6057b495a85e320.jpg","text":"TemporaryFile(/tmp/multipartBody6713187341893917339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172837400,"filename":"image_06012025_13_24_02_258609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986718","file1":"1326986716","file0":"1326986712","file4":"1326986723","file5":"1326986726","file3":"1326986721"},"map_files_photo_id_array":[{"photo_id":"1326986726","filename":"file5"},{"photo_id":"1326986718","filename":"file2"},{"photo_id":"1326986723","filename":"file4"},{"photo_id":"1326986716","filename":"file1"},{"photo_id":"1326986712","filename":"file0"},{"photo_id":"1326986721","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986716":["hashtag1","hashtag2"]},{"1326986721":["hashtag1","hashtag2"]},{"1326986718":["hashtag1","hashtag2"]},{"1326986712":["hashtag1","hashtag2"]},{"1326986726":["hashtag1","hashtag2"]},{"1326986723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986716, 1326986721, 1326986718, 1326986712, 1326986726, 1326986723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34065294265747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:13:42.473269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0003.jpg', '/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0000.jpg', '/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0001.jpg', '/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0002.jpg', '/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0003.jpg', '/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/24/image_06012025_13_24_02_258609_0003.jpg
/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0000.jpg
/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0001.jpg
/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0002.jpg
/home/pi/Desktop/images/06012025/13/25/image_06012025_13_25_02_480192_0003.jpg
/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_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":["1326986733","1326986739","1326986744","1326986747","1326986735","1326986752"],"photo_ids_order":["1326986733","1326986735","1326986739","1326986744","1326986747","1326986752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0349237c9553cbe3f5e8668086d12f5.jpg","text":"TemporaryFile(/tmp/multipartBody8814323802147189715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_24_02_258609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/447c5279225c02eeecca2a2f733c052a.jpg","text":"TemporaryFile(/tmp/multipartBody4878459649990847232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_25_02_480192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d61c882e991c9bcfa8757d7ac91301f6.jpg","text":"TemporaryFile(/tmp/multipartBody3260123422026218253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_25_02_480192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c06e98625292086b59a4de4be3f848a7.jpg","text":"TemporaryFile(/tmp/multipartBody2062953407565358124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_25_02_480192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81a6565ed1a00c80eb5af4eb30d5be01.jpg","text":"TemporaryFile(/tmp/multipartBody503770439331424094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_25_02_480192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ce3fdc4813987ed4639e9e35728eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody1694420704388450587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172897451,"filename":"image_06012025_13_26_02_657184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986739","file1":"1326986735","file0":"1326986733","file4":"1326986747","file5":"1326986752","file3":"1326986744"},"map_files_photo_id_array":[{"photo_id":"1326986752","filename":"file5"},{"photo_id":"1326986739","filename":"file2"},{"photo_id":"1326986747","filename":"file4"},{"photo_id":"1326986735","filename":"file1"},{"photo_id":"1326986733","filename":"file0"},{"photo_id":"1326986744","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986733":["hashtag1","hashtag2"]},{"1326986739":["hashtag1","hashtag2"]},{"1326986744":["hashtag1","hashtag2"]},{"1326986747":["hashtag1","hashtag2"]},{"1326986735":["hashtag1","hashtag2"]},{"1326986752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986733, 1326986739, 1326986744, 1326986747, 1326986735, 1326986752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.40661907196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:14:42.629752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0001.jpg', '/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0002.jpg', '/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0003.jpg', '/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0000.jpg', '/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0001.jpg', '/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0001.jpg
/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0002.jpg
/home/pi/Desktop/images/06012025/13/26/image_06012025_13_26_02_657184_0003.jpg
/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0000.jpg
/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0001.jpg
/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_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":["1326986839","1326986844","1326986835","1326986795","1326986789","1326986791"],"photo_ids_order":["1326986789","1326986791","1326986795","1326986835","1326986839","1326986844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54d73a659c10f900dc64b2ab49d3e023.jpg","text":"TemporaryFile(/tmp/multipartBody3425624167835718346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_27_02_901858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1793d824123bd1cc36b910417c959ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5120080666826743191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_27_02_901858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86e5030f2cd4b3ef3fd26006653c53b3.jpg","text":"TemporaryFile(/tmp/multipartBody7308236265798090197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_27_02_901858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01ad3896d6127862768fd097740c42e7.jpg","text":"TemporaryFile(/tmp/multipartBody7519728281366865559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_26_02_657184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62e02e64485edce44e12afa2903f8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3245712026445344675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_26_02_657184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0820fd588ae96f00cbd21f731b1d553.jpg","text":"TemporaryFile(/tmp/multipartBody5729118402562129718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736172957677,"filename":"image_06012025_13_26_02_657184_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986795","file1":"1326986791","file0":"1326986789","file4":"1326986839","file5":"1326986844","file3":"1326986835"},"map_files_photo_id_array":[{"photo_id":"1326986844","filename":"file5"},{"photo_id":"1326986795","filename":"file2"},{"photo_id":"1326986839","filename":"file4"},{"photo_id":"1326986791","filename":"file1"},{"photo_id":"1326986789","filename":"file0"},{"photo_id":"1326986835","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986839":["hashtag1","hashtag2"]},{"1326986844":["hashtag1","hashtag2"]},{"1326986835":["hashtag1","hashtag2"]},{"1326986795":["hashtag1","hashtag2"]},{"1326986789":["hashtag1","hashtag2"]},{"1326986791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986839, 1326986844, 1326986835, 1326986795, 1326986789, 1326986791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.65585470199585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:15:41.948599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0003.jpg', '/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0000.jpg', '/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0001.jpg', '/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0002.jpg', '/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0003.jpg', '/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/27/image_06012025_13_27_02_901858_0003.jpg
/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0000.jpg
/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0001.jpg
/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0002.jpg
/home/pi/Desktop/images/06012025/13/28/image_06012025_13_28_03_013793_0003.jpg
/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_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":["1326986869","1326986862","1326986859","1326986868","1326986872","1326986866"],"photo_ids_order":["1326986859","1326986862","1326986866","1326986868","1326986869","1326986872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74eca32a84a757baed9fb8ee9ac9adf0.jpg","text":"TemporaryFile(/tmp/multipartBody9002008131636095684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_28_03_013793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46599f88f5de67783bb70d5489ffac31.jpg","text":"TemporaryFile(/tmp/multipartBody5117257200906394958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_28_03_013793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e71933d4c916aee9acf9f2f4fe9fd94c.jpg","text":"TemporaryFile(/tmp/multipartBody2846822535491146506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_27_02_901858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25c3269904cc8eb40f0c32230ddd0cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5110202077454491293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_28_03_013793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74a73c1f3f1002bfb8561bcb516095a6.jpg","text":"TemporaryFile(/tmp/multipartBody5537866121987912206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_29_02_224331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e100e1e09293d4f50fe68c4cc638aace.jpg","text":"TemporaryFile(/tmp/multipartBody6586482241872064297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173016961,"filename":"image_06012025_13_28_03_013793_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986866","file1":"1326986862","file0":"1326986859","file4":"1326986869","file5":"1326986872","file3":"1326986868"},"map_files_photo_id_array":[{"photo_id":"1326986872","filename":"file5"},{"photo_id":"1326986866","filename":"file2"},{"photo_id":"1326986869","filename":"file4"},{"photo_id":"1326986862","filename":"file1"},{"photo_id":"1326986859","filename":"file0"},{"photo_id":"1326986868","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986869":["hashtag1","hashtag2"]},{"1326986862":["hashtag1","hashtag2"]},{"1326986859":["hashtag1","hashtag2"]},{"1326986868":["hashtag1","hashtag2"]},{"1326986872":["hashtag1","hashtag2"]},{"1326986866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986869, 1326986862, 1326986859, 1326986868, 1326986872, 1326986866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.603140354156494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:16:42.151530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0001.jpg', '/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0002.jpg', '/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0003.jpg', '/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0000.jpg', '/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0001.jpg', '/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0001.jpg
/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0002.jpg
/home/pi/Desktop/images/06012025/13/29/image_06012025_13_29_02_224331_0003.jpg
/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0000.jpg
/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0001.jpg
/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_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":["1326986961","1326986958","1326986892","1326986949","1326986957","1326986915"],"photo_ids_order":["1326986892","1326986915","1326986949","1326986957","1326986958","1326986961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be31c7a611909353fbc18ec8bdc72579.jpg","text":"TemporaryFile(/tmp/multipartBody7005279854888672870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_30_02_357091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15942710353d2aeafc95b8abed564b29.jpg","text":"TemporaryFile(/tmp/multipartBody1436816018176897320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_30_02_357091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b18b92f09a02fd0223644966a9832fec.jpg","text":"TemporaryFile(/tmp/multipartBody6832881909556592881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_29_02_224331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8d5ae31f7d36a70e53615786bf5b1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3600252172059358351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_29_02_224331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8672c64d92685581158037888c8f2ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7190417177289166761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_30_02_357091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/563651dc82bb142f90506ed3d685b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody8136862314774150632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173077206,"filename":"image_06012025_13_29_02_224331_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986949","file1":"1326986915","file0":"1326986892","file4":"1326986958","file5":"1326986961","file3":"1326986957"},"map_files_photo_id_array":[{"photo_id":"1326986961","filename":"file5"},{"photo_id":"1326986949","filename":"file2"},{"photo_id":"1326986958","filename":"file4"},{"photo_id":"1326986915","filename":"file1"},{"photo_id":"1326986892","filename":"file0"},{"photo_id":"1326986957","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986961":["hashtag1","hashtag2"]},{"1326986958":["hashtag1","hashtag2"]},{"1326986892":["hashtag1","hashtag2"]},{"1326986949":["hashtag1","hashtag2"]},{"1326986957":["hashtag1","hashtag2"]},{"1326986915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986961, 1326986958, 1326986892, 1326986949, 1326986957, 1326986915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.375364542007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 15:17:42.308624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0003.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0000.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0001.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0002.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0003.jpg', '/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0003.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0000.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0001.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0002.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0003.jpg
/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0000.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.628213167190552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:18:02.816823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0003.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0000.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0001.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0002.jpg', '/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0003.jpg', '/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/30/image_06012025_13_30_02_357091_0003.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0000.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0001.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0002.jpg
/home/pi/Desktop/images/06012025/13/31/image_06012025_13_31_02_519902_0003.jpg
/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_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":["1326986980","1326986991","1326986976","1326986984","1326986987","1326986995"],"photo_ids_order":["1326986976","1326986980","1326986984","1326986987","1326986991","1326986995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29079b978e74e948f2625ba24d40a810.jpg","text":"TemporaryFile(/tmp/multipartBody8830385362546670080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_31_02_519902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcf1eb86ce1b4048b64411fc9567743e.jpg","text":"TemporaryFile(/tmp/multipartBody6158073901868638914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_31_02_519902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8c8894ef8d8a151306ba3c9ca4d06159.jpg","text":"TemporaryFile(/tmp/multipartBody9176855057067441064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_30_02_357091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec4f72e446de45233feba2888e5c7014.jpg","text":"TemporaryFile(/tmp/multipartBody5417686331651470414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_31_02_519902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aece0efbc03b94f2a50235813aaab40a.jpg","text":"TemporaryFile(/tmp/multipartBody33199754293825523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_31_02_519902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5c8f3947c173fba6a07a199babbc31d.jpg","text":"TemporaryFile(/tmp/multipartBody225219352439418225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173157888,"filename":"image_06012025_13_32_02_759011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326986984","file1":"1326986980","file0":"1326986976","file4":"1326986991","file5":"1326986995","file3":"1326986987"},"map_files_photo_id_array":[{"photo_id":"1326986995","filename":"file5"},{"photo_id":"1326986984","filename":"file2"},{"photo_id":"1326986991","filename":"file4"},{"photo_id":"1326986980","filename":"file1"},{"photo_id":"1326986976","filename":"file0"},{"photo_id":"1326986987","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326986980":["hashtag1","hashtag2"]},{"1326986991":["hashtag1","hashtag2"]},{"1326986976":["hashtag1","hashtag2"]},{"1326986984":["hashtag1","hashtag2"]},{"1326986987":["hashtag1","hashtag2"]},{"1326986995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326986980, 1326986991, 1326986976, 1326986984, 1326986987, 1326986995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.518471479415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:19:03.161646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0001.jpg', '/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0002.jpg', '/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0003.jpg', '/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0000.jpg', '/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0001.jpg', '/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0001.jpg
/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0002.jpg
/home/pi/Desktop/images/06012025/13/32/image_06012025_13_32_02_759011_0003.jpg
/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0000.jpg
/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0001.jpg
/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_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":["1326987136","1326987001","1326987131","1326987076","1326987139","1326987133"],"photo_ids_order":["1326987001","1326987076","1326987131","1326987133","1326987136","1326987139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d8df660014c52ae667d7f10a6fa6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8125869512812275458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_33_02_949003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1994f27819cf9025bd3d19dad2837a93.jpg","text":"TemporaryFile(/tmp/multipartBody8843305529055269503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_32_02_759011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9b558de051e52cd8c2ec13603a27f37.jpg","text":"TemporaryFile(/tmp/multipartBody9106073005502942976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_32_02_759011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8a959061e70e3249fdf3de0933201b2.jpg","text":"TemporaryFile(/tmp/multipartBody2325031769051105619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_32_02_759011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/694a7e3feff3448ab06dfcf7e69b4a49.jpg","text":"TemporaryFile(/tmp/multipartBody2191607286642916893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_33_02_949003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de6c39a6dc2acc056a3e014a4735cab3.jpg","text":"TemporaryFile(/tmp/multipartBody6147278217981978617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173218236,"filename":"image_06012025_13_33_02_949003_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987131","file1":"1326987076","file0":"1326987001","file4":"1326987136","file5":"1326987139","file3":"1326987133"},"map_files_photo_id_array":[{"photo_id":"1326987139","filename":"file5"},{"photo_id":"1326987131","filename":"file2"},{"photo_id":"1326987136","filename":"file4"},{"photo_id":"1326987076","filename":"file1"},{"photo_id":"1326987001","filename":"file0"},{"photo_id":"1326987133","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987136":["hashtag1","hashtag2"]},{"1326987001":["hashtag1","hashtag2"]},{"1326987131":["hashtag1","hashtag2"]},{"1326987076":["hashtag1","hashtag2"]},{"1326987139":["hashtag1","hashtag2"]},{"1326987133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987136, 1326987001, 1326987131, 1326987076, 1326987139, 1326987133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4656708240509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:20:02.158840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0003.jpg', '/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0000.jpg', '/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0001.jpg', '/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0002.jpg', '/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0003.jpg', '/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/33/image_06012025_13_33_02_949003_0003.jpg
/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0000.jpg
/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0001.jpg
/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0002.jpg
/home/pi/Desktop/images/06012025/13/34/image_06012025_13_34_02_142899_0003.jpg
/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_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":["1326987159","1326987147","1326987185","1326987151","1326987145","1326987154"],"photo_ids_order":["1326987145","1326987147","1326987151","1326987154","1326987159","1326987185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/127ebf64040ac9f068ea5222023e219d.jpg","text":"TemporaryFile(/tmp/multipartBody447076819610156565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_34_02_142899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f21a38fc96a4994f910ba1afe5cb3def.jpg","text":"TemporaryFile(/tmp/multipartBody5848503361921918716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_34_02_142899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30487b16206263030036dc098a53502d.jpg","text":"TemporaryFile(/tmp/multipartBody1668696422711569783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_35_02_434564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f39b5c848f3b683105b0fa5bb323e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody5995841908237836200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_34_02_142899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1fe1db26629f099384b24ec476faab6.jpg","text":"TemporaryFile(/tmp/multipartBody2254774254217722130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_33_02_949003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb481e52de66d2b67c82ccd1e8709252.jpg","text":"TemporaryFile(/tmp/multipartBody2576240222922929715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173277181,"filename":"image_06012025_13_34_02_142899_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987151","file1":"1326987147","file0":"1326987145","file4":"1326987159","file5":"1326987185","file3":"1326987154"},"map_files_photo_id_array":[{"photo_id":"1326987185","filename":"file5"},{"photo_id":"1326987151","filename":"file2"},{"photo_id":"1326987159","filename":"file4"},{"photo_id":"1326987147","filename":"file1"},{"photo_id":"1326987145","filename":"file0"},{"photo_id":"1326987154","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987159":["hashtag1","hashtag2"]},{"1326987147":["hashtag1","hashtag2"]},{"1326987185":["hashtag1","hashtag2"]},{"1326987151":["hashtag1","hashtag2"]},{"1326987145":["hashtag1","hashtag2"]},{"1326987154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987159, 1326987147, 1326987185, 1326987151, 1326987145, 1326987154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73487305641174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:21:02.499001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0001.jpg', '/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0002.jpg', '/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0003.jpg', '/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0000.jpg', '/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0001.jpg', '/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0001.jpg
/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0002.jpg
/home/pi/Desktop/images/06012025/13/35/image_06012025_13_35_02_434564_0003.jpg
/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0000.jpg
/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0001.jpg
/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_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":["1326987210","1326987213","1326987207","1326987203","1326987196","1326987199"],"photo_ids_order":["1326987196","1326987199","1326987203","1326987207","1326987210","1326987213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eea0761931a0247fcafb72f1068713f5.jpg","text":"TemporaryFile(/tmp/multipartBody2020974934928906072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_36_02_564376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d23307f24c9d0b4e56650168dd54cd69.jpg","text":"TemporaryFile(/tmp/multipartBody6975160405444105376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_36_02_564376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab89e4badab9e9dae80a35bf5d69ff0d.jpg","text":"TemporaryFile(/tmp/multipartBody1577195512828419642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_36_02_564376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a125da28a686477465dfe4ae123dd1c.jpg","text":"TemporaryFile(/tmp/multipartBody7893807560131382856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_35_02_434564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7162f87f6feabc774954482f1b7523fa.jpg","text":"TemporaryFile(/tmp/multipartBody3351730512113524952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_35_02_434564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8eb4571ebd829cda106b672aa15b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody922965434979180077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173337551,"filename":"image_06012025_13_35_02_434564_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987203","file1":"1326987199","file0":"1326987196","file4":"1326987210","file5":"1326987213","file3":"1326987207"},"map_files_photo_id_array":[{"photo_id":"1326987213","filename":"file5"},{"photo_id":"1326987203","filename":"file2"},{"photo_id":"1326987210","filename":"file4"},{"photo_id":"1326987199","filename":"file1"},{"photo_id":"1326987196","filename":"file0"},{"photo_id":"1326987207","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987210":["hashtag1","hashtag2"]},{"1326987213":["hashtag1","hashtag2"]},{"1326987207":["hashtag1","hashtag2"]},{"1326987203":["hashtag1","hashtag2"]},{"1326987196":["hashtag1","hashtag2"]},{"1326987199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987210, 1326987213, 1326987207, 1326987203, 1326987196, 1326987199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.22944450378418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:22:02.469015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0003.jpg', '/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0000.jpg', '/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0001.jpg', '/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0002.jpg', '/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0003.jpg', '/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/36/image_06012025_13_36_02_564376_0003.jpg
/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0000.jpg
/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0001.jpg
/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0002.jpg
/home/pi/Desktop/images/06012025/13/37/image_06012025_13_37_02_789230_0003.jpg
/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_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":["1326987270","1326987282","1326987300","1326987275","1326987295","1326987256"],"photo_ids_order":["1326987256","1326987270","1326987275","1326987282","1326987295","1326987300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4ce5359fd189e07e9c74e3d96cec780.jpg","text":"TemporaryFile(/tmp/multipartBody5879539604819568428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_37_02_789230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5538e669027dab86572f52950de981b7.jpg","text":"TemporaryFile(/tmp/multipartBody3458519242987825188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_37_02_789230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4e767f20f0cd4ee1f3a558262f35375.jpg","text":"TemporaryFile(/tmp/multipartBody3395949989387782153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_38_03_100664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f90361672fc0b1a0f6d472ae47f86211.jpg","text":"TemporaryFile(/tmp/multipartBody5452787149876082794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_37_02_789230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7748e2981f9578ef9a60ac6ce4d0b582.jpg","text":"TemporaryFile(/tmp/multipartBody5604393894592500695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_37_02_789230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f13d3d7de9c0a91482efcb100368fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8112730494757958375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173397684,"filename":"image_06012025_13_36_02_564376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987275","file1":"1326987270","file0":"1326987256","file4":"1326987295","file5":"1326987300","file3":"1326987282"},"map_files_photo_id_array":[{"photo_id":"1326987300","filename":"file5"},{"photo_id":"1326987275","filename":"file2"},{"photo_id":"1326987295","filename":"file4"},{"photo_id":"1326987270","filename":"file1"},{"photo_id":"1326987256","filename":"file0"},{"photo_id":"1326987282","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987270":["hashtag1","hashtag2"]},{"1326987282":["hashtag1","hashtag2"]},{"1326987300":["hashtag1","hashtag2"]},{"1326987275":["hashtag1","hashtag2"]},{"1326987295":["hashtag1","hashtag2"]},{"1326987256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987270, 1326987282, 1326987300, 1326987275, 1326987295, 1326987256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.130802631378174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:23:02.885461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0001.jpg', '/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0002.jpg', '/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0003.jpg', '/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0000.jpg', '/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0001.jpg', '/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0001.jpg
/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0002.jpg
/home/pi/Desktop/images/06012025/13/38/image_06012025_13_38_03_100664_0003.jpg
/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0000.jpg
/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0001.jpg
/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_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":["1326987390","1326987395","1326987398","1326987329","1326987424","1326987325"],"photo_ids_order":["1326987325","1326987329","1326987390","1326987395","1326987398","1326987424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8203f544edece1eb1bc9b2c5cd47317.jpg","text":"TemporaryFile(/tmp/multipartBody7068300853018052349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_38_03_100664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6911bb95f5bb2bb565e8727db16b31f3.jpg","text":"TemporaryFile(/tmp/multipartBody3299550347851052707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_39_02_236398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c7748f93f30d465227a4436d9f5f62b.jpg","text":"TemporaryFile(/tmp/multipartBody7113077808225219349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_39_02_236398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49166539a4e4c7e4a0040bb9ac4244d6.jpg","text":"TemporaryFile(/tmp/multipartBody4339921598121201844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_38_03_100664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7f6c9c6796abf013ea4d11d08b204c3.jpg","text":"TemporaryFile(/tmp/multipartBody8817199810083873040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_39_02_236398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e0cd757242f8d0ae627a465419da6fa.jpg","text":"TemporaryFile(/tmp/multipartBody9056063926280755362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173457966,"filename":"image_06012025_13_38_03_100664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987390","file1":"1326987329","file0":"1326987325","file4":"1326987398","file5":"1326987424","file3":"1326987395"},"map_files_photo_id_array":[{"photo_id":"1326987424","filename":"file5"},{"photo_id":"1326987390","filename":"file2"},{"photo_id":"1326987398","filename":"file4"},{"photo_id":"1326987329","filename":"file1"},{"photo_id":"1326987325","filename":"file0"},{"photo_id":"1326987395","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987390":["hashtag1","hashtag2"]},{"1326987395":["hashtag1","hashtag2"]},{"1326987398":["hashtag1","hashtag2"]},{"1326987329":["hashtag1","hashtag2"]},{"1326987424":["hashtag1","hashtag2"]},{"1326987325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987390, 1326987395, 1326987398, 1326987329, 1326987424, 1326987325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.570159673690796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:24:02.804221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0003.jpg', '/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0000.jpg', '/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0001.jpg', '/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0002.jpg', '/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0003.jpg', '/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/39/image_06012025_13_39_02_236398_0003.jpg
/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0000.jpg
/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0001.jpg
/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0002.jpg
/home/pi/Desktop/images/06012025/13/40/image_06012025_13_40_02_448261_0003.jpg
/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_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":["1326987447","1326987438","1326987440","1326987442","1326987436","1326987445"],"photo_ids_order":["1326987436","1326987438","1326987440","1326987442","1326987445","1326987447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e37f2ca9330f9f59b343ebecdfc18878.jpg","text":"TemporaryFile(/tmp/multipartBody7966995578461363592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_41_02_651161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5866704379b648c8f55fd5b7b89d2e0.jpg","text":"TemporaryFile(/tmp/multipartBody4014648205389140850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_40_02_448261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/511da023ab59b796b43d87b56ae09074.jpg","text":"TemporaryFile(/tmp/multipartBody3829084999886438821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_40_02_448261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a53864fafad52b890d605af8899d8420.jpg","text":"TemporaryFile(/tmp/multipartBody8178944414331475538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_40_02_448261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a481f2e7fddb5429b56e49ad75ca62f.jpg","text":"TemporaryFile(/tmp/multipartBody1780508771283253301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_39_02_236398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90bcef2096e29faf89d252173ad3aecb.jpg","text":"TemporaryFile(/tmp/multipartBody6022517160249932998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173517873,"filename":"image_06012025_13_40_02_448261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987440","file1":"1326987438","file0":"1326987436","file4":"1326987445","file5":"1326987447","file3":"1326987442"},"map_files_photo_id_array":[{"photo_id":"1326987447","filename":"file5"},{"photo_id":"1326987440","filename":"file2"},{"photo_id":"1326987445","filename":"file4"},{"photo_id":"1326987438","filename":"file1"},{"photo_id":"1326987436","filename":"file0"},{"photo_id":"1326987442","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987447":["hashtag1","hashtag2"]},{"1326987438":["hashtag1","hashtag2"]},{"1326987440":["hashtag1","hashtag2"]},{"1326987442":["hashtag1","hashtag2"]},{"1326987436":["hashtag1","hashtag2"]},{"1326987445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987447, 1326987438, 1326987440, 1326987442, 1326987436, 1326987445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.627676486968994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:25:03.280111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0001.jpg', '/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0002.jpg', '/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0003.jpg', '/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0000.jpg', '/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0001.jpg', '/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0001.jpg
/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0002.jpg
/home/pi/Desktop/images/06012025/13/41/image_06012025_13_41_02_651161_0003.jpg
/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0000.jpg
/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0001.jpg
/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_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":["1326987483","1326987486","1326987453","1326987455","1326987481","1326987457"],"photo_ids_order":["1326987453","1326987455","1326987457","1326987481","1326987483","1326987486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fdf90f073c3abeafa4f0077be456e0c6.jpg","text":"TemporaryFile(/tmp/multipartBody8732045086935792117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_42_02_830715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c84cadb7a00d4ffff24a683eeac52d4.jpg","text":"TemporaryFile(/tmp/multipartBody7890556148784440083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_42_02_830715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4cc5c96cf14cd3ee89ab18c33d300019.jpg","text":"TemporaryFile(/tmp/multipartBody7587461161702537416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_41_02_651161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/271117398a925ba424f581eb8532fae8.jpg","text":"TemporaryFile(/tmp/multipartBody6980080900723763599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_41_02_651161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/711c654d75511d0225839d51e51e3a75.jpg","text":"TemporaryFile(/tmp/multipartBody5848301362541013505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_42_02_830715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e966e6afe649c0bac590367e6da86f4.jpg","text":"TemporaryFile(/tmp/multipartBody9095147152515974534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173578486,"filename":"image_06012025_13_41_02_651161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987457","file1":"1326987455","file0":"1326987453","file4":"1326987483","file5":"1326987486","file3":"1326987481"},"map_files_photo_id_array":[{"photo_id":"1326987486","filename":"file5"},{"photo_id":"1326987457","filename":"file2"},{"photo_id":"1326987483","filename":"file4"},{"photo_id":"1326987455","filename":"file1"},{"photo_id":"1326987453","filename":"file0"},{"photo_id":"1326987481","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987483":["hashtag1","hashtag2"]},{"1326987486":["hashtag1","hashtag2"]},{"1326987453":["hashtag1","hashtag2"]},{"1326987455":["hashtag1","hashtag2"]},{"1326987481":["hashtag1","hashtag2"]},{"1326987457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987483, 1326987486, 1326987453, 1326987455, 1326987481, 1326987457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.263988971710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 15:26:02.276887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0003.jpg', '/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0000.jpg', '/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0001.jpg', '/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0002.jpg', '/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0003.jpg', '/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/42/image_06012025_13_42_02_830715_0003.jpg
/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0000.jpg
/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0001.jpg
/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0002.jpg
/home/pi/Desktop/images/06012025/13/43/image_06012025_13_43_03_015314_0003.jpg
/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_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":["1326987531","1326987575","1326987536","1326987533","1326987527","1326987529"],"photo_ids_order":["1326987527","1326987529","1326987531","1326987533","1326987536","1326987575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d2cf59094258c961e3b04f69b1fe86f.jpg","text":"TemporaryFile(/tmp/multipartBody3290413396142510111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_43_03_015314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6787c1dc2c601aa3d6aac7c21b3501c9.jpg","text":"TemporaryFile(/tmp/multipartBody2905041832472963738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_44_02_245465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fb5c8466b8c5aece814559f3b15a19d.jpg","text":"TemporaryFile(/tmp/multipartBody3375396698482243335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_43_03_015314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0009d83e449bfa5de259d3e19efe73d8.jpg","text":"TemporaryFile(/tmp/multipartBody7821774887351980520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_43_03_015314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/546d64f0da07808c14316b496a459766.jpg","text":"TemporaryFile(/tmp/multipartBody6925329582135789244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_42_02_830715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9254794a29358d4e75c7cc890d806e1.jpg","text":"TemporaryFile(/tmp/multipartBody4723955032025192375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173637448,"filename":"image_06012025_13_43_03_015314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987531","file1":"1326987529","file0":"1326987527","file4":"1326987536","file5":"1326987575","file3":"1326987533"},"map_files_photo_id_array":[{"photo_id":"1326987575","filename":"file5"},{"photo_id":"1326987531","filename":"file2"},{"photo_id":"1326987536","filename":"file4"},{"photo_id":"1326987529","filename":"file1"},{"photo_id":"1326987527","filename":"file0"},{"photo_id":"1326987533","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987531":["hashtag1","hashtag2"]},{"1326987575":["hashtag1","hashtag2"]},{"1326987536":["hashtag1","hashtag2"]},{"1326987533":["hashtag1","hashtag2"]},{"1326987527":["hashtag1","hashtag2"]},{"1326987529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987531, 1326987575, 1326987536, 1326987533, 1326987527, 1326987529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.25609230995178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:27:22.032142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0001.jpg', '/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0002.jpg', '/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0003.jpg', '/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0000.jpg', '/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0001.jpg', '/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0001.jpg
/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0002.jpg
/home/pi/Desktop/images/06012025/13/44/image_06012025_13_44_02_245465_0003.jpg
/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0000.jpg
/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0001.jpg
/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_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":["1326987610","1326987612","1326987618","1326987614","1326987608","1326987616"],"photo_ids_order":["1326987608","1326987610","1326987612","1326987614","1326987616","1326987618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f7d74cec27fa514d5eb1ac3886860e8.jpg","text":"TemporaryFile(/tmp/multipartBody5758434493890332750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_44_02_245465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/149262198412877665277d4b41695970.jpg","text":"TemporaryFile(/tmp/multipartBody648926752258835727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_44_02_245465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9b0aa338094c19a0ca88ebe0c1b2488.jpg","text":"TemporaryFile(/tmp/multipartBody4204933119533906141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_45_02_493433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70f720db82f93aec076e7461bff98ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4938878121646955343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_45_02_493433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f58b0d5c4c08ce43d4120fdce716bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1622606871556432361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_44_02_245465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25d2a50be9ff511387c15606f31a2b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3525163690505394704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173717190,"filename":"image_06012025_13_45_02_493433_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987612","file1":"1326987610","file0":"1326987608","file4":"1326987616","file5":"1326987618","file3":"1326987614"},"map_files_photo_id_array":[{"photo_id":"1326987618","filename":"file5"},{"photo_id":"1326987612","filename":"file2"},{"photo_id":"1326987616","filename":"file4"},{"photo_id":"1326987610","filename":"file1"},{"photo_id":"1326987608","filename":"file0"},{"photo_id":"1326987614","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987610":["hashtag1","hashtag2"]},{"1326987612":["hashtag1","hashtag2"]},{"1326987618":["hashtag1","hashtag2"]},{"1326987614":["hashtag1","hashtag2"]},{"1326987608":["hashtag1","hashtag2"]},{"1326987616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987610, 1326987612, 1326987618, 1326987614, 1326987608, 1326987616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.85515880584717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:28:22.300642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0003.jpg', '/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0000.jpg', '/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0001.jpg', '/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0002.jpg', '/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0003.jpg', '/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/45/image_06012025_13_45_02_493433_0003.jpg
/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0000.jpg
/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0001.jpg
/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0002.jpg
/home/pi/Desktop/images/06012025/13/46/image_06012025_13_46_02_645628_0003.jpg
/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_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":["1326987681","1326987678","1326987692","1326987697","1326987694","1326987676"],"photo_ids_order":["1326987676","1326987678","1326987681","1326987692","1326987694","1326987697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68c8b4191501cf249449517ae76a1564.jpg","text":"TemporaryFile(/tmp/multipartBody7564102461628068525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_46_02_645628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10063a2c9ce9f0ec85b41ad182a82305.jpg","text":"TemporaryFile(/tmp/multipartBody8175118279703209225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_46_02_645628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2e0311ad4e4c7b646c5b83712e71463.jpg","text":"TemporaryFile(/tmp/multipartBody6637096491811120578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_46_02_645628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55a7314ac077d5047a9e13321b246ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6765037017694824860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_47_02_791604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5f330bcbb641a7b99723ca8678430df.jpg","text":"TemporaryFile(/tmp/multipartBody3653923962503222389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_46_02_645628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92272246bacb71a7f1f5f852b8648e31.jpg","text":"TemporaryFile(/tmp/multipartBody5941055620205359933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173777408,"filename":"image_06012025_13_45_02_493433_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987681","file1":"1326987678","file0":"1326987676","file4":"1326987694","file5":"1326987697","file3":"1326987692"},"map_files_photo_id_array":[{"photo_id":"1326987697","filename":"file5"},{"photo_id":"1326987681","filename":"file2"},{"photo_id":"1326987694","filename":"file4"},{"photo_id":"1326987678","filename":"file1"},{"photo_id":"1326987676","filename":"file0"},{"photo_id":"1326987692","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987681":["hashtag1","hashtag2"]},{"1326987678":["hashtag1","hashtag2"]},{"1326987692":["hashtag1","hashtag2"]},{"1326987697":["hashtag1","hashtag2"]},{"1326987694":["hashtag1","hashtag2"]},{"1326987676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987681, 1326987678, 1326987692, 1326987697, 1326987694, 1326987676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03404712677002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:29:22.432877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0001.jpg', '/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0002.jpg', '/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0003.jpg', '/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_0000.jpg', '/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_0001.jpg', '/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0001.jpg
/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0002.jpg
/home/pi/Desktop/images/06012025/13/47/image_06012025_13_47_02_791604_0003.jpg
/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_0000.jpg
/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_0001.jpg
/home/pi/Desktop/images/06012025/13/48/image_06012025_13_48_02_968678_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":["1326987777","1326987750","1326987747","1326987767","1326987755","1326987709"],"photo_ids_order":["1326987709","1326987747","1326987750","1326987755","1326987767","1326987777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ed6543a1bc6eedb55f3a2f6425ad26f.jpg","text":"TemporaryFile(/tmp/multipartBody4050638483829614387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_48_02_968678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9f56df227e1ccd654d7556150e120e1.jpg","text":"TemporaryFile(/tmp/multipartBody1438365325739727985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_47_02_791604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41d8ef566d63750398c87f094445fc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6757566367964185318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_47_02_791604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d8c2a29cb480d5e7b259a818f443bdf.jpg","text":"TemporaryFile(/tmp/multipartBody4987504999578630460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_48_02_968678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/725795239defa383bd0543e7e40b4aed.jpg","text":"TemporaryFile(/tmp/multipartBody7437348045631407301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_48_02_968678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bcfc9a16cdb9ed4782171684215966d.jpg","text":"TemporaryFile(/tmp/multipartBody219837458573820031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173837564,"filename":"image_06012025_13_47_02_791604_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987750","file1":"1326987747","file0":"1326987709","file4":"1326987767","file5":"1326987777","file3":"1326987755"},"map_files_photo_id_array":[{"photo_id":"1326987777","filename":"file5"},{"photo_id":"1326987750","filename":"file2"},{"photo_id":"1326987767","filename":"file4"},{"photo_id":"1326987747","filename":"file1"},{"photo_id":"1326987709","filename":"file0"},{"photo_id":"1326987755","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987777":["hashtag1","hashtag2"]},{"1326987750":["hashtag1","hashtag2"]},{"1326987747":["hashtag1","hashtag2"]},{"1326987767":["hashtag1","hashtag2"]},{"1326987755":["hashtag1","hashtag2"]},{"1326987709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987777, 1326987750, 1326987747, 1326987767, 1326987755, 1326987709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.830509662628174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:30:22.653700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0001.jpg', '/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0002.jpg', '/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0003.jpg', '/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_0001.jpg', '/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_0002.jpg', '/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0001.jpg
/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0002.jpg
/home/pi/Desktop/images/06012025/13/49/image_06012025_13_49_02_171054_0003.jpg
/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_0001.jpg
/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_0002.jpg
/home/pi/Desktop/images/06012025/13/50/image_06012025_13_50_02_410064_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":["1326987795","1326987801","1326987803","1326987793","1326987806","1326987799"],"photo_ids_order":["1326987793","1326987795","1326987799","1326987801","1326987803","1326987806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a64ddc99677963f979dd8e9e0ed776d1.jpg","text":"TemporaryFile(/tmp/multipartBody3336642129461919734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_49_02_171054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11b61bc59d9bc8272f64a60565ea9cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5304014589056814632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_50_02_410064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f839bc0a73fd45d762330238d41a5ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2486551427183463824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_50_02_410064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67e4f33d34fbe8199227a68c2f2a8ea2.jpg","text":"TemporaryFile(/tmp/multipartBody5052496674526827706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_49_02_171054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d5f886e5ad17b8d631bb8f6f8fb5630.jpg","text":"TemporaryFile(/tmp/multipartBody4758732002672710770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_50_02_410064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b36d10f0cef5e5d9fac465e5a3c26e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6751303942940623434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173897797,"filename":"image_06012025_13_49_02_171054_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987799","file1":"1326987795","file0":"1326987793","file4":"1326987803","file5":"1326987806","file3":"1326987801"},"map_files_photo_id_array":[{"photo_id":"1326987806","filename":"file5"},{"photo_id":"1326987799","filename":"file2"},{"photo_id":"1326987803","filename":"file4"},{"photo_id":"1326987795","filename":"file1"},{"photo_id":"1326987793","filename":"file0"},{"photo_id":"1326987801","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987795":["hashtag1","hashtag2"]},{"1326987801":["hashtag1","hashtag2"]},{"1326987803":["hashtag1","hashtag2"]},{"1326987793":["hashtag1","hashtag2"]},{"1326987806":["hashtag1","hashtag2"]},{"1326987799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987795, 1326987801, 1326987803, 1326987793, 1326987806, 1326987799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46326470375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:31:21.900595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0000.jpg', '/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0002.jpg', '/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0003.jpg', '/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0000.jpg', '/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0001.jpg', '/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0000.jpg
/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0002.jpg
/home/pi/Desktop/images/06012025/13/51/image_06012025_13_51_02_524164_0003.jpg
/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0000.jpg
/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0001.jpg
/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_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":["1326987990","1326987987","1326987989","1326987944","1326987985","1326988000"],"photo_ids_order":["1326987944","1326987985","1326987987","1326987989","1326987990","1326988000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/943952478c1f0c90b08afb05c5e334ee.jpg","text":"TemporaryFile(/tmp/multipartBody2676189296711746974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_52_02_784616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4365a4a58360aee51a05a80331698367.jpg","text":"TemporaryFile(/tmp/multipartBody8996427876957014835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_51_02_524164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f3c554cc8e3db08369255eade3145dd.jpg","text":"TemporaryFile(/tmp/multipartBody3982703924623500491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_52_02_784616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20e1173ee9c1af91bc595d92540f0e27.jpg","text":"TemporaryFile(/tmp/multipartBody96181867385405143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_51_02_524164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b570d933708654be70d13ce109be0e3.jpg","text":"TemporaryFile(/tmp/multipartBody6283679669997491267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_51_02_524164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/240e5bdfe9c55b70a6fc597825757b44.jpg","text":"TemporaryFile(/tmp/multipartBody8646909718046772136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736173956899,"filename":"image_06012025_13_52_02_784616_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326987987","file1":"1326987985","file0":"1326987944","file4":"1326987990","file5":"1326988000","file3":"1326987989"},"map_files_photo_id_array":[{"photo_id":"1326988000","filename":"file5"},{"photo_id":"1326987987","filename":"file2"},{"photo_id":"1326987990","filename":"file4"},{"photo_id":"1326987985","filename":"file1"},{"photo_id":"1326987944","filename":"file0"},{"photo_id":"1326987989","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326987990":["hashtag1","hashtag2"]},{"1326987987":["hashtag1","hashtag2"]},{"1326987989":["hashtag1","hashtag2"]},{"1326987944":["hashtag1","hashtag2"]},{"1326987985":["hashtag1","hashtag2"]},{"1326988000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326987990, 1326987987, 1326987989, 1326987944, 1326987985, 1326988000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.751142263412476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:32:22.133232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0003.jpg', '/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0000.jpg', '/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0001.jpg', '/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0002.jpg', '/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0003.jpg', '/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/52/image_06012025_13_52_02_784616_0003.jpg
/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0000.jpg
/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0001.jpg
/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0002.jpg
/home/pi/Desktop/images/06012025/13/53/image_06012025_13_53_02_926289_0003.jpg
/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_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":["1326988074","1326988068","1326988070","1326988072","1326988066","1326988071"],"photo_ids_order":["1326988066","1326988068","1326988070","1326988071","1326988072","1326988074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81e8741a5746c2794a4ddd31d3c4d0e5.jpg","text":"TemporaryFile(/tmp/multipartBody7985854150105570723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_54_03_064034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ff2852d4af4c40410c2258c635ec214.jpg","text":"TemporaryFile(/tmp/multipartBody1381420476499850007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_53_02_926289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3c9afe1583e9bdfa4ffb6fa9438dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody9136473470105406724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_53_02_926289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8de359aa475bbc73f7c17213646846c2.jpg","text":"TemporaryFile(/tmp/multipartBody7366502954747433915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_53_02_926289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac9953e67994f8cf651e7009c3821f69.jpg","text":"TemporaryFile(/tmp/multipartBody7329455894459464839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_52_02_784616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d0e90123f38c1fec8fd37af7cae1369.jpg","text":"TemporaryFile(/tmp/multipartBody3508466949413741001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174017191,"filename":"image_06012025_13_53_02_926289_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988070","file1":"1326988068","file0":"1326988066","file4":"1326988072","file5":"1326988074","file3":"1326988071"},"map_files_photo_id_array":[{"photo_id":"1326988074","filename":"file5"},{"photo_id":"1326988070","filename":"file2"},{"photo_id":"1326988072","filename":"file4"},{"photo_id":"1326988068","filename":"file1"},{"photo_id":"1326988066","filename":"file0"},{"photo_id":"1326988071","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988074":["hashtag1","hashtag2"]},{"1326988068":["hashtag1","hashtag2"]},{"1326988070":["hashtag1","hashtag2"]},{"1326988072":["hashtag1","hashtag2"]},{"1326988066":["hashtag1","hashtag2"]},{"1326988071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988074, 1326988068, 1326988070, 1326988072, 1326988066, 1326988071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53735709190369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:33:22.329526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0001.jpg', '/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0002.jpg', '/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0003.jpg', '/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0000.jpg', '/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0001.jpg', '/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0001.jpg
/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0002.jpg
/home/pi/Desktop/images/06012025/13/54/image_06012025_13_54_03_064034_0003.jpg
/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0000.jpg
/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0001.jpg
/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_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":["1326988088","1326988091","1326988090","1326988106","1326988092","1326988086"],"photo_ids_order":["1326988086","1326988088","1326988090","1326988091","1326988092","1326988106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8fd3470a1e716e3280a6681db9fd7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4205395264325457594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_54_03_064034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ab60e00059faafa13a53aead013b40d.jpg","text":"TemporaryFile(/tmp/multipartBody591121426920571012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_55_02_270089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa62e7c799e6c1f053f358ab7031bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody7344335656003664554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_54_03_064034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a883d33b4745a8187e4b31b4a17ca0a.jpg","text":"TemporaryFile(/tmp/multipartBody6781619455552621004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_55_02_270089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5207333a06f9626f9e4b09ceb038142c.jpg","text":"TemporaryFile(/tmp/multipartBody57666968414289395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_55_02_270089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7cf40407952373027d521865449f9809.jpg","text":"TemporaryFile(/tmp/multipartBody5916128192151440833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174077588,"filename":"image_06012025_13_54_03_064034_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988090","file1":"1326988088","file0":"1326988086","file4":"1326988092","file5":"1326988106","file3":"1326988091"},"map_files_photo_id_array":[{"photo_id":"1326988106","filename":"file5"},{"photo_id":"1326988090","filename":"file2"},{"photo_id":"1326988092","filename":"file4"},{"photo_id":"1326988088","filename":"file1"},{"photo_id":"1326988086","filename":"file0"},{"photo_id":"1326988091","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988088":["hashtag1","hashtag2"]},{"1326988091":["hashtag1","hashtag2"]},{"1326988090":["hashtag1","hashtag2"]},{"1326988106":["hashtag1","hashtag2"]},{"1326988092":["hashtag1","hashtag2"]},{"1326988086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988088, 1326988091, 1326988090, 1326988106, 1326988092, 1326988086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.14799380302429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:34:22.423689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0003.jpg', '/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0000.jpg', '/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0001.jpg', '/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0002.jpg', '/home/pi/Desktop/images/06012025/13/57/image_06012025_13_57_02_628263_0000.jpg', '/home/pi/Desktop/images/06012025/13/57/image_06012025_13_57_02_628263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/55/image_06012025_13_55_02_270089_0003.jpg
/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0000.jpg
/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0001.jpg
/home/pi/Desktop/images/06012025/13/56/image_06012025_13_56_02_543415_0002.jpg
/home/pi/Desktop/images/06012025/13/57/image_06012025_13_57_02_628263_0000.jpg
/home/pi/Desktop/images/06012025/13/57/image_06012025_13_57_02_628263_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":["1326988176","1326988140","1326988134","1326988142","1326988177","1326988138"],"photo_ids_order":["1326988134","1326988138","1326988140","1326988142","1326988176","1326988177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e67b80f00fed391cb95c60f44fa3b4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2831093903479582351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_57_02_628263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3b829f2562e1e262e10a2e733713c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1832737296129103043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_56_02_543415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19a69db4e23952342726c5257dcddc3a.jpg","text":"TemporaryFile(/tmp/multipartBody5893628776068382820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_55_02_270089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/961a3b3d38f532af92514cfa5bc4db9d.jpg","text":"TemporaryFile(/tmp/multipartBody8690425325428134511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_56_02_543415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55c11d28d742ec963613ee98cad6c5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8205600797046993909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_57_02_628263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c9072b9813bc4a3a0066112d83e8ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7846834736685573078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174137586,"filename":"image_06012025_13_56_02_543415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988140","file1":"1326988138","file0":"1326988134","file4":"1326988176","file5":"1326988177","file3":"1326988142"},"map_files_photo_id_array":[{"photo_id":"1326988177","filename":"file5"},{"photo_id":"1326988140","filename":"file2"},{"photo_id":"1326988176","filename":"file4"},{"photo_id":"1326988138","filename":"file1"},{"photo_id":"1326988134","filename":"file0"},{"photo_id":"1326988142","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988176":["hashtag1","hashtag2"]},{"1326988140":["hashtag1","hashtag2"]},{"1326988134":["hashtag1","hashtag2"]},{"1326988142":["hashtag1","hashtag2"]},{"1326988177":["hashtag1","hashtag2"]},{"1326988138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988176, 1326988140, 1326988134, 1326988142, 1326988177, 1326988138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.284313678741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:35:22.548943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0000.jpg', '/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0001.jpg', '/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0002.jpg', '/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0003.jpg', '/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_0000.jpg', '/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0000.jpg
/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0001.jpg
/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0002.jpg
/home/pi/Desktop/images/06012025/13/58/image_06012025_13_58_02_902681_0003.jpg
/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_0000.jpg
/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_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":["1326988193","1326988199","1326988195","1326988189","1326988197","1326988191"],"photo_ids_order":["1326988189","1326988191","1326988193","1326988195","1326988197","1326988199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/640eca5ccf33f47f0b1b96f387bb1650.jpg","text":"TemporaryFile(/tmp/multipartBody5108362877771368081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_58_02_902681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d164d55b723928fe3d29826de30b840.jpg","text":"TemporaryFile(/tmp/multipartBody5104965475387240909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_59_03_047930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e51e7ba716c01c002bf1676a4fee4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8332006988725305121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_58_02_902681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f8092fe9f890d8f6ed639f061fabe8d.jpg","text":"TemporaryFile(/tmp/multipartBody6058882061395857875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_58_02_902681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/164a89894b07024dc0753851d2bf22c5.jpg","text":"TemporaryFile(/tmp/multipartBody875252226294254933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_59_03_047930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9532309a48162c18fc5a0ace752edd4f.jpg","text":"TemporaryFile(/tmp/multipartBody2913431571102418135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174197865,"filename":"image_06012025_13_58_02_902681_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988193","file1":"1326988191","file0":"1326988189","file4":"1326988197","file5":"1326988199","file3":"1326988195"},"map_files_photo_id_array":[{"photo_id":"1326988199","filename":"file5"},{"photo_id":"1326988193","filename":"file2"},{"photo_id":"1326988197","filename":"file4"},{"photo_id":"1326988191","filename":"file1"},{"photo_id":"1326988189","filename":"file0"},{"photo_id":"1326988195","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988193":["hashtag1","hashtag2"]},{"1326988199":["hashtag1","hashtag2"]},{"1326988195":["hashtag1","hashtag2"]},{"1326988189":["hashtag1","hashtag2"]},{"1326988197":["hashtag1","hashtag2"]},{"1326988191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988193, 1326988199, 1326988195, 1326988189, 1326988197, 1326988191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.818354845047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:36:32.692556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_0003.jpg', '/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0001.jpg', '/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0002.jpg', '/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0003.jpg', '/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0000.jpg', '/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/13/59/image_06012025_13_59_03_047930_0003.jpg
/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0001.jpg
/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0002.jpg
/home/pi/Desktop/images/06012025/14/00/image_06012025_14_00_02_254881_0003.jpg
/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0000.jpg
/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_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":["1326988365","1326988367","1326988311","1326988361","1326988358","1326988356"],"photo_ids_order":["1326988311","1326988356","1326988358","1326988361","1326988365","1326988367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/453b029fd5b71441356aaa1f4b814f7f.jpg","text":"TemporaryFile(/tmp/multipartBody6609146247096574656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_14_01_02_428862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95bb53f5e9ed314c6f5fd21cb06b4a01.jpg","text":"TemporaryFile(/tmp/multipartBody1251548346066546955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_14_01_02_428862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/687845e94c4ee563b8a41d84542acc94.jpg","text":"TemporaryFile(/tmp/multipartBody5467805099711477785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_13_59_03_047930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61064376403040e0bca288f13981abe8.jpg","text":"TemporaryFile(/tmp/multipartBody5851732731800704957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_14_00_02_254881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5d8e34b9a27bf631767b7ba1c1b7130.jpg","text":"TemporaryFile(/tmp/multipartBody114634937846239327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_14_00_02_254881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4eb89775cdc09b855a602f23b2455cea.jpg","text":"TemporaryFile(/tmp/multipartBody7035365856172668326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174267888,"filename":"image_06012025_14_00_02_254881_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988358","file1":"1326988356","file0":"1326988311","file4":"1326988365","file5":"1326988367","file3":"1326988361"},"map_files_photo_id_array":[{"photo_id":"1326988367","filename":"file5"},{"photo_id":"1326988358","filename":"file2"},{"photo_id":"1326988365","filename":"file4"},{"photo_id":"1326988356","filename":"file1"},{"photo_id":"1326988311","filename":"file0"},{"photo_id":"1326988361","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988365":["hashtag1","hashtag2"]},{"1326988367":["hashtag1","hashtag2"]},{"1326988311":["hashtag1","hashtag2"]},{"1326988361":["hashtag1","hashtag2"]},{"1326988358":["hashtag1","hashtag2"]},{"1326988356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988365, 1326988367, 1326988311, 1326988361, 1326988358, 1326988356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84252715110779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:37:31.837572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0002.jpg', '/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0003.jpg', '/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0000.jpg', '/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0001.jpg', '/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0002.jpg', '/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0002.jpg
/home/pi/Desktop/images/06012025/14/01/image_06012025_14_01_02_428862_0003.jpg
/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0000.jpg
/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0001.jpg
/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_0002.jpg
/home/pi/Desktop/images/06012025/14/02/image_06012025_14_02_02_596785_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":["1326988386","1326988407","1326988384","1326988387","1326988405","1326988395"],"photo_ids_order":["1326988384","1326988386","1326988387","1326988395","1326988405","1326988407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f271ca35b79287e91dab7629e3ceeb3a.jpg","text":"TemporaryFile(/tmp/multipartBody6271445415488577406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_01_02_428862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83e097fdfb8c69c01384dae90e69ca68.jpg","text":"TemporaryFile(/tmp/multipartBody6321353805751288604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_02_02_596785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fd368d610e29d73b3b9f0ac50ab77e6.jpg","text":"TemporaryFile(/tmp/multipartBody7616464098034419056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_01_02_428862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f604a781e7d12f4d8512208e7396af30.jpg","text":"TemporaryFile(/tmp/multipartBody7638391718528816256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_02_02_596785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96c9ea6f391337d2e59d8b91a957bc13.jpg","text":"TemporaryFile(/tmp/multipartBody5605388452028364867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_02_02_596785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/464e561845ebcbf545b2095554236499.jpg","text":"TemporaryFile(/tmp/multipartBody3703315571140527647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174327157,"filename":"image_06012025_14_02_02_596785_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988387","file1":"1326988386","file0":"1326988384","file4":"1326988405","file5":"1326988407","file3":"1326988395"},"map_files_photo_id_array":[{"photo_id":"1326988407","filename":"file5"},{"photo_id":"1326988387","filename":"file2"},{"photo_id":"1326988405","filename":"file4"},{"photo_id":"1326988386","filename":"file1"},{"photo_id":"1326988384","filename":"file0"},{"photo_id":"1326988395","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988386":["hashtag1","hashtag2"]},{"1326988407":["hashtag1","hashtag2"]},{"1326988384":["hashtag1","hashtag2"]},{"1326988387":["hashtag1","hashtag2"]},{"1326988405":["hashtag1","hashtag2"]},{"1326988395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988386, 1326988407, 1326988384, 1326988387, 1326988405, 1326988395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60777807235718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:38:32.068773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0000.jpg', '/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0001.jpg', '/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0002.jpg', '/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0003.jpg', '/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0000.jpg', '/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0000.jpg
/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0001.jpg
/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0002.jpg
/home/pi/Desktop/images/06012025/14/03/image_06012025_14_03_02_706455_0003.jpg
/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0000.jpg
/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_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":["1326988524","1326988568","1326988562","1326988495","1326988573","1326988501"],"photo_ids_order":["1326988495","1326988501","1326988524","1326988562","1326988568","1326988573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53b2b63823413e295c0824ac408fea9e.jpg","text":"TemporaryFile(/tmp/multipartBody6293346596789417676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_03_02_706455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea4ef2e5764ed6577b7729faee293a34.jpg","text":"TemporaryFile(/tmp/multipartBody5058281064754841756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_04_02_954761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4c0f53706c474d53160f857461a18ae.jpg","text":"TemporaryFile(/tmp/multipartBody7292097657352995693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_03_02_706455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1f18a23352397f1ef441ee9b4430c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2604774117921334969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_03_02_706455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a513a7249ef6803e0050812e978497a1.jpg","text":"TemporaryFile(/tmp/multipartBody8978465577731446305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_04_02_954761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01cd1adf7119fd69f5b6f0588d37f400.jpg","text":"TemporaryFile(/tmp/multipartBody2066050307275262941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174387671,"filename":"image_06012025_14_03_02_706455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988524","file1":"1326988501","file0":"1326988495","file4":"1326988568","file5":"1326988573","file3":"1326988562"},"map_files_photo_id_array":[{"photo_id":"1326988573","filename":"file5"},{"photo_id":"1326988524","filename":"file2"},{"photo_id":"1326988568","filename":"file4"},{"photo_id":"1326988501","filename":"file1"},{"photo_id":"1326988495","filename":"file0"},{"photo_id":"1326988562","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988524":["hashtag1","hashtag2"]},{"1326988568":["hashtag1","hashtag2"]},{"1326988562":["hashtag1","hashtag2"]},{"1326988495":["hashtag1","hashtag2"]},{"1326988573":["hashtag1","hashtag2"]},{"1326988501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988524, 1326988568, 1326988562, 1326988495, 1326988573, 1326988501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.033814907073975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:39:32.162909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0002.jpg', '/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0003.jpg', '/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0000.jpg', '/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0001.jpg', '/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0002.jpg', '/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0002.jpg
/home/pi/Desktop/images/06012025/14/04/image_06012025_14_04_02_954761_0003.jpg
/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0000.jpg
/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0001.jpg
/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_0002.jpg
/home/pi/Desktop/images/06012025/14/05/image_06012025_14_05_03_118793_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":["1326988626","1326988629","1326988628","1326988624","1326988621","1326988618"],"photo_ids_order":["1326988618","1326988621","1326988624","1326988626","1326988628","1326988629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d3484d2d6d9216b65ec51acac524e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2326924892908911791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_05_03_118793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd99f1feeab5a6e5a283a29cbce76850.jpg","text":"TemporaryFile(/tmp/multipartBody7527513041385244303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_05_03_118793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/13c1018333f2c12bba5e326f832aeb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4425449401680351559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_05_03_118793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88e20c9f087cfdab5233a8b39279795f.jpg","text":"TemporaryFile(/tmp/multipartBody2360672200155028845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_05_03_118793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/649d02db17faa7c739b0f1c2a9e0c905.jpg","text":"TemporaryFile(/tmp/multipartBody5812814936557538435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_04_02_954761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66edc21be0d55abed8177cb645397450.jpg","text":"TemporaryFile(/tmp/multipartBody5777082008188886176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174447813,"filename":"image_06012025_14_04_02_954761_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988624","file1":"1326988621","file0":"1326988618","file4":"1326988628","file5":"1326988629","file3":"1326988626"},"map_files_photo_id_array":[{"photo_id":"1326988629","filename":"file5"},{"photo_id":"1326988624","filename":"file2"},{"photo_id":"1326988628","filename":"file4"},{"photo_id":"1326988621","filename":"file1"},{"photo_id":"1326988618","filename":"file0"},{"photo_id":"1326988626","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988626":["hashtag1","hashtag2"]},{"1326988629":["hashtag1","hashtag2"]},{"1326988628":["hashtag1","hashtag2"]},{"1326988624":["hashtag1","hashtag2"]},{"1326988621":["hashtag1","hashtag2"]},{"1326988618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988626, 1326988629, 1326988628, 1326988624, 1326988621, 1326988618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11090803146362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:40:32.350913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0000.jpg', '/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0001.jpg', '/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0002.jpg', '/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0003.jpg', '/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0000.jpg', '/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0000.jpg
/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0001.jpg
/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0002.jpg
/home/pi/Desktop/images/06012025/14/06/image_06012025_14_06_02_275881_0003.jpg
/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0000.jpg
/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_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":["1326988655","1326988700","1326988703","1326988657","1326988705","1326988653"],"photo_ids_order":["1326988653","1326988655","1326988657","1326988700","1326988703","1326988705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e279fda2faa8ee5ebf902b392a04246e.jpg","text":"TemporaryFile(/tmp/multipartBody3203566262411113270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_06_02_275881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e42e83c6f9bfe83896d3adf4c4313e2.jpg","text":"TemporaryFile(/tmp/multipartBody7316063405812705726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_06_02_275881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1c8441d46ad2300369ee10dc2895d90.jpg","text":"TemporaryFile(/tmp/multipartBody6909029480178926187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_07_02_449244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba43eb8fa6e83b091df4ba4611408669.jpg","text":"TemporaryFile(/tmp/multipartBody5386308474553567183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_06_02_275881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/feb420d7a8489ff7a97de78b750cdeac.jpg","text":"TemporaryFile(/tmp/multipartBody7205477095747614436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_07_02_449244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ad4ceb7e048e3e5815aad837644b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody2062322259449993246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174507625,"filename":"image_06012025_14_06_02_275881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988657","file1":"1326988655","file0":"1326988653","file4":"1326988703","file5":"1326988705","file3":"1326988700"},"map_files_photo_id_array":[{"photo_id":"1326988705","filename":"file5"},{"photo_id":"1326988657","filename":"file2"},{"photo_id":"1326988703","filename":"file4"},{"photo_id":"1326988655","filename":"file1"},{"photo_id":"1326988653","filename":"file0"},{"photo_id":"1326988700","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988655":["hashtag1","hashtag2"]},{"1326988700":["hashtag1","hashtag2"]},{"1326988703":["hashtag1","hashtag2"]},{"1326988657":["hashtag1","hashtag2"]},{"1326988705":["hashtag1","hashtag2"]},{"1326988653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988655, 1326988700, 1326988703, 1326988657, 1326988705, 1326988653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.27080535888672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:41:32.504870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0002.jpg', '/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0003.jpg', '/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0000.jpg', '/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0001.jpg', '/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0002.jpg', '/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0002.jpg
/home/pi/Desktop/images/06012025/14/07/image_06012025_14_07_02_449244_0003.jpg
/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0000.jpg
/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0001.jpg
/home/pi/Desktop/images/06012025/14/08/image_06012025_14_08_02_678695_0002.jpg
/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_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":["1326988737","1326988746","1326988736","1326988744","1326988738","1326988735"],"photo_ids_order":["1326988735","1326988736","1326988737","1326988738","1326988744","1326988746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5bcd46c0d1b58cbdee17fc8dee2dab2.jpg","text":"TemporaryFile(/tmp/multipartBody563276737587743739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_08_02_678695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/339fc272e7611d790659c2bc569d2c48.jpg","text":"TemporaryFile(/tmp/multipartBody1019038537893665613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_09_02_842793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4880fd0651d7dbc1873b54cdf8d43d78.jpg","text":"TemporaryFile(/tmp/multipartBody3335477466158319090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_07_02_449244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/489840cdd94583ddf38c7aad18f8ca52.jpg","text":"TemporaryFile(/tmp/multipartBody2143177041274091345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_08_02_678695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/514c1f3b80497a68fab1835156909637.jpg","text":"TemporaryFile(/tmp/multipartBody6594291582327113509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_08_02_678695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e370a5c8d209d0beebbaf720c8c04ea.jpg","text":"TemporaryFile(/tmp/multipartBody2233261266129505913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174567534,"filename":"image_06012025_14_07_02_449244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988737","file1":"1326988736","file0":"1326988735","file4":"1326988744","file5":"1326988746","file3":"1326988738"},"map_files_photo_id_array":[{"photo_id":"1326988746","filename":"file5"},{"photo_id":"1326988737","filename":"file2"},{"photo_id":"1326988744","filename":"file4"},{"photo_id":"1326988736","filename":"file1"},{"photo_id":"1326988735","filename":"file0"},{"photo_id":"1326988738","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988737":["hashtag1","hashtag2"]},{"1326988746":["hashtag1","hashtag2"]},{"1326988736":["hashtag1","hashtag2"]},{"1326988744":["hashtag1","hashtag2"]},{"1326988738":["hashtag1","hashtag2"]},{"1326988735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988737, 1326988746, 1326988736, 1326988744, 1326988738, 1326988735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24480199813843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:42:32.682267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0001.jpg', '/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0002.jpg', '/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0003.jpg', '/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0000.jpg', '/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0001.jpg', '/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0001.jpg
/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0002.jpg
/home/pi/Desktop/images/06012025/14/09/image_06012025_14_09_02_842793_0003.jpg
/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0000.jpg
/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0001.jpg
/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_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":["1326988790","1326988792","1326988786","1326988789","1326988797","1326988794"],"photo_ids_order":["1326988786","1326988789","1326988790","1326988792","1326988794","1326988797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/385b0f1cbcd724f2d349b7de13c5b35b.jpg","text":"TemporaryFile(/tmp/multipartBody8041090481121411224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_09_02_842793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f626e0bf729531a7924e18afb1ea6f5f.jpg","text":"TemporaryFile(/tmp/multipartBody2578936590796769946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_10_02_964384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1cb8e50de734b6302357ded96c18581.jpg","text":"TemporaryFile(/tmp/multipartBody123285725096718548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_09_02_842793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8eab4a4d35dc45c865781ba3caec8115.jpg","text":"TemporaryFile(/tmp/multipartBody1873666966593908941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_09_02_842793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a451b341276638ee9906cb23325e8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6595349160746901541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_10_02_964384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/717202aca29e54a31bf8c3c1b685d705.jpg","text":"TemporaryFile(/tmp/multipartBody2177642945530241571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174627795,"filename":"image_06012025_14_10_02_964384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988790","file1":"1326988789","file0":"1326988786","file4":"1326988794","file5":"1326988797","file3":"1326988792"},"map_files_photo_id_array":[{"photo_id":"1326988797","filename":"file5"},{"photo_id":"1326988790","filename":"file2"},{"photo_id":"1326988794","filename":"file4"},{"photo_id":"1326988789","filename":"file1"},{"photo_id":"1326988786","filename":"file0"},{"photo_id":"1326988792","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988790":["hashtag1","hashtag2"]},{"1326988792":["hashtag1","hashtag2"]},{"1326988786":["hashtag1","hashtag2"]},{"1326988789":["hashtag1","hashtag2"]},{"1326988797":["hashtag1","hashtag2"]},{"1326988794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988790, 1326988792, 1326988786, 1326988789, 1326988797, 1326988794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95217037200928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:43:31.834153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0003.jpg', '/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0000.jpg', '/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0001.jpg', '/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0002.jpg', '/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0003.jpg', '/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/10/image_06012025_14_10_02_964384_0003.jpg
/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0000.jpg
/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0001.jpg
/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0002.jpg
/home/pi/Desktop/images/06012025/14/11/image_06012025_14_11_02_126401_0003.jpg
/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_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":["1326988991","1326988994","1326988988","1326988997","1326989034","1326988992"],"photo_ids_order":["1326988988","1326988991","1326988992","1326988994","1326988997","1326989034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/865e5deab00ead919bb43b4bae5de99e.jpg","text":"TemporaryFile(/tmp/multipartBody8374189036999371250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_11_02_126401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4160a922b4bc1d4ca99f7a3437855650.jpg","text":"TemporaryFile(/tmp/multipartBody1953280962991495652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_11_02_126401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10f98bd60b3bc81098c46441811b9315.jpg","text":"TemporaryFile(/tmp/multipartBody4533456397123570455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_10_02_964384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8049f855086ef834007909156b1ff5ca.jpg","text":"TemporaryFile(/tmp/multipartBody5515504598767122519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_11_02_126401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b9b25c4d87bc9904b3df9b153d796d3.jpg","text":"TemporaryFile(/tmp/multipartBody7048417930642576650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_12_02_395393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/072503b60752f36f1efd84f06f5bf662.jpg","text":"TemporaryFile(/tmp/multipartBody7706514630456476731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174686961,"filename":"image_06012025_14_11_02_126401_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326988992","file1":"1326988991","file0":"1326988988","file4":"1326988997","file5":"1326989034","file3":"1326988994"},"map_files_photo_id_array":[{"photo_id":"1326989034","filename":"file5"},{"photo_id":"1326988992","filename":"file2"},{"photo_id":"1326988997","filename":"file4"},{"photo_id":"1326988991","filename":"file1"},{"photo_id":"1326988988","filename":"file0"},{"photo_id":"1326988994","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326988991":["hashtag1","hashtag2"]},{"1326988994":["hashtag1","hashtag2"]},{"1326988988":["hashtag1","hashtag2"]},{"1326988997":["hashtag1","hashtag2"]},{"1326989034":["hashtag1","hashtag2"]},{"1326988992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326988991, 1326988994, 1326988988, 1326988997, 1326989034, 1326988992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.72860050201416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:44:32.070393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0001.jpg', '/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0002.jpg', '/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0003.jpg', '/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0000.jpg', '/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0001.jpg', '/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0001.jpg
/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0002.jpg
/home/pi/Desktop/images/06012025/14/12/image_06012025_14_12_02_395393_0003.jpg
/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0000.jpg
/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0001.jpg
/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_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":["1326989060","1326989084","1326989092","1326989065","1326989062","1326989067"],"photo_ids_order":["1326989060","1326989062","1326989065","1326989067","1326989084","1326989092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2ef93d624667644ea7d9c7fea49c3fe.jpg","text":"TemporaryFile(/tmp/multipartBody8097472355157918249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_12_02_395393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c8036bcb558838c0a47a19557d9f49a.jpg","text":"TemporaryFile(/tmp/multipartBody5611467385514929477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_13_02_547357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b085969f9e1eb779da7ece8c7390906d.jpg","text":"TemporaryFile(/tmp/multipartBody277319579321015788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_13_02_547357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d82dd016d838a7e76811dce42b2ea2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2976993989036840587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_12_02_395393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70409f49af5e7fc4d9371b75f043be0f.jpg","text":"TemporaryFile(/tmp/multipartBody8454396915680322651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_12_02_395393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/894633003132ffafac4906c04a1ba6b8.jpg","text":"TemporaryFile(/tmp/multipartBody285066695846850969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174747101,"filename":"image_06012025_14_13_02_547357_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989065","file1":"1326989062","file0":"1326989060","file4":"1326989084","file5":"1326989092","file3":"1326989067"},"map_files_photo_id_array":[{"photo_id":"1326989092","filename":"file5"},{"photo_id":"1326989065","filename":"file2"},{"photo_id":"1326989084","filename":"file4"},{"photo_id":"1326989062","filename":"file1"},{"photo_id":"1326989060","filename":"file0"},{"photo_id":"1326989067","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989060":["hashtag1","hashtag2"]},{"1326989084":["hashtag1","hashtag2"]},{"1326989092":["hashtag1","hashtag2"]},{"1326989065":["hashtag1","hashtag2"]},{"1326989062":["hashtag1","hashtag2"]},{"1326989067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989060, 1326989084, 1326989092, 1326989065, 1326989062, 1326989067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.05125379562378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:45:32.255665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0003.jpg', '/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0000.jpg', '/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0001.jpg', '/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0002.jpg', '/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0003.jpg', '/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/13/image_06012025_14_13_02_547357_0003.jpg
/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0000.jpg
/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0001.jpg
/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0002.jpg
/home/pi/Desktop/images/06012025/14/14/image_06012025_14_14_02_827040_0003.jpg
/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_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":["1326989141","1326989138","1326989126","1326989143","1326989139","1326989124"],"photo_ids_order":["1326989124","1326989126","1326989138","1326989139","1326989141","1326989143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f3b0ab12178eff16bc8c3fc5b6c277fe.jpg","text":"TemporaryFile(/tmp/multipartBody2657652690542456433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_14_02_827040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2bb59c87576d705958151681b0c8b89.jpg","text":"TemporaryFile(/tmp/multipartBody1141472647985090029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_14_02_827040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89ba442cc9b3fdce2739957ce8318e57.jpg","text":"TemporaryFile(/tmp/multipartBody8345566230943826769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_14_02_827040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c04dcd133aa8b144c6064ed05df4c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2150597836142044238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_15_02_919930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f290a3a35a7dc49b1eb74476544051a.jpg","text":"TemporaryFile(/tmp/multipartBody1045636360170622091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_14_02_827040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/791b21c0ab2e3b098495ca324784f93d.jpg","text":"TemporaryFile(/tmp/multipartBody4206564678805533539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174807284,"filename":"image_06012025_14_13_02_547357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989138","file1":"1326989126","file0":"1326989124","file4":"1326989141","file5":"1326989143","file3":"1326989139"},"map_files_photo_id_array":[{"photo_id":"1326989143","filename":"file5"},{"photo_id":"1326989138","filename":"file2"},{"photo_id":"1326989141","filename":"file4"},{"photo_id":"1326989126","filename":"file1"},{"photo_id":"1326989124","filename":"file0"},{"photo_id":"1326989139","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989141":["hashtag1","hashtag2"]},{"1326989138":["hashtag1","hashtag2"]},{"1326989126":["hashtag1","hashtag2"]},{"1326989143":["hashtag1","hashtag2"]},{"1326989139":["hashtag1","hashtag2"]},{"1326989124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989141, 1326989138, 1326989126, 1326989143, 1326989139, 1326989124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.206463098526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:46:32.355310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0001.jpg', '/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0002.jpg', '/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0003.jpg', '/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0000.jpg', '/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0001.jpg', '/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0001.jpg
/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0002.jpg
/home/pi/Desktop/images/06012025/14/15/image_06012025_14_15_02_919930_0003.jpg
/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0000.jpg
/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0001.jpg
/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_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":["1326989375","1326989369","1326989257","1326989371","1326989373","1326989370"],"photo_ids_order":["1326989257","1326989369","1326989370","1326989371","1326989373","1326989375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/324a9665104f5c6fa84eb5e25aeca96a.jpg","text":"TemporaryFile(/tmp/multipartBody418414732590965439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_16_03_151535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35f43e51b14c485f1503be01dfd9f654.jpg","text":"TemporaryFile(/tmp/multipartBody1170236976474198266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_15_02_919930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce89317b7279fbe707139507ce6a887f.jpg","text":"TemporaryFile(/tmp/multipartBody698780247336131707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_15_02_919930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/105d1c569d254cbe7eb1286a42e892b8.jpg","text":"TemporaryFile(/tmp/multipartBody5854037991781415583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_16_03_151535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae19ecf1ecdf3a818226a2acee1051af.jpg","text":"TemporaryFile(/tmp/multipartBody2271800813465592396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_16_03_151535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c704db5c824600db4f4e4c54e46d0717.jpg","text":"TemporaryFile(/tmp/multipartBody4795649310210414673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174867416,"filename":"image_06012025_14_15_02_919930_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989370","file1":"1326989369","file0":"1326989257","file4":"1326989373","file5":"1326989375","file3":"1326989371"},"map_files_photo_id_array":[{"photo_id":"1326989375","filename":"file5"},{"photo_id":"1326989370","filename":"file2"},{"photo_id":"1326989373","filename":"file4"},{"photo_id":"1326989369","filename":"file1"},{"photo_id":"1326989257","filename":"file0"},{"photo_id":"1326989371","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989375":["hashtag1","hashtag2"]},{"1326989369":["hashtag1","hashtag2"]},{"1326989257":["hashtag1","hashtag2"]},{"1326989371":["hashtag1","hashtag2"]},{"1326989373":["hashtag1","hashtag2"]},{"1326989370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989375, 1326989369, 1326989257, 1326989371, 1326989373, 1326989370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.436583042144775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:47:32.539248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0003.jpg', '/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0000.jpg', '/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0001.jpg', '/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0002.jpg', '/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0003.jpg', '/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/16/image_06012025_14_16_03_151535_0003.jpg
/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0000.jpg
/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0001.jpg
/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0002.jpg
/home/pi/Desktop/images/06012025/14/17/image_06012025_14_17_02_338775_0003.jpg
/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_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":["1326989390","1326989392","1326989389","1326989394","1326989388","1326989397"],"photo_ids_order":["1326989388","1326989389","1326989390","1326989392","1326989394","1326989397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43f4222fa8adafe01fff3e96edbf0d08.jpg","text":"TemporaryFile(/tmp/multipartBody6842786344150772071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_17_02_338775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d970ce1746387cb9bcf2132572fb5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3095504908053775163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_17_02_338775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/919b3c458ffddeada5c6bbe8463ed3eb.jpg","text":"TemporaryFile(/tmp/multipartBody3972077564203449568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_17_02_338775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9ffaaa8c6d58aa64d5d2419227e8bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1588230790432793657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_17_02_338775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/605f24c80704b2b373ac4f0e210ae3f1.jpg","text":"TemporaryFile(/tmp/multipartBody7275641938479736229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_16_03_151535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9eefdc5bb9f5fc082110cc94b997b639.jpg","text":"TemporaryFile(/tmp/multipartBody3461472278300640896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174927847,"filename":"image_06012025_14_18_02_525406_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989390","file1":"1326989389","file0":"1326989388","file4":"1326989394","file5":"1326989397","file3":"1326989392"},"map_files_photo_id_array":[{"photo_id":"1326989397","filename":"file5"},{"photo_id":"1326989390","filename":"file2"},{"photo_id":"1326989394","filename":"file4"},{"photo_id":"1326989389","filename":"file1"},{"photo_id":"1326989388","filename":"file0"},{"photo_id":"1326989392","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989390":["hashtag1","hashtag2"]},{"1326989392":["hashtag1","hashtag2"]},{"1326989389":["hashtag1","hashtag2"]},{"1326989394":["hashtag1","hashtag2"]},{"1326989388":["hashtag1","hashtag2"]},{"1326989397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989390, 1326989392, 1326989389, 1326989394, 1326989388, 1326989397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.8501296043396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:48:32.743331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0001.jpg', '/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0002.jpg', '/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0003.jpg', '/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0000.jpg', '/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0001.jpg', '/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0001.jpg
/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0002.jpg
/home/pi/Desktop/images/06012025/14/18/image_06012025_14_18_02_525406_0003.jpg
/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0000.jpg
/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0001.jpg
/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_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":["1326989427","1326989431","1326989425","1326989428","1326989421","1326989424"],"photo_ids_order":["1326989421","1326989424","1326989425","1326989427","1326989428","1326989431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e33947ef40f4dc8a65dc30116483a58.jpg","text":"TemporaryFile(/tmp/multipartBody6384908814766175328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_19_02_703838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1434d6b2639fbb76b4a9a4cb6f473e0.jpg","text":"TemporaryFile(/tmp/multipartBody3905867015493026506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_19_02_703838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21110312617c602418695fa20ab0a779.jpg","text":"TemporaryFile(/tmp/multipartBody7041883163046891815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_18_02_525406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5afa0c98d931bdaae998f7d9e0f65007.jpg","text":"TemporaryFile(/tmp/multipartBody685344849637106044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_19_02_703838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11ea007612003ca5a56e165c3c880674.jpg","text":"TemporaryFile(/tmp/multipartBody2610960279397326479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_18_02_525406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afa070b08e7eace535fabebd6b1572d9.jpg","text":"TemporaryFile(/tmp/multipartBody1477924605385290721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736174987916,"filename":"image_06012025_14_18_02_525406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989425","file1":"1326989424","file0":"1326989421","file4":"1326989428","file5":"1326989431","file3":"1326989427"},"map_files_photo_id_array":[{"photo_id":"1326989431","filename":"file5"},{"photo_id":"1326989425","filename":"file2"},{"photo_id":"1326989428","filename":"file4"},{"photo_id":"1326989424","filename":"file1"},{"photo_id":"1326989421","filename":"file0"},{"photo_id":"1326989427","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989427":["hashtag1","hashtag2"]},{"1326989431":["hashtag1","hashtag2"]},{"1326989425":["hashtag1","hashtag2"]},{"1326989428":["hashtag1","hashtag2"]},{"1326989421":["hashtag1","hashtag2"]},{"1326989424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989427, 1326989431, 1326989425, 1326989428, 1326989421, 1326989424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.826919078826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:49:31.969572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0003.jpg', '/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0000.jpg', '/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0001.jpg', '/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0002.jpg', '/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0003.jpg', '/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/19/image_06012025_14_19_02_703838_0003.jpg
/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0000.jpg
/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0001.jpg
/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0002.jpg
/home/pi/Desktop/images/06012025/14/20/image_06012025_14_20_02_977037_0003.jpg
/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_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":["1326989480","1326989486","1326989512","1326989509","1326989484","1326989502"],"photo_ids_order":["1326989480","1326989484","1326989486","1326989502","1326989509","1326989512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39413b588c38b8f25c9629259b81c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8261004191631979246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_19_02_703838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c665f592057dde438040668529dbd257.jpg","text":"TemporaryFile(/tmp/multipartBody8257213777406397469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_20_02_977037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cc9916588a92ae567969335c60a3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4352049558915979012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_21_03_092060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64571091e236a4b6510a5b2f6ebd5545.jpg","text":"TemporaryFile(/tmp/multipartBody4500359458256165222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_20_02_977037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4be29ce3a730a2f71bfdffc0b00d63a1.jpg","text":"TemporaryFile(/tmp/multipartBody7008320472655404870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_20_02_977037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5317fb8c0e8f28ad73d219323a69e89f.jpg","text":"TemporaryFile(/tmp/multipartBody5171588222947537732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175047066,"filename":"image_06012025_14_20_02_977037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989486","file1":"1326989484","file0":"1326989480","file4":"1326989509","file5":"1326989512","file3":"1326989502"},"map_files_photo_id_array":[{"photo_id":"1326989512","filename":"file5"},{"photo_id":"1326989486","filename":"file2"},{"photo_id":"1326989509","filename":"file4"},{"photo_id":"1326989484","filename":"file1"},{"photo_id":"1326989480","filename":"file0"},{"photo_id":"1326989502","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989480":["hashtag1","hashtag2"]},{"1326989486":["hashtag1","hashtag2"]},{"1326989512":["hashtag1","hashtag2"]},{"1326989509":["hashtag1","hashtag2"]},{"1326989484":["hashtag1","hashtag2"]},{"1326989502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989480, 1326989486, 1326989512, 1326989509, 1326989484, 1326989502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.896594762802124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:50:32.134718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0001.jpg', '/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0002.jpg', '/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0003.jpg', '/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0000.jpg', '/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0001.jpg', '/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0001.jpg
/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0002.jpg
/home/pi/Desktop/images/06012025/14/21/image_06012025_14_21_03_092060_0003.jpg
/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0000.jpg
/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0001.jpg
/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_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":["1326989573","1326989581","1326989575","1326989578","1326989533","1326989535"],"photo_ids_order":["1326989533","1326989535","1326989573","1326989575","1326989578","1326989581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1522b4c3fef92ce2f619591abf012615.jpg","text":"TemporaryFile(/tmp/multipartBody3583256138160748122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_21_03_092060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2fab31106fe8970d34d3637499caa9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1583042046271610682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_22_02_368025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4a3b04e16d09041d2e87d9fb3f4adb5.jpg","text":"TemporaryFile(/tmp/multipartBody579824718793616664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_22_02_368025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfe55c482c015dd8d74d6c6629b65796.jpg","text":"TemporaryFile(/tmp/multipartBody5942334593396454750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_22_02_368025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9933a044440c333cea998cc5f3f8924.jpg","text":"TemporaryFile(/tmp/multipartBody3796331666072847009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_21_03_092060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/deacba3cfa638d7409fb633db6d9e459.jpg","text":"TemporaryFile(/tmp/multipartBody8319684039364072128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175107142,"filename":"image_06012025_14_21_03_092060_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989573","file1":"1326989535","file0":"1326989533","file4":"1326989578","file5":"1326989581","file3":"1326989575"},"map_files_photo_id_array":[{"photo_id":"1326989581","filename":"file5"},{"photo_id":"1326989573","filename":"file2"},{"photo_id":"1326989578","filename":"file4"},{"photo_id":"1326989535","filename":"file1"},{"photo_id":"1326989533","filename":"file0"},{"photo_id":"1326989575","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989573":["hashtag1","hashtag2"]},{"1326989581":["hashtag1","hashtag2"]},{"1326989575":["hashtag1","hashtag2"]},{"1326989578":["hashtag1","hashtag2"]},{"1326989533":["hashtag1","hashtag2"]},{"1326989535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989573, 1326989581, 1326989575, 1326989578, 1326989533, 1326989535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25261473655701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:51:32.268222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0003.jpg', '/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0000.jpg', '/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0001.jpg', '/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0002.jpg', '/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0003.jpg', '/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/22/image_06012025_14_22_02_368025_0003.jpg
/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0000.jpg
/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0001.jpg
/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0002.jpg
/home/pi/Desktop/images/06012025/14/23/image_06012025_14_23_02_519450_0003.jpg
/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_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":["1326989604","1326989607","1326989600","1326989598","1326989602","1326989601"],"photo_ids_order":["1326989598","1326989600","1326989601","1326989602","1326989604","1326989607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a5fc0a64042b997829909a46a17e830.jpg","text":"TemporaryFile(/tmp/multipartBody5715286145896766689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_23_02_519450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86a5ba5a54426b9e661a9a9309fe82e3.jpg","text":"TemporaryFile(/tmp/multipartBody4150210062298072125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_24_02_784882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa031a22a214c70b782f1a5a5c21a226.jpg","text":"TemporaryFile(/tmp/multipartBody2483567799084529730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_23_02_519450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b71dc1b9d4e91523bb91885b7c26497f.jpg","text":"TemporaryFile(/tmp/multipartBody965452202684855284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_22_02_368025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6e6a43ab964d0276bb666b8eb1c2d80.jpg","text":"TemporaryFile(/tmp/multipartBody121830152425797108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_23_02_519450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/747ae0edd44724999506d6d671682e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2430462213539023020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175167513,"filename":"image_06012025_14_23_02_519450_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989601","file1":"1326989600","file0":"1326989598","file4":"1326989604","file5":"1326989607","file3":"1326989602"},"map_files_photo_id_array":[{"photo_id":"1326989607","filename":"file5"},{"photo_id":"1326989601","filename":"file2"},{"photo_id":"1326989604","filename":"file4"},{"photo_id":"1326989600","filename":"file1"},{"photo_id":"1326989598","filename":"file0"},{"photo_id":"1326989602","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989604":["hashtag1","hashtag2"]},{"1326989607":["hashtag1","hashtag2"]},{"1326989600":["hashtag1","hashtag2"]},{"1326989598":["hashtag1","hashtag2"]},{"1326989602":["hashtag1","hashtag2"]},{"1326989601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989604, 1326989607, 1326989600, 1326989598, 1326989602, 1326989601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.449304819107056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:52:32.461445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_0001.jpg', '/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_0003.jpg', '/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0000.jpg', '/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0001.jpg', '/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0002.jpg', '/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_0001.jpg
/home/pi/Desktop/images/06012025/14/24/image_06012025_14_24_02_784882_0003.jpg
/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0000.jpg
/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0001.jpg
/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_0002.jpg
/home/pi/Desktop/images/06012025/14/25/image_06012025_14_25_02_886610_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":["1326989630","1326989641","1326989644","1326989631","1326989628","1326989637"],"photo_ids_order":["1326989628","1326989630","1326989631","1326989637","1326989641","1326989644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99180fc7519ef43ea338e35bf2087a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5632171448445671866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_24_02_784882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c7b0e5cb3417eaa7d8add2eebbc201a.jpg","text":"TemporaryFile(/tmp/multipartBody6136505170662947152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_25_02_886610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b19f5e46695d1aeb6be2f219b71f21a.jpg","text":"TemporaryFile(/tmp/multipartBody1630054254446445664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_25_02_886610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb45d559c2385904ae485efdd62a1d41.jpg","text":"TemporaryFile(/tmp/multipartBody1477352456714093153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_25_02_886610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0e32cb99ea47ea0bd1d3576d427d736.jpg","text":"TemporaryFile(/tmp/multipartBody8145128644305632739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_24_02_784882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5188c6efe74a26bb93429390cb913a6.jpg","text":"TemporaryFile(/tmp/multipartBody8776790534475505806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175227467,"filename":"image_06012025_14_25_02_886610_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989631","file1":"1326989630","file0":"1326989628","file4":"1326989641","file5":"1326989644","file3":"1326989637"},"map_files_photo_id_array":[{"photo_id":"1326989644","filename":"file5"},{"photo_id":"1326989631","filename":"file2"},{"photo_id":"1326989641","filename":"file4"},{"photo_id":"1326989630","filename":"file1"},{"photo_id":"1326989628","filename":"file0"},{"photo_id":"1326989637","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989630":["hashtag1","hashtag2"]},{"1326989641":["hashtag1","hashtag2"]},{"1326989644":["hashtag1","hashtag2"]},{"1326989631":["hashtag1","hashtag2"]},{"1326989628":["hashtag1","hashtag2"]},{"1326989637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989630, 1326989641, 1326989644, 1326989631, 1326989628, 1326989637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59369230270386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:53:32.648488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0000.jpg', '/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0001.jpg', '/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0002.jpg', '/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0003.jpg', '/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0000.jpg', '/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0000.jpg
/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0001.jpg
/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0002.jpg
/home/pi/Desktop/images/06012025/14/26/image_06012025_14_26_03_086564_0003.jpg
/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0000.jpg
/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_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":["1326989703","1326989706","1326989705","1326989714","1326989710","1326989707"],"photo_ids_order":["1326989703","1326989705","1326989706","1326989707","1326989710","1326989714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/acdf5c82a3793296fd39404569c888f6.jpg","text":"TemporaryFile(/tmp/multipartBody2501282322254762674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_26_03_086564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e905ac40029cb9f0f06fe6a475046d6.jpg","text":"TemporaryFile(/tmp/multipartBody8697301638083254071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_26_03_086564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f76a6f54c75f9cf42a5fff8d713c4afe.jpg","text":"TemporaryFile(/tmp/multipartBody103990706353669555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_26_03_086564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f4512547047eae54beb11561b644f59.jpg","text":"TemporaryFile(/tmp/multipartBody27691008651693252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_27_02_241878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46b78ded09862522d0c010890ad8ed75.jpg","text":"TemporaryFile(/tmp/multipartBody8749769699158782209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_27_02_241878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18ecaaf45d1a8fc06fe8153684706b20.jpg","text":"TemporaryFile(/tmp/multipartBody2280878149221010608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175287687,"filename":"image_06012025_14_26_03_086564_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989706","file1":"1326989705","file0":"1326989703","file4":"1326989710","file5":"1326989714","file3":"1326989707"},"map_files_photo_id_array":[{"photo_id":"1326989714","filename":"file5"},{"photo_id":"1326989706","filename":"file2"},{"photo_id":"1326989710","filename":"file4"},{"photo_id":"1326989705","filename":"file1"},{"photo_id":"1326989703","filename":"file0"},{"photo_id":"1326989707","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989703":["hashtag1","hashtag2"]},{"1326989706":["hashtag1","hashtag2"]},{"1326989705":["hashtag1","hashtag2"]},{"1326989714":["hashtag1","hashtag2"]},{"1326989710":["hashtag1","hashtag2"]},{"1326989707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989703, 1326989706, 1326989705, 1326989714, 1326989710, 1326989707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51015019416809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:54:31.820151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0002.jpg', '/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0003.jpg', '/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0000.jpg', '/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0001.jpg', '/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0002.jpg', '/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0002.jpg
/home/pi/Desktop/images/06012025/14/27/image_06012025_14_27_02_241878_0003.jpg
/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0000.jpg
/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0001.jpg
/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_0002.jpg
/home/pi/Desktop/images/06012025/14/28/image_06012025_14_28_02_582306_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":["1326989741","1326989740","1326989737","1326989803","1326989757","1326989739"],"photo_ids_order":["1326989737","1326989739","1326989740","1326989741","1326989757","1326989803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07b1f10cc5395e274f6d36402e87c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody6380848717657887777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_28_02_582306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/258802d5ae7f2b8804e493d554e3e08a.jpg","text":"TemporaryFile(/tmp/multipartBody4772687393140737680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_28_02_582306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee1df0c5f790ef0a79ea79cce91ba1cd.jpg","text":"TemporaryFile(/tmp/multipartBody5138002357931405211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_27_02_241878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f95adf8b80b7ca16ff797262a2c477fe.jpg","text":"TemporaryFile(/tmp/multipartBody7902712033091727452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_28_02_582306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f47eeeb3fb9ee5c85b3b93a0c8dc5c20.jpg","text":"TemporaryFile(/tmp/multipartBody2712162384936765600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_28_02_582306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17ca39edc3ffccf8f5eafcea2c8f57ee.jpg","text":"TemporaryFile(/tmp/multipartBody930238123251889397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175346980,"filename":"image_06012025_14_27_02_241878_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989740","file1":"1326989739","file0":"1326989737","file4":"1326989757","file5":"1326989803","file3":"1326989741"},"map_files_photo_id_array":[{"photo_id":"1326989803","filename":"file5"},{"photo_id":"1326989740","filename":"file2"},{"photo_id":"1326989757","filename":"file4"},{"photo_id":"1326989739","filename":"file1"},{"photo_id":"1326989737","filename":"file0"},{"photo_id":"1326989741","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989741":["hashtag1","hashtag2"]},{"1326989740":["hashtag1","hashtag2"]},{"1326989737":["hashtag1","hashtag2"]},{"1326989803":["hashtag1","hashtag2"]},{"1326989757":["hashtag1","hashtag2"]},{"1326989739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989741, 1326989740, 1326989737, 1326989803, 1326989757, 1326989739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.246278047561646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:55:31.998167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0000.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0001.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0002.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0003.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0000.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0000.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0001.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0002.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0003.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0000.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_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.717486143112183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:55:52.013999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0000.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0001.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0002.jpg', '/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0003.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0000.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0000.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0001.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0002.jpg
/home/pi/Desktop/images/06012025/14/29/image_06012025_14_29_02_618561_0003.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0000.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_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":["1326989852","1326989831","1326989848","1326989844","1326989838","1326989835"],"photo_ids_order":["1326989831","1326989835","1326989838","1326989844","1326989848","1326989852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb9f12ed24c7f683dfd3c13b0e23e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody9149670316216574267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_30_02_786029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/877b135c33adf0073f0de7bb1e5092f6.jpg","text":"TemporaryFile(/tmp/multipartBody1991135222357270232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_29_02_618561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f2a9293f2758d8b0215369ab657644e.jpg","text":"TemporaryFile(/tmp/multipartBody8651961403307622590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_30_02_786029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7c69b26228c9bb93497d4999f24b024.jpg","text":"TemporaryFile(/tmp/multipartBody4615790931270537960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_29_02_618561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/560f27fcb1ff53c40e6fd034f3847f97.jpg","text":"TemporaryFile(/tmp/multipartBody3699188410646120828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_29_02_618561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34b9106ac830fd77d27179c341d31e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8163115787174460888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175427127,"filename":"image_06012025_14_29_02_618561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326989838","file1":"1326989835","file0":"1326989831","file4":"1326989848","file5":"1326989852","file3":"1326989844"},"map_files_photo_id_array":[{"photo_id":"1326989852","filename":"file5"},{"photo_id":"1326989838","filename":"file2"},{"photo_id":"1326989848","filename":"file4"},{"photo_id":"1326989835","filename":"file1"},{"photo_id":"1326989831","filename":"file0"},{"photo_id":"1326989844","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326989852":["hashtag1","hashtag2"]},{"1326989831":["hashtag1","hashtag2"]},{"1326989848":["hashtag1","hashtag2"]},{"1326989844":["hashtag1","hashtag2"]},{"1326989838":["hashtag1","hashtag2"]},{"1326989835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326989852, 1326989831, 1326989848, 1326989844, 1326989838, 1326989835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.30832600593567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 15:56:52.193199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_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.776559829711914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 15:57:22.400851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0003.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-06 15:59:03.324165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg', '/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg', '/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0002.jpg
/home/pi/Desktop/images/06012025/14/30/image_06012025_14_30_02_786029_0003.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0000.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0001.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_0002.jpg
/home/pi/Desktop/images/06012025/14/31/image_06012025_14_31_03_023187_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":["1326990813","1326990866","1326990863","1326990865","1326990805","1326990684"],"photo_ids_order":["1326990684","1326990805","1326990813","1326990863","1326990865","1326990866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e997a8e9242ef0238eb9a34f579fb50.jpg","text":"TemporaryFile(/tmp/multipartBody7370528332030921216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_31_03_023187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2123ca3aa10e8c47c531a4ade705d626.jpg","text":"TemporaryFile(/tmp/multipartBody1612758730257321318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_31_03_023187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08d83ab7a926482385e8e1d62cbca250.jpg","text":"TemporaryFile(/tmp/multipartBody4780012735451770275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_31_03_023187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c155dc44eeae0fe921d6d91fddd9ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody4077541303466221682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_31_03_023187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a883776e03240fce64eb542d88ad511a.jpg","text":"TemporaryFile(/tmp/multipartBody6989142395845914205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_30_02_786029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0748ebb5c45d04792c157376367b1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7220004421306505027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175618503,"filename":"image_06012025_14_30_02_786029_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326990813","file1":"1326990805","file0":"1326990684","file4":"1326990865","file5":"1326990866","file3":"1326990863"},"map_files_photo_id_array":[{"photo_id":"1326990866","filename":"file5"},{"photo_id":"1326990813","filename":"file2"},{"photo_id":"1326990865","filename":"file4"},{"photo_id":"1326990805","filename":"file1"},{"photo_id":"1326990684","filename":"file0"},{"photo_id":"1326990863","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326990813":["hashtag1","hashtag2"]},{"1326990866":["hashtag1","hashtag2"]},{"1326990863":["hashtag1","hashtag2"]},{"1326990865":["hashtag1","hashtag2"]},{"1326990805":["hashtag1","hashtag2"]},{"1326990684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326990813, 1326990866, 1326990863, 1326990865, 1326990805, 1326990684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.607075929641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 16:00:02.280827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0001.jpg', '/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0002.jpg', '/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0003.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0000.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0001.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0001.jpg
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0002.jpg
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0003.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0000.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0001.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_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.7084059715271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:00:21.863698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0001.jpg', '/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0002.jpg', '/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0003.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0000.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0001.jpg', '/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0001.jpg
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0002.jpg
/home/pi/Desktop/images/06012025/14/32/image_06012025_14_32_02_177932_0003.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0000.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0001.jpg
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_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":["1326991778","1326991115","1326991537","1326991773","1326991776","1326991368"],"photo_ids_order":["1326991115","1326991368","1326991537","1326991773","1326991776","1326991778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8a859bf777bf6eaca1220f8a33189c6.jpg","text":"TemporaryFile(/tmp/multipartBody2289354029818160169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_33_02_310924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9158b039ef485e7012ed4b1af5fbbf96.jpg","text":"TemporaryFile(/tmp/multipartBody8993086675667501758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_32_02_177932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73aad5166270d38dbe8a4569aa43193d.jpg","text":"TemporaryFile(/tmp/multipartBody2861311952373946709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_32_02_177932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72d14b716c1c9251d25997363f6e35bc.jpg","text":"TemporaryFile(/tmp/multipartBody7655657182927824091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_33_02_310924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e95efe76eb769eab38230f99d424a68d.jpg","text":"TemporaryFile(/tmp/multipartBody6486268902826368483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_33_02_310924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b9a610ea47f32ab1860fbe403a30eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2829722945008186776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175696946,"filename":"image_06012025_14_32_02_177932_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326991537","file1":"1326991368","file0":"1326991115","file4":"1326991776","file5":"1326991778","file3":"1326991773"},"map_files_photo_id_array":[{"photo_id":"1326991778","filename":"file5"},{"photo_id":"1326991537","filename":"file2"},{"photo_id":"1326991776","filename":"file4"},{"photo_id":"1326991368","filename":"file1"},{"photo_id":"1326991115","filename":"file0"},{"photo_id":"1326991773","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326991778":["hashtag1","hashtag2"]},{"1326991115":["hashtag1","hashtag2"]},{"1326991537":["hashtag1","hashtag2"]},{"1326991773":["hashtag1","hashtag2"]},{"1326991776":["hashtag1","hashtag2"]},{"1326991368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326991778, 1326991115, 1326991537, 1326991773, 1326991776, 1326991368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.6022880077362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:01:32.099349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0003.jpg', '/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0000.jpg', '/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0001.jpg', '/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0002.jpg', '/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0003.jpg', '/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/33/image_06012025_14_33_02_310924_0003.jpg
/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0000.jpg
/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0001.jpg
/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0002.jpg
/home/pi/Desktop/images/06012025/14/34/image_06012025_14_34_02_512385_0003.jpg
/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_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":["1326992017","1326992011","1326991846","1326992058","1326991788","1326992060"],"photo_ids_order":["1326991788","1326991846","1326992011","1326992017","1326992058","1326992060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6dc4f544fce1e36511625da55e9c81d3.jpg","text":"TemporaryFile(/tmp/multipartBody2386068911504739971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_34_02_512385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87a344fbba0f70ed65770953a2d7c761.jpg","text":"TemporaryFile(/tmp/multipartBody6207544685402524533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_34_02_512385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d9c3b70b0c8b8922a3f5f9fca3d6755.jpg","text":"TemporaryFile(/tmp/multipartBody646163059547184087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_34_02_512385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a571934eda597b6e21f2861076f728b.jpg","text":"TemporaryFile(/tmp/multipartBody7808544398852729661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_34_02_512385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3417abb70f225e3249d94258234d4d56.jpg","text":"TemporaryFile(/tmp/multipartBody3462151221036175189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_33_02_310924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f15c67df89b30d820c3ba98a0bb5008.jpg","text":"TemporaryFile(/tmp/multipartBody8142995772123391896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175767233,"filename":"image_06012025_14_35_02_677043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992011","file1":"1326991846","file0":"1326991788","file4":"1326992058","file5":"1326992060","file3":"1326992017"},"map_files_photo_id_array":[{"photo_id":"1326992060","filename":"file5"},{"photo_id":"1326992011","filename":"file2"},{"photo_id":"1326992058","filename":"file4"},{"photo_id":"1326991846","filename":"file1"},{"photo_id":"1326991788","filename":"file0"},{"photo_id":"1326992017","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992017":["hashtag1","hashtag2"]},{"1326992011":["hashtag1","hashtag2"]},{"1326991846":["hashtag1","hashtag2"]},{"1326992058":["hashtag1","hashtag2"]},{"1326991788":["hashtag1","hashtag2"]},{"1326992060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992017, 1326992011, 1326991846, 1326992058, 1326991788, 1326992060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8684184551239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:02:32.275377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0001.jpg', '/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0002.jpg', '/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0003.jpg', '/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0000.jpg', '/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0001.jpg', '/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0001.jpg
/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0002.jpg
/home/pi/Desktop/images/06012025/14/35/image_06012025_14_35_02_677043_0003.jpg
/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0000.jpg
/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0001.jpg
/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_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":["1326992197","1326992142","1326992192","1326992186","1326992195","1326992189"],"photo_ids_order":["1326992142","1326992186","1326992189","1326992192","1326992195","1326992197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3fa7e50c3762ad5a7f6ba47aad3537f6.jpg","text":"TemporaryFile(/tmp/multipartBody1926661579549592132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_36_02_834109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fb56192010b552499d6a1f37f510fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4590052730589297021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_35_02_677043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46f4500c8370f8997ae0ef8a8a9795d1.jpg","text":"TemporaryFile(/tmp/multipartBody3973282661448197996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_36_02_834109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f73172e31248c9337ba08cdea0a7dd08.jpg","text":"TemporaryFile(/tmp/multipartBody3116686455104060091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_35_02_677043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f91946d8bfd88cdbbb2e5e5c972d26d5.jpg","text":"TemporaryFile(/tmp/multipartBody5528133792736951220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_36_02_834109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ae3cacb420f353233880c59f95d0375.jpg","text":"TemporaryFile(/tmp/multipartBody8632927919184589407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175827393,"filename":"image_06012025_14_35_02_677043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992189","file1":"1326992186","file0":"1326992142","file4":"1326992195","file5":"1326992197","file3":"1326992192"},"map_files_photo_id_array":[{"photo_id":"1326992197","filename":"file5"},{"photo_id":"1326992189","filename":"file2"},{"photo_id":"1326992195","filename":"file4"},{"photo_id":"1326992186","filename":"file1"},{"photo_id":"1326992142","filename":"file0"},{"photo_id":"1326992192","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992197":["hashtag1","hashtag2"]},{"1326992142":["hashtag1","hashtag2"]},{"1326992192":["hashtag1","hashtag2"]},{"1326992186":["hashtag1","hashtag2"]},{"1326992195":["hashtag1","hashtag2"]},{"1326992189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992197, 1326992142, 1326992192, 1326992186, 1326992195, 1326992189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.240723609924316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:03:32.425266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0003.jpg', '/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0000.jpg', '/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0001.jpg', '/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0002.jpg', '/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0003.jpg', '/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/36/image_06012025_14_36_02_834109_0003.jpg
/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0000.jpg
/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0001.jpg
/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0002.jpg
/home/pi/Desktop/images/06012025/14/37/image_06012025_14_37_03_074096_0003.jpg
/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_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":["1326992219","1326992213","1326992221","1326992215","1326992211","1326992208"],"photo_ids_order":["1326992208","1326992211","1326992213","1326992215","1326992219","1326992221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9468422caf091811d9e7e7a5cdf48813.jpg","text":"TemporaryFile(/tmp/multipartBody1571394844153913490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_37_03_074096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd7a84d5d561d1f7e69f501f0a2bceca.jpg","text":"TemporaryFile(/tmp/multipartBody2584673325718410144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_37_03_074096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa60835efaecd667d43b880973f06e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5879665660918339864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_38_02_247466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe324a944de706465d8fccdc88c4cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody3965453727377526569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_37_03_074096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ba8d31240e5e8c85ae1a9f25d781923.jpg","text":"TemporaryFile(/tmp/multipartBody1851084898526474098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_37_03_074096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19d493be6070dec3a62d8f8b79376f1f.jpg","text":"TemporaryFile(/tmp/multipartBody537369841243873130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175887511,"filename":"image_06012025_14_36_02_834109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992213","file1":"1326992211","file0":"1326992208","file4":"1326992219","file5":"1326992221","file3":"1326992215"},"map_files_photo_id_array":[{"photo_id":"1326992221","filename":"file5"},{"photo_id":"1326992213","filename":"file2"},{"photo_id":"1326992219","filename":"file4"},{"photo_id":"1326992211","filename":"file1"},{"photo_id":"1326992208","filename":"file0"},{"photo_id":"1326992215","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992219":["hashtag1","hashtag2"]},{"1326992213":["hashtag1","hashtag2"]},{"1326992221":["hashtag1","hashtag2"]},{"1326992215":["hashtag1","hashtag2"]},{"1326992211":["hashtag1","hashtag2"]},{"1326992208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992219, 1326992213, 1326992221, 1326992215, 1326992211, 1326992208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9727885723114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:04:32.650954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_0002.jpg', '/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_0003.jpg', '/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0000.jpg', '/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0001.jpg', '/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0002.jpg', '/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_0002.jpg
/home/pi/Desktop/images/06012025/14/38/image_06012025_14_38_02_247466_0003.jpg
/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0000.jpg
/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0001.jpg
/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_0002.jpg
/home/pi/Desktop/images/06012025/14/39/image_06012025_14_39_02_257839_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":["1326992300","1326992272","1326992274","1326992298","1326992322","1326992273"],"photo_ids_order":["1326992272","1326992273","1326992274","1326992298","1326992300","1326992322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88278b00977dbdfce3694b0c93f0e9e3.jpg","text":"TemporaryFile(/tmp/multipartBody4631713555711392079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_39_02_257839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41deeb308336ef4a409c2a7db5e98aac.jpg","text":"TemporaryFile(/tmp/multipartBody7761548462782568217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_38_02_247466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a9f4fe9f86eac7b0e8de65185a8bff0.jpg","text":"TemporaryFile(/tmp/multipartBody1637414307105557165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_39_02_257839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/034effba4eacd0c62210a22901f3d91d.jpg","text":"TemporaryFile(/tmp/multipartBody60541186771938360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_39_02_257839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7c1ad232c5a28a43b40c39e479d8f33.jpg","text":"TemporaryFile(/tmp/multipartBody4738188284244204465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_39_02_257839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84ff0cbe11f9b3c2ab9df3d4832d8bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3266248493837813947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736175947867,"filename":"image_06012025_14_38_02_247466_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992274","file1":"1326992273","file0":"1326992272","file4":"1326992300","file5":"1326992322","file3":"1326992298"},"map_files_photo_id_array":[{"photo_id":"1326992322","filename":"file5"},{"photo_id":"1326992274","filename":"file2"},{"photo_id":"1326992300","filename":"file4"},{"photo_id":"1326992273","filename":"file1"},{"photo_id":"1326992272","filename":"file0"},{"photo_id":"1326992298","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992300":["hashtag1","hashtag2"]},{"1326992272":["hashtag1","hashtag2"]},{"1326992274":["hashtag1","hashtag2"]},{"1326992298":["hashtag1","hashtag2"]},{"1326992322":["hashtag1","hashtag2"]},{"1326992273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992300, 1326992272, 1326992274, 1326992298, 1326992322, 1326992273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.858428955078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:05:31.879903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0000.jpg', '/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0001.jpg', '/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0002.jpg', '/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0003.jpg', '/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0000.jpg', '/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0000.jpg
/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0001.jpg
/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0002.jpg
/home/pi/Desktop/images/06012025/14/40/image_06012025_14_40_02_479662_0003.jpg
/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0000.jpg
/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_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":["1326992381","1326992383","1326992377","1326992376","1326992379","1326992378"],"photo_ids_order":["1326992376","1326992377","1326992378","1326992379","1326992381","1326992383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cef7bf3bd6cf6c145935803ce9624e06.jpg","text":"TemporaryFile(/tmp/multipartBody2762760028404126778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_41_02_658056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6663175fda3f493bd2ae84f12bb09356.jpg","text":"TemporaryFile(/tmp/multipartBody5589081156567989159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_41_02_658056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/358bc710e6847a26e91bf902ae9362a9.jpg","text":"TemporaryFile(/tmp/multipartBody1050102098332277321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_40_02_479662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ebc11b40d8d70c452cf33bbacb075443.jpg","text":"TemporaryFile(/tmp/multipartBody4371235085837891501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_40_02_479662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5293742ba01389d45418d8bbb8ae1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3050466620366553184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_40_02_479662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e67afd9969036d059afd2b3bdbbeafb9.jpg","text":"TemporaryFile(/tmp/multipartBody1484431080183631062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176006700,"filename":"image_06012025_14_40_02_479662_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992378","file1":"1326992377","file0":"1326992376","file4":"1326992381","file5":"1326992383","file3":"1326992379"},"map_files_photo_id_array":[{"photo_id":"1326992383","filename":"file5"},{"photo_id":"1326992378","filename":"file2"},{"photo_id":"1326992381","filename":"file4"},{"photo_id":"1326992377","filename":"file1"},{"photo_id":"1326992376","filename":"file0"},{"photo_id":"1326992379","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992381":["hashtag1","hashtag2"]},{"1326992383":["hashtag1","hashtag2"]},{"1326992377":["hashtag1","hashtag2"]},{"1326992376":["hashtag1","hashtag2"]},{"1326992379":["hashtag1","hashtag2"]},{"1326992378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992381, 1326992383, 1326992377, 1326992376, 1326992379, 1326992378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.11047172546387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:06:32.079592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0002.jpg', '/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0003.jpg', '/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0000.jpg', '/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0001.jpg', '/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0002.jpg', '/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0002.jpg
/home/pi/Desktop/images/06012025/14/41/image_06012025_14_41_02_658056_0003.jpg
/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0000.jpg
/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0001.jpg
/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_0002.jpg
/home/pi/Desktop/images/06012025/14/42/image_06012025_14_42_02_853344_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":["1326992432","1326992437","1326992434","1326992439","1326992430","1326992433"],"photo_ids_order":["1326992430","1326992432","1326992433","1326992434","1326992437","1326992439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b1c2d19c364280f4c15df4ebddc02fe.jpg","text":"TemporaryFile(/tmp/multipartBody8238576417658285019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_41_02_658056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/daccdd91230fe6fbc6e2e26504d128c7.jpg","text":"TemporaryFile(/tmp/multipartBody37668626996988485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_42_02_853344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8b3a80f22da7e39a0717ba099dd4ede.jpg","text":"TemporaryFile(/tmp/multipartBody4681532559628917935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_42_02_853344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3e21c6d0fe59c0061f2eaa6079a4a09.jpg","text":"TemporaryFile(/tmp/multipartBody8944925795776950176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_42_02_853344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f379667a212d4b0e49751b01ce0db369.jpg","text":"TemporaryFile(/tmp/multipartBody2795525723069767837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_41_02_658056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c6a4f1d0e011ac44c3255b71d94cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody2729843271032967046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176067176,"filename":"image_06012025_14_42_02_853344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992433","file1":"1326992432","file0":"1326992430","file4":"1326992437","file5":"1326992439","file3":"1326992434"},"map_files_photo_id_array":[{"photo_id":"1326992439","filename":"file5"},{"photo_id":"1326992433","filename":"file2"},{"photo_id":"1326992437","filename":"file4"},{"photo_id":"1326992432","filename":"file1"},{"photo_id":"1326992430","filename":"file0"},{"photo_id":"1326992434","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992432":["hashtag1","hashtag2"]},{"1326992437":["hashtag1","hashtag2"]},{"1326992434":["hashtag1","hashtag2"]},{"1326992439":["hashtag1","hashtag2"]},{"1326992430":["hashtag1","hashtag2"]},{"1326992433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992432, 1326992437, 1326992434, 1326992439, 1326992430, 1326992433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11275577545166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:07:32.261234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0000.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0001.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0002.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0003.jpg', '/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0000.jpg', '/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0000.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0001.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0002.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0003.jpg
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0000.jpg
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_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.716127634048462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:07:52.276762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0000.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0001.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0002.jpg', '/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0003.jpg', '/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0000.jpg', '/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0000.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0001.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0002.jpg
/home/pi/Desktop/images/06012025/14/43/image_06012025_14_43_03_086799_0003.jpg
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0000.jpg
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_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":["1326992474","1326992522","1326992518","1326992480","1326992514","1326992477"],"photo_ids_order":["1326992474","1326992477","1326992480","1326992514","1326992518","1326992522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f3538c69aeca3a151a74f24b62e902f.jpg","text":"TemporaryFile(/tmp/multipartBody5306106683133753041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_43_03_086799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25886a4109d90f6feefb3e59e861ec5e.jpg","text":"TemporaryFile(/tmp/multipartBody251218359176220860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_44_02_246982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bb8ba7bbf8b01bc2a64fbcd51289c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4915645249902499935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_44_02_246982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db614ec49092bb4c1f8e8ac23c776e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5932590905253835190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_43_03_086799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edb751ad05e39c5399e8c9df82b8c142.jpg","text":"TemporaryFile(/tmp/multipartBody2822180755040539000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_43_03_086799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bf1ff2dc56fecea10abfa92d5554fba.jpg","text":"TemporaryFile(/tmp/multipartBody4762361190335017539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176147411,"filename":"image_06012025_14_43_03_086799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992480","file1":"1326992477","file0":"1326992474","file4":"1326992518","file5":"1326992522","file3":"1326992514"},"map_files_photo_id_array":[{"photo_id":"1326992522","filename":"file5"},{"photo_id":"1326992480","filename":"file2"},{"photo_id":"1326992518","filename":"file4"},{"photo_id":"1326992477","filename":"file1"},{"photo_id":"1326992474","filename":"file0"},{"photo_id":"1326992514","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992474":["hashtag1","hashtag2"]},{"1326992522":["hashtag1","hashtag2"]},{"1326992518":["hashtag1","hashtag2"]},{"1326992480":["hashtag1","hashtag2"]},{"1326992514":["hashtag1","hashtag2"]},{"1326992477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992474, 1326992522, 1326992518, 1326992480, 1326992514, 1326992477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04041862487793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:08:52.457097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0002.jpg', '/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0003.jpg', '/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0000.jpg', '/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0001.jpg', '/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0002.jpg', '/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0002.jpg
/home/pi/Desktop/images/06012025/14/44/image_06012025_14_44_02_246982_0003.jpg
/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0000.jpg
/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0001.jpg
/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_0002.jpg
/home/pi/Desktop/images/06012025/14/45/image_06012025_14_45_02_541833_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":["1326992698","1326992702","1326992618","1326992695","1326992691","1326992693"],"photo_ids_order":["1326992618","1326992691","1326992693","1326992695","1326992698","1326992702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a097554ca72e2ef1fe51b59076be04d9.jpg","text":"TemporaryFile(/tmp/multipartBody6064673381583731647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_45_02_541833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58874ac4b2d1c59531ee0cfed1ca148f.jpg","text":"TemporaryFile(/tmp/multipartBody5408435103808248209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_45_02_541833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba7bebd4ca3e13831c33b126b38ad800.jpg","text":"TemporaryFile(/tmp/multipartBody6094602509034866139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_44_02_246982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/033d802824f5deec7f7205f2c2c50906.jpg","text":"TemporaryFile(/tmp/multipartBody2655233146095334129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_45_02_541833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22381bf873bb91eba31c6093e0ecebda.jpg","text":"TemporaryFile(/tmp/multipartBody374967688062592433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_44_02_246982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/177d0154be4632cac048c395c01c9b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7935149007045998771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176207683,"filename":"image_06012025_14_45_02_541833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992693","file1":"1326992691","file0":"1326992618","file4":"1326992698","file5":"1326992702","file3":"1326992695"},"map_files_photo_id_array":[{"photo_id":"1326992702","filename":"file5"},{"photo_id":"1326992693","filename":"file2"},{"photo_id":"1326992698","filename":"file4"},{"photo_id":"1326992691","filename":"file1"},{"photo_id":"1326992618","filename":"file0"},{"photo_id":"1326992695","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992698":["hashtag1","hashtag2"]},{"1326992702":["hashtag1","hashtag2"]},{"1326992618":["hashtag1","hashtag2"]},{"1326992695":["hashtag1","hashtag2"]},{"1326992691":["hashtag1","hashtag2"]},{"1326992693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992698, 1326992702, 1326992618, 1326992695, 1326992691, 1326992693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.904990673065186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:09:52.655229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0000.jpg', '/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0001.jpg', '/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0002.jpg', '/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0003.jpg', '/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0000.jpg', '/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0000.jpg
/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0001.jpg
/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0002.jpg
/home/pi/Desktop/images/06012025/14/46/image_06012025_14_46_02_568948_0003.jpg
/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0000.jpg
/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_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":["1326992714","1326992704","1326992721","1326992709","1326992718","1326992706"],"photo_ids_order":["1326992704","1326992706","1326992709","1326992714","1326992718","1326992721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0134d2479ec376d83b9eb8593b4c67d2.jpg","text":"TemporaryFile(/tmp/multipartBody601956297491653075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_46_02_568948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/099277be69ab8b6c5cafde5284b07424.jpg","text":"TemporaryFile(/tmp/multipartBody3308266904411818083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_46_02_568948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c433ad0d550ffe9ea8c2b74c085df46d.jpg","text":"TemporaryFile(/tmp/multipartBody2237499203225533805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_47_02_754087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1982902539404a7dc109b8f5918f06ec.jpg","text":"TemporaryFile(/tmp/multipartBody4696826959472800974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_46_02_568948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89ae99e1b75edf9303c81ba06e7a1741.jpg","text":"TemporaryFile(/tmp/multipartBody8015054267943491364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_47_02_754087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01581ac17a66b1b5e5c4d62975c6a52b.jpg","text":"TemporaryFile(/tmp/multipartBody8428180899454977671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176267772,"filename":"image_06012025_14_46_02_568948_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992709","file1":"1326992706","file0":"1326992704","file4":"1326992718","file5":"1326992721","file3":"1326992714"},"map_files_photo_id_array":[{"photo_id":"1326992721","filename":"file5"},{"photo_id":"1326992709","filename":"file2"},{"photo_id":"1326992718","filename":"file4"},{"photo_id":"1326992706","filename":"file1"},{"photo_id":"1326992704","filename":"file0"},{"photo_id":"1326992714","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992714":["hashtag1","hashtag2"]},{"1326992704":["hashtag1","hashtag2"]},{"1326992721":["hashtag1","hashtag2"]},{"1326992709":["hashtag1","hashtag2"]},{"1326992718":["hashtag1","hashtag2"]},{"1326992706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992714, 1326992704, 1326992721, 1326992709, 1326992718, 1326992706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46500539779663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:10:51.848979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0002.jpg', '/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0003.jpg', '/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0000.jpg', '/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0001.jpg', '/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0002.jpg', '/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0002.jpg
/home/pi/Desktop/images/06012025/14/47/image_06012025_14_47_02_754087_0003.jpg
/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0000.jpg
/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0001.jpg
/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_0002.jpg
/home/pi/Desktop/images/06012025/14/48/image_06012025_14_48_02_914417_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":["1326992744","1326992747","1326992731","1326992739","1326992733","1326992736"],"photo_ids_order":["1326992731","1326992733","1326992736","1326992739","1326992744","1326992747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/072e94d3cb8b04969088355745be5296.jpg","text":"TemporaryFile(/tmp/multipartBody3331643879073854126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_48_02_914417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c98374c8a2247fab61df0c0bfdf2ca5e.jpg","text":"TemporaryFile(/tmp/multipartBody4863958461521343514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_48_02_914417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e29d963be981ea039fc415684df2326d.jpg","text":"TemporaryFile(/tmp/multipartBody2722312600154352745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_47_02_754087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/419c2294b3f37f04cc31ff6a8b150652.jpg","text":"TemporaryFile(/tmp/multipartBody6946657704488192181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_48_02_914417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c4fb07ef50a4179adec79852c5e2d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4601383298538935023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_47_02_754087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3729149bd19663ed70be79dad3f859b6.jpg","text":"TemporaryFile(/tmp/multipartBody2301117771399974468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176326823,"filename":"image_06012025_14_48_02_914417_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992736","file1":"1326992733","file0":"1326992731","file4":"1326992744","file5":"1326992747","file3":"1326992739"},"map_files_photo_id_array":[{"photo_id":"1326992747","filename":"file5"},{"photo_id":"1326992736","filename":"file2"},{"photo_id":"1326992744","filename":"file4"},{"photo_id":"1326992733","filename":"file1"},{"photo_id":"1326992731","filename":"file0"},{"photo_id":"1326992739","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992744":["hashtag1","hashtag2"]},{"1326992747":["hashtag1","hashtag2"]},{"1326992731":["hashtag1","hashtag2"]},{"1326992739":["hashtag1","hashtag2"]},{"1326992733":["hashtag1","hashtag2"]},{"1326992736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992744, 1326992747, 1326992731, 1326992739, 1326992733, 1326992736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.816230058670044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:11:52.060045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0000.jpg', '/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0001.jpg', '/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0002.jpg', '/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0003.jpg', '/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0000.jpg', '/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0000.jpg
/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0001.jpg
/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0002.jpg
/home/pi/Desktop/images/06012025/14/49/image_06012025_14_49_03_051579_0003.jpg
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0000.jpg
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_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":["1326992944","1326992947","1326992941","1326992923","1326992943","1326992940"],"photo_ids_order":["1326992923","1326992940","1326992941","1326992943","1326992944","1326992947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/991928c3e71cbf1217d32f58571176ff.jpg","text":"TemporaryFile(/tmp/multipartBody5163956679276016491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_50_02_253084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22378cee15dfdcde79c105a753d4b038.jpg","text":"TemporaryFile(/tmp/multipartBody5411291318092663836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_50_02_253084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/595199b4be4a8f8025f696b3c67b10d6.jpg","text":"TemporaryFile(/tmp/multipartBody8270589168433553315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_49_03_051579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/492915dc707582e573e503838c35d3f2.jpg","text":"TemporaryFile(/tmp/multipartBody337942974677196661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_49_03_051579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18755163f14ed3060a5c7323db7c7d90.jpg","text":"TemporaryFile(/tmp/multipartBody679227407627183624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_49_03_051579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d8a91dee9df47fca4d8fbea4dd1b918.jpg","text":"TemporaryFile(/tmp/multipartBody8204743470573646477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176387429,"filename":"image_06012025_14_49_03_051579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326992941","file1":"1326992940","file0":"1326992923","file4":"1326992944","file5":"1326992947","file3":"1326992943"},"map_files_photo_id_array":[{"photo_id":"1326992947","filename":"file5"},{"photo_id":"1326992941","filename":"file2"},{"photo_id":"1326992944","filename":"file4"},{"photo_id":"1326992940","filename":"file1"},{"photo_id":"1326992923","filename":"file0"},{"photo_id":"1326992943","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326992944":["hashtag1","hashtag2"]},{"1326992947":["hashtag1","hashtag2"]},{"1326992941":["hashtag1","hashtag2"]},{"1326992923":["hashtag1","hashtag2"]},{"1326992943":["hashtag1","hashtag2"]},{"1326992940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326992944, 1326992947, 1326992941, 1326992923, 1326992943, 1326992940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.65410614013672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:12:52.214227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0002.jpg', '/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0003.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0000.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0001.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0002.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0002.jpg
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0003.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0000.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0001.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0002.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_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.860053539276123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:13:22.485740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0002.jpg', '/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0003.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0000.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0001.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0002.jpg', '/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0002.jpg
/home/pi/Desktop/images/06012025/14/50/image_06012025_14_50_02_253084_0003.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0000.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0001.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_0002.jpg
/home/pi/Desktop/images/06012025/14/51/image_06012025_14_51_02_436412_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":["1326993011","1326993008","1326993019","1326993024","1326993021","1326993017"],"photo_ids_order":["1326993008","1326993011","1326993017","1326993019","1326993021","1326993024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7adee7456cc25959807098fabc266c78.jpg","text":"TemporaryFile(/tmp/multipartBody8871342063077142428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_50_02_253084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ce16cfc755b55f9677d820819aa39bb.jpg","text":"TemporaryFile(/tmp/multipartBody2835781494269723370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_50_02_253084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8f55df3704896c1fafd112337546660.jpg","text":"TemporaryFile(/tmp/multipartBody6819212381944217231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_51_02_436412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/969409b12c8b5be9b87def62b605d688.jpg","text":"TemporaryFile(/tmp/multipartBody8555170150378162605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_51_02_436412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f43d72422bfc182c450f39b1c132e35.jpg","text":"TemporaryFile(/tmp/multipartBody7084679566584720942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_51_02_436412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e0fcb3df351a39b20e16929db4f3b52.jpg","text":"TemporaryFile(/tmp/multipartBody8116076291792592533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176477719,"filename":"image_06012025_14_51_02_436412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993017","file1":"1326993011","file0":"1326993008","file4":"1326993021","file5":"1326993024","file3":"1326993019"},"map_files_photo_id_array":[{"photo_id":"1326993024","filename":"file5"},{"photo_id":"1326993017","filename":"file2"},{"photo_id":"1326993021","filename":"file4"},{"photo_id":"1326993011","filename":"file1"},{"photo_id":"1326993008","filename":"file0"},{"photo_id":"1326993019","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993011":["hashtag1","hashtag2"]},{"1326993008":["hashtag1","hashtag2"]},{"1326993019":["hashtag1","hashtag2"]},{"1326993024":["hashtag1","hashtag2"]},{"1326993021":["hashtag1","hashtag2"]},{"1326993017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993011, 1326993008, 1326993019, 1326993024, 1326993021, 1326993017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.453283071517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:14:22.593993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0000.jpg', '/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0001.jpg', '/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0002.jpg', '/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0003.jpg', '/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0000.jpg', '/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0000.jpg
/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0001.jpg
/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0002.jpg
/home/pi/Desktop/images/06012025/14/52/image_06012025_14_52_02_651680_0003.jpg
/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0000.jpg
/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_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":["1326993076","1326993064","1326993054","1326993051","1326993071","1326993068"],"photo_ids_order":["1326993051","1326993054","1326993064","1326993068","1326993071","1326993076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f1eb65a1a9ed232ce26241876a48894.jpg","text":"TemporaryFile(/tmp/multipartBody1080383797191406861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_53_02_843911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bc2fedecbcbe5d46cca192dbc594166.jpg","text":"TemporaryFile(/tmp/multipartBody8788874781258684477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_52_02_651680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc981cbd2a1556302ffe91f28bd6ca60.jpg","text":"TemporaryFile(/tmp/multipartBody5820605013735304928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_52_02_651680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/821be20e9e8a7d043e33310ff37011fe.jpg","text":"TemporaryFile(/tmp/multipartBody6080471910032167477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_52_02_651680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94efc807df1e7c238dd9dce883addf49.jpg","text":"TemporaryFile(/tmp/multipartBody1773567775785319141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_53_02_843911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ad9420538f9117d166299d42bce9637.jpg","text":"TemporaryFile(/tmp/multipartBody697683105578068776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176537842,"filename":"image_06012025_14_52_02_651680_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993064","file1":"1326993054","file0":"1326993051","file4":"1326993071","file5":"1326993076","file3":"1326993068"},"map_files_photo_id_array":[{"photo_id":"1326993076","filename":"file5"},{"photo_id":"1326993064","filename":"file2"},{"photo_id":"1326993071","filename":"file4"},{"photo_id":"1326993054","filename":"file1"},{"photo_id":"1326993051","filename":"file0"},{"photo_id":"1326993068","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993076":["hashtag1","hashtag2"]},{"1326993064":["hashtag1","hashtag2"]},{"1326993054":["hashtag1","hashtag2"]},{"1326993051":["hashtag1","hashtag2"]},{"1326993071":["hashtag1","hashtag2"]},{"1326993068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993076, 1326993064, 1326993054, 1326993051, 1326993071, 1326993068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.78476119041443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:15:21.941157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0002.jpg', '/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0003.jpg', '/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0000.jpg', '/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0001.jpg', '/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0002.jpg', '/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0002.jpg
/home/pi/Desktop/images/06012025/14/53/image_06012025_14_53_02_843911_0003.jpg
/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0000.jpg
/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0001.jpg
/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_0002.jpg
/home/pi/Desktop/images/06012025/14/54/image_06012025_14_54_03_057611_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":["1326993088","1326993091","1326993139","1326993144","1326993146","1326993143"],"photo_ids_order":["1326993088","1326993091","1326993139","1326993143","1326993144","1326993146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23a6ccec99e0100234c0d33ace071834.jpg","text":"TemporaryFile(/tmp/multipartBody7669095934665478782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_53_02_843911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cfd2b9e9efe251749582ad78ba393cbf.jpg","text":"TemporaryFile(/tmp/multipartBody386943105896897174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_53_02_843911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50de206e34ddffe886673f105365216a.jpg","text":"TemporaryFile(/tmp/multipartBody774209561841116665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_54_03_057611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2a546fb6ee2c74eaa2f224fe57ea0199.jpg","text":"TemporaryFile(/tmp/multipartBody1932559777896535844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_54_03_057611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/463a110e5b8838fa9dbda6dd2cbf1ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7796531635575101010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_54_03_057611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/402690d17d1fe3b55e3e9510cc8cd407.jpg","text":"TemporaryFile(/tmp/multipartBody5677986490570634181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176597157,"filename":"image_06012025_14_54_03_057611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993139","file1":"1326993091","file0":"1326993088","file4":"1326993144","file5":"1326993146","file3":"1326993143"},"map_files_photo_id_array":[{"photo_id":"1326993146","filename":"file5"},{"photo_id":"1326993139","filename":"file2"},{"photo_id":"1326993144","filename":"file4"},{"photo_id":"1326993091","filename":"file1"},{"photo_id":"1326993088","filename":"file0"},{"photo_id":"1326993143","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993088":["hashtag1","hashtag2"]},{"1326993091":["hashtag1","hashtag2"]},{"1326993139":["hashtag1","hashtag2"]},{"1326993144":["hashtag1","hashtag2"]},{"1326993146":["hashtag1","hashtag2"]},{"1326993143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993088, 1326993091, 1326993139, 1326993144, 1326993146, 1326993143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37082505226135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:16:22.100977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0000.jpg', '/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0001.jpg', '/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0002.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0000.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0001.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0000.jpg
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0001.jpg
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0002.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0000.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0001.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_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.826814889907837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 16:16:42.074048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0000.jpg', '/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0001.jpg', '/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0002.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0000.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0001.jpg', '/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0000.jpg
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0001.jpg
/home/pi/Desktop/images/06012025/14/55/image_06012025_14_55_02_213844_0002.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0000.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_0001.jpg
/home/pi/Desktop/images/06012025/14/56/image_06012025_14_56_02_419208_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":["1326993304","1326993232","1326993273","1326993312","1326993266","1326993269"],"photo_ids_order":["1326993232","1326993266","1326993269","1326993273","1326993304","1326993312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f096e1156295afb90e265d9d1623fc54.jpg","text":"TemporaryFile(/tmp/multipartBody8285044188658317294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_56_02_419208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddcea59d937b719de8e0945669ba2668.jpg","text":"TemporaryFile(/tmp/multipartBody3838293538665015718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_55_02_213844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad08fdb34367bc4d2bed5a77deea25f8.jpg","text":"TemporaryFile(/tmp/multipartBody3470845347687504077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_56_02_419208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e17f56f67d5ca15c85bb4b2f7c57dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4260795059438889471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_56_02_419208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6b125057463b4a5c9c1521b696ef254.jpg","text":"TemporaryFile(/tmp/multipartBody7977091632052525544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_55_02_213844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/062ecd2f3fee468aa1c7aac955424f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7881205362989995874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176677308,"filename":"image_06012025_14_55_02_213844_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993269","file1":"1326993266","file0":"1326993232","file4":"1326993304","file5":"1326993312","file3":"1326993273"},"map_files_photo_id_array":[{"photo_id":"1326993312","filename":"file5"},{"photo_id":"1326993269","filename":"file2"},{"photo_id":"1326993304","filename":"file4"},{"photo_id":"1326993266","filename":"file1"},{"photo_id":"1326993232","filename":"file0"},{"photo_id":"1326993273","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993304":["hashtag1","hashtag2"]},{"1326993232":["hashtag1","hashtag2"]},{"1326993273":["hashtag1","hashtag2"]},{"1326993312":["hashtag1","hashtag2"]},{"1326993266":["hashtag1","hashtag2"]},{"1326993269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993304, 1326993232, 1326993273, 1326993312, 1326993266, 1326993269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63423776626587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 16:17:42.350742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0000.jpg', '/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0001.jpg', '/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0002.jpg', '/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0003.jpg', '/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0000.jpg', '/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0000.jpg
/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0001.jpg
/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0002.jpg
/home/pi/Desktop/images/06012025/14/57/image_06012025_14_57_02_609498_0003.jpg
/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0000.jpg
/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_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":["1326993416","1326993404","1326993412","1326993406","1326993402","1326993410"],"photo_ids_order":["1326993402","1326993404","1326993406","1326993410","1326993412","1326993416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cfd9445be2067b6ac8140a7708a134ee.jpg","text":"TemporaryFile(/tmp/multipartBody6166263506114175811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_58_02_798171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d7f691840a3e896626764fdd5dd8e11.jpg","text":"TemporaryFile(/tmp/multipartBody8687140086185226513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_57_02_609498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d559293b0a151e3ec3fdfd3fdd77d6.jpg","text":"TemporaryFile(/tmp/multipartBody4161115752364770382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_58_02_798171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a3dab0377152d95d655610762d72a55.jpg","text":"TemporaryFile(/tmp/multipartBody1743419885769780428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_57_02_609498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d6a32bdbc768530f013233b47cc10ee.jpg","text":"TemporaryFile(/tmp/multipartBody4863900793630224775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_57_02_609498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0934ac438f7e8a5a176bfb610cfd5ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8766901353590957851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176737586,"filename":"image_06012025_14_57_02_609498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993406","file1":"1326993404","file0":"1326993402","file4":"1326993412","file5":"1326993416","file3":"1326993410"},"map_files_photo_id_array":[{"photo_id":"1326993416","filename":"file5"},{"photo_id":"1326993406","filename":"file2"},{"photo_id":"1326993412","filename":"file4"},{"photo_id":"1326993404","filename":"file1"},{"photo_id":"1326993402","filename":"file0"},{"photo_id":"1326993410","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993416":["hashtag1","hashtag2"]},{"1326993404":["hashtag1","hashtag2"]},{"1326993412":["hashtag1","hashtag2"]},{"1326993406":["hashtag1","hashtag2"]},{"1326993402":["hashtag1","hashtag2"]},{"1326993410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993416, 1326993404, 1326993412, 1326993406, 1326993402, 1326993410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.09674048423767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 16:18:42.497755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0002.jpg', '/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0003.jpg', '/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0000.jpg', '/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0001.jpg', '/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0002.jpg', '/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0002.jpg
/home/pi/Desktop/images/06012025/14/58/image_06012025_14_58_02_798171_0003.jpg
/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0000.jpg
/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0001.jpg
/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_0002.jpg
/home/pi/Desktop/images/06012025/14/59/image_06012025_14_59_03_004626_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":["1326993454","1326993451","1326993462","1326993459","1326993468","1326993464"],"photo_ids_order":["1326993451","1326993454","1326993459","1326993462","1326993464","1326993468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72877a3a4d4ea3c8c4964bd697d46a87.jpg","text":"TemporaryFile(/tmp/multipartBody4200534216932023180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_58_02_798171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1aa40d266ab50faddd89d7584b58bd5b.jpg","text":"TemporaryFile(/tmp/multipartBody5586470464797903889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_58_02_798171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3098b08f7e372749c86f0b32a20ae48a.jpg","text":"TemporaryFile(/tmp/multipartBody4823468858487744486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_59_03_004626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99133910701c37a5a8d581d71a9dac9f.jpg","text":"TemporaryFile(/tmp/multipartBody5784902141384471775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_59_03_004626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6aa4a1aee6401310f57c313a616f4bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3358560936731251436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_59_03_004626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/487d7c12fcb1cff6872504442c0ef335.jpg","text":"TemporaryFile(/tmp/multipartBody4086174588154961468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176797510,"filename":"image_06012025_14_59_03_004626_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993459","file1":"1326993454","file0":"1326993451","file4":"1326993464","file5":"1326993468","file3":"1326993462"},"map_files_photo_id_array":[{"photo_id":"1326993468","filename":"file5"},{"photo_id":"1326993459","filename":"file2"},{"photo_id":"1326993464","filename":"file4"},{"photo_id":"1326993454","filename":"file1"},{"photo_id":"1326993451","filename":"file0"},{"photo_id":"1326993462","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993454":["hashtag1","hashtag2"]},{"1326993451":["hashtag1","hashtag2"]},{"1326993462":["hashtag1","hashtag2"]},{"1326993459":["hashtag1","hashtag2"]},{"1326993468":["hashtag1","hashtag2"]},{"1326993464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993454, 1326993451, 1326993462, 1326993459, 1326993468, 1326993464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49527430534363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 16:19:42.664790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0000.jpg', '/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0001.jpg', '/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0002.jpg', '/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0003.jpg', '/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0000.jpg', '/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0000.jpg
/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0001.jpg
/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0002.jpg
/home/pi/Desktop/images/06012025/15/00/image_06012025_15_00_03_154798_0003.jpg
/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0000.jpg
/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_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":["1326993490","1326993493","1326993535","1326993531","1326993491","1326993542"],"photo_ids_order":["1326993490","1326993491","1326993493","1326993531","1326993535","1326993542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b294fe9b324e6f2378f34e080530034a.jpg","text":"TemporaryFile(/tmp/multipartBody3655630916447987949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_00_03_154798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c271143bd99846660ae31535a893a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody7425482325410763130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_00_03_154798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93f88505f0dafb569f7f1959c8545c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3575904604926149375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_01_02_385811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04a8d2f1372082970a34daf920c2066f.jpg","text":"TemporaryFile(/tmp/multipartBody5460268661595807070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_00_03_154798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ef9437e571fd5196710dfac3a01b2b9.jpg","text":"TemporaryFile(/tmp/multipartBody8618572884116111299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_00_03_154798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66ce30cb1d1eaab3d669aa5de08927b8.jpg","text":"TemporaryFile(/tmp/multipartBody6130822756839225865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176857898,"filename":"image_06012025_15_01_02_385811_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993493","file1":"1326993491","file0":"1326993490","file4":"1326993535","file5":"1326993542","file3":"1326993531"},"map_files_photo_id_array":[{"photo_id":"1326993542","filename":"file5"},{"photo_id":"1326993493","filename":"file2"},{"photo_id":"1326993535","filename":"file4"},{"photo_id":"1326993491","filename":"file1"},{"photo_id":"1326993490","filename":"file0"},{"photo_id":"1326993531","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993490":["hashtag1","hashtag2"]},{"1326993493":["hashtag1","hashtag2"]},{"1326993535":["hashtag1","hashtag2"]},{"1326993531":["hashtag1","hashtag2"]},{"1326993491":["hashtag1","hashtag2"]},{"1326993542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993490, 1326993493, 1326993535, 1326993531, 1326993491, 1326993542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98360991477966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 16:20:41.927239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0002.jpg', '/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0003.jpg', '/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0000.jpg', '/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0001.jpg', '/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0002.jpg', '/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0002.jpg
/home/pi/Desktop/images/06012025/15/01/image_06012025_15_01_02_385811_0003.jpg
/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0000.jpg
/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0001.jpg
/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_0002.jpg
/home/pi/Desktop/images/06012025/15/02/image_06012025_15_02_02_535920_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":["1326993602","1326993574","1326993599","1326993590","1326993563","1326993557"],"photo_ids_order":["1326993557","1326993563","1326993574","1326993590","1326993599","1326993602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb6b492ad5f341302e4a48751489f253.jpg","text":"TemporaryFile(/tmp/multipartBody226449002584201872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_02_02_535920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82c31196a073fa9f7622e30196f5d851.jpg","text":"TemporaryFile(/tmp/multipartBody7119811867308096439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_02_02_535920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca88783aebd151f3c63237d1b8fba189.jpg","text":"TemporaryFile(/tmp/multipartBody2821511243111083581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_02_02_535920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bada1c0bfce400b03af71713ec258f34.jpg","text":"TemporaryFile(/tmp/multipartBody5715022372230381342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_02_02_535920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35944287c526f0e90398b80969f955a2.jpg","text":"TemporaryFile(/tmp/multipartBody3709173523921723394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_01_02_385811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/449b2329957e3320d7bb19e8c78bf0e1.jpg","text":"TemporaryFile(/tmp/multipartBody7758658792490388514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176917232,"filename":"image_06012025_15_01_02_385811_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993574","file1":"1326993563","file0":"1326993557","file4":"1326993599","file5":"1326993602","file3":"1326993590"},"map_files_photo_id_array":[{"photo_id":"1326993602","filename":"file5"},{"photo_id":"1326993574","filename":"file2"},{"photo_id":"1326993599","filename":"file4"},{"photo_id":"1326993563","filename":"file1"},{"photo_id":"1326993557","filename":"file0"},{"photo_id":"1326993590","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993602":["hashtag1","hashtag2"]},{"1326993574":["hashtag1","hashtag2"]},{"1326993599":["hashtag1","hashtag2"]},{"1326993590":["hashtag1","hashtag2"]},{"1326993563":["hashtag1","hashtag2"]},{"1326993557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993602, 1326993574, 1326993599, 1326993590, 1326993563, 1326993557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.376134634017944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:21:52.014692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0000.jpg', '/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0001.jpg', '/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0002.jpg', '/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0003.jpg', '/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_0000.jpg', '/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0000.jpg
/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0001.jpg
/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0002.jpg
/home/pi/Desktop/images/06012025/15/03/image_06012025_15_03_02_688425_0003.jpg
/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_0000.jpg
/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_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":["1326993620","1326993622","1326993616","1326993625","1326993618","1326993629"],"photo_ids_order":["1326993616","1326993618","1326993620","1326993622","1326993625","1326993629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/118b552d7a9f6c840a8872d950056f57.jpg","text":"TemporaryFile(/tmp/multipartBody3597368622059005114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_03_02_688425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbe5ab7dfd9303a3a6e9588986b4c533.jpg","text":"TemporaryFile(/tmp/multipartBody2504454657698337291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_03_02_688425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25d69598595dfb8d29e2bcfa0fe90fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1998874536003562401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_03_02_688425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5429f99966c33d086b5566fa2613ebde.jpg","text":"TemporaryFile(/tmp/multipartBody1361937510937483063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_04_02_901866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b569cf12d5251a9c74c11111d2d1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3061335993333468754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_03_02_688425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c717d1c50e7093e9827f6b938195e552.jpg","text":"TemporaryFile(/tmp/multipartBody7006253418231861728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736176987373,"filename":"image_06012025_15_04_02_901866_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993620","file1":"1326993618","file0":"1326993616","file4":"1326993625","file5":"1326993629","file3":"1326993622"},"map_files_photo_id_array":[{"photo_id":"1326993629","filename":"file5"},{"photo_id":"1326993620","filename":"file2"},{"photo_id":"1326993625","filename":"file4"},{"photo_id":"1326993618","filename":"file1"},{"photo_id":"1326993616","filename":"file0"},{"photo_id":"1326993622","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993620":["hashtag1","hashtag2"]},{"1326993622":["hashtag1","hashtag2"]},{"1326993616":["hashtag1","hashtag2"]},{"1326993625":["hashtag1","hashtag2"]},{"1326993618":["hashtag1","hashtag2"]},{"1326993629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993620, 1326993622, 1326993616, 1326993625, 1326993618, 1326993629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04345202445984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:22:52.246732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_0003.jpg', '/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0000.jpg', '/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0001.jpg', '/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0002.jpg', '/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0003.jpg', '/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/04/image_06012025_15_04_02_901866_0003.jpg
/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0000.jpg
/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0001.jpg
/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0002.jpg
/home/pi/Desktop/images/06012025/15/05/image_06012025_15_05_03_166562_0003.jpg
/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_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":["1326993670","1326993664","1326993637","1326993639","1326993648","1326993641"],"photo_ids_order":["1326993637","1326993639","1326993641","1326993648","1326993664","1326993670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2842eee420bdb8f40ee99f9a908b02c.jpg","text":"TemporaryFile(/tmp/multipartBody3465989522169801085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_06_02_289376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c54e048ee84d708dbe280b3138a80ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1381392185604444942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_05_03_166562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d59b7aa4f5478e2361341fdcd65c3b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7591595297324205497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_04_02_901866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f45c6831be97f7fc2706e82f4e4d3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2038501016085748548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_05_03_166562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ae3820c13e0c12217d4486eba73b920.jpg","text":"TemporaryFile(/tmp/multipartBody2542573237920411625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_05_03_166562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a7f709a2611800a18a6a73a2dea29152.jpg","text":"TemporaryFile(/tmp/multipartBody8470965790857155707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177047625,"filename":"image_06012025_15_05_03_166562_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993641","file1":"1326993639","file0":"1326993637","file4":"1326993664","file5":"1326993670","file3":"1326993648"},"map_files_photo_id_array":[{"photo_id":"1326993670","filename":"file5"},{"photo_id":"1326993641","filename":"file2"},{"photo_id":"1326993664","filename":"file4"},{"photo_id":"1326993639","filename":"file1"},{"photo_id":"1326993637","filename":"file0"},{"photo_id":"1326993648","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993670":["hashtag1","hashtag2"]},{"1326993664":["hashtag1","hashtag2"]},{"1326993637":["hashtag1","hashtag2"]},{"1326993639":["hashtag1","hashtag2"]},{"1326993648":["hashtag1","hashtag2"]},{"1326993641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993670, 1326993664, 1326993637, 1326993639, 1326993648, 1326993641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.45287108421326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:23:52.433157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0001.jpg', '/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0002.jpg', '/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0003.jpg', '/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_0001.jpg', '/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_0002.jpg', '/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0001.jpg
/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0002.jpg
/home/pi/Desktop/images/06012025/15/06/image_06012025_15_06_02_289376_0003.jpg
/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_0001.jpg
/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_0002.jpg
/home/pi/Desktop/images/06012025/15/07/image_06012025_15_07_02_455736_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":["1326993880","1326993838","1326993829","1326993876","1326993828","1326993827"],"photo_ids_order":["1326993827","1326993828","1326993829","1326993838","1326993876","1326993880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b2060b58e29b82e0ff989f2910780d1.jpg","text":"TemporaryFile(/tmp/multipartBody3312061807723420783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_07_02_455736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0ace68e7d328c873b337fa407df6a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2380100226813701844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_07_02_455736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96c5e98e64b306646fdacadc31f8edfb.jpg","text":"TemporaryFile(/tmp/multipartBody6948453995479228919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_06_02_289376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6393abf917a55c5cddf9f50b1fbe370.jpg","text":"TemporaryFile(/tmp/multipartBody2877156766541304463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_07_02_455736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac0d30e94ed6f9983078f04e583889da.jpg","text":"TemporaryFile(/tmp/multipartBody5062452782018573112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_06_02_289376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15ad9ea0b38871a68aabc7a166993488.jpg","text":"TemporaryFile(/tmp/multipartBody7155142322578902647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177107695,"filename":"image_06012025_15_06_02_289376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993829","file1":"1326993828","file0":"1326993827","file4":"1326993876","file5":"1326993880","file3":"1326993838"},"map_files_photo_id_array":[{"photo_id":"1326993880","filename":"file5"},{"photo_id":"1326993829","filename":"file2"},{"photo_id":"1326993876","filename":"file4"},{"photo_id":"1326993828","filename":"file1"},{"photo_id":"1326993827","filename":"file0"},{"photo_id":"1326993838","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993880":["hashtag1","hashtag2"]},{"1326993838":["hashtag1","hashtag2"]},{"1326993829":["hashtag1","hashtag2"]},{"1326993876":["hashtag1","hashtag2"]},{"1326993828":["hashtag1","hashtag2"]},{"1326993827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993880, 1326993838, 1326993829, 1326993876, 1326993828, 1326993827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.67661261558533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:24:52.603896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0000.jpg', '/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0001.jpg', '/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0002.jpg', '/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0003.jpg', '/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0000.jpg', '/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0000.jpg
/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0001.jpg
/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0002.jpg
/home/pi/Desktop/images/06012025/15/08/image_06012025_15_08_02_693005_0003.jpg
/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0000.jpg
/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_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":["1326993943","1326993937","1326993934","1326993930","1326993947","1326993941"],"photo_ids_order":["1326993930","1326993934","1326993937","1326993941","1326993943","1326993947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba8db3954108b9dc6688506240abb0bf.jpg","text":"TemporaryFile(/tmp/multipartBody4411263626676080446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_09_02_901964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c42cd820a7ca1a98ef3d52c065af4e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2155672558891954290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_08_02_693005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e31e6b911b88ee2a65a127cf4ff45d18.jpg","text":"TemporaryFile(/tmp/multipartBody8198445851381081609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_08_02_693005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/24358120e3d14996f00374347ec25747.jpg","text":"TemporaryFile(/tmp/multipartBody5267459045096654492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_08_02_693005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b9110c06f7fd6ec1d29289d3fb58209.jpg","text":"TemporaryFile(/tmp/multipartBody7897593361949270709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_09_02_901964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/951a45265f9232dc0c218f1716fa4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody1046545797053666749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177167880,"filename":"image_06012025_15_08_02_693005_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993937","file1":"1326993934","file0":"1326993930","file4":"1326993943","file5":"1326993947","file3":"1326993941"},"map_files_photo_id_array":[{"photo_id":"1326993947","filename":"file5"},{"photo_id":"1326993937","filename":"file2"},{"photo_id":"1326993943","filename":"file4"},{"photo_id":"1326993934","filename":"file1"},{"photo_id":"1326993930","filename":"file0"},{"photo_id":"1326993941","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993943":["hashtag1","hashtag2"]},{"1326993937":["hashtag1","hashtag2"]},{"1326993934":["hashtag1","hashtag2"]},{"1326993930":["hashtag1","hashtag2"]},{"1326993947":["hashtag1","hashtag2"]},{"1326993941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993943, 1326993937, 1326993934, 1326993930, 1326993947, 1326993941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.001237630844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:25:51.734290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0002.jpg', '/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0003.jpg', '/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0000.jpg', '/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0001.jpg', '/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0002.jpg', '/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0002.jpg
/home/pi/Desktop/images/06012025/15/09/image_06012025_15_09_02_901964_0003.jpg
/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0000.jpg
/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0001.jpg
/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_0002.jpg
/home/pi/Desktop/images/06012025/15/10/image_06012025_15_10_03_056066_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":["1326993970","1326993966","1326993981","1326993963","1326993962","1326993959"],"photo_ids_order":["1326993959","1326993962","1326993963","1326993966","1326993970","1326993981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a68db151b9a087f08d59f55b13261295.jpg","text":"TemporaryFile(/tmp/multipartBody6458748144126619047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_10_03_056066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98125721cc9ef3306b2ad587b2990b1a.jpg","text":"TemporaryFile(/tmp/multipartBody956708485600328174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_10_03_056066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa644d4a559938cf1f03c6d4cb8df240.jpg","text":"TemporaryFile(/tmp/multipartBody4227938942902252178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_10_03_056066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34975707983627c4004cf2ede11db62a.jpg","text":"TemporaryFile(/tmp/multipartBody7796791919648901042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_10_03_056066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a593b1c7dfdcd869f09008460bfe555.jpg","text":"TemporaryFile(/tmp/multipartBody5270255064565393255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_09_02_901964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/442e402861efb594a05cca475d485a0c.jpg","text":"TemporaryFile(/tmp/multipartBody3603198319291335492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177227048,"filename":"image_06012025_15_09_02_901964_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326993963","file1":"1326993962","file0":"1326993959","file4":"1326993970","file5":"1326993981","file3":"1326993966"},"map_files_photo_id_array":[{"photo_id":"1326993981","filename":"file5"},{"photo_id":"1326993963","filename":"file2"},{"photo_id":"1326993970","filename":"file4"},{"photo_id":"1326993962","filename":"file1"},{"photo_id":"1326993959","filename":"file0"},{"photo_id":"1326993966","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326993970":["hashtag1","hashtag2"]},{"1326993966":["hashtag1","hashtag2"]},{"1326993981":["hashtag1","hashtag2"]},{"1326993963":["hashtag1","hashtag2"]},{"1326993962":["hashtag1","hashtag2"]},{"1326993959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326993970, 1326993966, 1326993981, 1326993963, 1326993962, 1326993959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48499345779419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:26:51.940447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0000.jpg', '/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0001.jpg', '/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0002.jpg', '/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0003.jpg', '/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_0000.jpg', '/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0000.jpg
/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0001.jpg
/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0002.jpg
/home/pi/Desktop/images/06012025/15/11/image_06012025_15_11_02_269794_0003.jpg
/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_0000.jpg
/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_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":["1326994156","1326994213","1326994209","1326994203","1326994160","1326994163"],"photo_ids_order":["1326994156","1326994160","1326994163","1326994203","1326994209","1326994213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97d1a8133fc31740ec330c7e0347cecc.jpg","text":"TemporaryFile(/tmp/multipartBody4163520766669878129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_11_02_269794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0fbded77bdcbc4c829c48f1890c7b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7165239677461126414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_12_02_450593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eb6cc0c956af9be4fabe8d5c6411ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8052668785931642367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_12_02_450593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d5c89b9c2490a2c08d4ebee1b8ae71b.jpg","text":"TemporaryFile(/tmp/multipartBody5101597702777653183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_11_02_269794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3294f13ea2efa22ff2d6908dd07913e.jpg","text":"TemporaryFile(/tmp/multipartBody7656266500589701956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_11_02_269794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17c8a613da6f9affb0d7758bd99e626f.jpg","text":"TemporaryFile(/tmp/multipartBody5426776168137588264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177287281,"filename":"image_06012025_15_11_02_269794_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994163","file1":"1326994160","file0":"1326994156","file4":"1326994209","file5":"1326994213","file3":"1326994203"},"map_files_photo_id_array":[{"photo_id":"1326994213","filename":"file5"},{"photo_id":"1326994163","filename":"file2"},{"photo_id":"1326994209","filename":"file4"},{"photo_id":"1326994160","filename":"file1"},{"photo_id":"1326994156","filename":"file0"},{"photo_id":"1326994203","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994156":["hashtag1","hashtag2"]},{"1326994213":["hashtag1","hashtag2"]},{"1326994209":["hashtag1","hashtag2"]},{"1326994203":["hashtag1","hashtag2"]},{"1326994160":["hashtag1","hashtag2"]},{"1326994163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994156, 1326994213, 1326994209, 1326994203, 1326994160, 1326994163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.19866752624512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:27:52.154866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_0003.jpg', '/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0000.jpg', '/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0001.jpg', '/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0002.jpg', '/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0003.jpg', '/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/12/image_06012025_15_12_02_450593_0003.jpg
/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0000.jpg
/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0001.jpg
/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0002.jpg
/home/pi/Desktop/images/06012025/15/13/image_06012025_15_13_02_704904_0003.jpg
/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_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":["1326994249","1326994240","1326994243","1326994306","1326994262","1326994246"],"photo_ids_order":["1326994240","1326994243","1326994246","1326994249","1326994262","1326994306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01be5643ada4283190a867c110f8f3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4129466948048944105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_13_02_704904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f0f695f13165132e96a2804ccf91842.jpg","text":"TemporaryFile(/tmp/multipartBody3013912703726746669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_12_02_450593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28e49f056c62bc8feeab53919b022596.jpg","text":"TemporaryFile(/tmp/multipartBody105042469413302311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_13_02_704904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4486b2f23a6b080ef7fa2c796ffc4788.jpg","text":"TemporaryFile(/tmp/multipartBody8445100457417498687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_14_02_845649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3aa84d7a0c2137302cd1bb87eccadf0.jpg","text":"TemporaryFile(/tmp/multipartBody6558070351552947073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_13_02_704904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/473b48c32b0d57aae727c05c1c94ba17.jpg","text":"TemporaryFile(/tmp/multipartBody8615841835537917191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177347257,"filename":"image_06012025_15_13_02_704904_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994246","file1":"1326994243","file0":"1326994240","file4":"1326994262","file5":"1326994306","file3":"1326994249"},"map_files_photo_id_array":[{"photo_id":"1326994306","filename":"file5"},{"photo_id":"1326994246","filename":"file2"},{"photo_id":"1326994262","filename":"file4"},{"photo_id":"1326994243","filename":"file1"},{"photo_id":"1326994240","filename":"file0"},{"photo_id":"1326994249","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994249":["hashtag1","hashtag2"]},{"1326994240":["hashtag1","hashtag2"]},{"1326994243":["hashtag1","hashtag2"]},{"1326994306":["hashtag1","hashtag2"]},{"1326994262":["hashtag1","hashtag2"]},{"1326994246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994249, 1326994240, 1326994243, 1326994306, 1326994262, 1326994246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66951942443848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:28:52.318307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0001.jpg', '/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0002.jpg', '/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0003.jpg', '/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0000.jpg', '/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0001.jpg', '/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0001.jpg
/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0002.jpg
/home/pi/Desktop/images/06012025/15/14/image_06012025_15_14_02_845649_0003.jpg
/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0000.jpg
/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0001.jpg
/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_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":["1326994537","1326994419","1326994353","1326994347","1326994358","1326994366"],"photo_ids_order":["1326994347","1326994353","1326994358","1326994366","1326994419","1326994537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9143ac19cc75baa726114a2221219e50.jpg","text":"TemporaryFile(/tmp/multipartBody8356804474005559664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_15_03_079180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25ece10322943eaf73e97fa5c9ce3751.jpg","text":"TemporaryFile(/tmp/multipartBody2944523003715949705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_15_03_079180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95e6ba9b74b56b0c3827bee0a2dff83c.jpg","text":"TemporaryFile(/tmp/multipartBody183109073052316506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_14_02_845649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b729dfe26847433d72e76152764e64e.jpg","text":"TemporaryFile(/tmp/multipartBody5806436179913678706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_14_02_845649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30342e29253b534a328cce34a92a121c.jpg","text":"TemporaryFile(/tmp/multipartBody19680223373997194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_14_02_845649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e3aadfd20ab9a00d2a62ac7dd93be79.jpg","text":"TemporaryFile(/tmp/multipartBody4762134599696744968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177407116,"filename":"image_06012025_15_15_03_079180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994358","file1":"1326994353","file0":"1326994347","file4":"1326994419","file5":"1326994537","file3":"1326994366"},"map_files_photo_id_array":[{"photo_id":"1326994537","filename":"file5"},{"photo_id":"1326994358","filename":"file2"},{"photo_id":"1326994419","filename":"file4"},{"photo_id":"1326994353","filename":"file1"},{"photo_id":"1326994347","filename":"file0"},{"photo_id":"1326994366","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994537":["hashtag1","hashtag2"]},{"1326994419":["hashtag1","hashtag2"]},{"1326994353":["hashtag1","hashtag2"]},{"1326994347":["hashtag1","hashtag2"]},{"1326994358":["hashtag1","hashtag2"]},{"1326994366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994537, 1326994419, 1326994353, 1326994347, 1326994358, 1326994366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.23778557777405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:29:52.561539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0003.jpg', '/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0000.jpg', '/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0001.jpg', '/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0002.jpg', '/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0003.jpg', '/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/15/image_06012025_15_15_03_079180_0003.jpg
/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0000.jpg
/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0001.jpg
/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0002.jpg
/home/pi/Desktop/images/06012025/15/16/image_06012025_15_16_02_313780_0003.jpg
/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_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":["1326994575","1326994554","1326994548","1326994565","1326994559","1326994570"],"photo_ids_order":["1326994548","1326994554","1326994559","1326994565","1326994570","1326994575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddfd245dde89848e61719e8e9ca6f02e.jpg","text":"TemporaryFile(/tmp/multipartBody5577833169086908605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_17_02_437890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ac3f14e3885869590c2845d1e7f2a02.jpg","text":"TemporaryFile(/tmp/multipartBody4832026196928372241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_16_02_313780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/375966d56d38d6e288ffebd603a756c3.jpg","text":"TemporaryFile(/tmp/multipartBody3315341651623081031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_15_03_079180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a232e32cda4a28c0de4c276b3b4dbafe.jpg","text":"TemporaryFile(/tmp/multipartBody6416761380891674560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_16_02_313780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c4f7c6e753d9c57d29cf707ecedb64f.jpg","text":"TemporaryFile(/tmp/multipartBody5327891495177302815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_16_02_313780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd77062181058bd684ae02064c202aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5326367341586176181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177467500,"filename":"image_06012025_15_16_02_313780_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994559","file1":"1326994554","file0":"1326994548","file4":"1326994570","file5":"1326994575","file3":"1326994565"},"map_files_photo_id_array":[{"photo_id":"1326994575","filename":"file5"},{"photo_id":"1326994559","filename":"file2"},{"photo_id":"1326994570","filename":"file4"},{"photo_id":"1326994554","filename":"file1"},{"photo_id":"1326994548","filename":"file0"},{"photo_id":"1326994565","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994575":["hashtag1","hashtag2"]},{"1326994554":["hashtag1","hashtag2"]},{"1326994548":["hashtag1","hashtag2"]},{"1326994565":["hashtag1","hashtag2"]},{"1326994559":["hashtag1","hashtag2"]},{"1326994570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994575, 1326994554, 1326994548, 1326994565, 1326994559, 1326994570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.0920295715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:30:52.758194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_0001.jpg', '/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_0003.jpg', '/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0000.jpg', '/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0002.jpg', '/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0003.jpg', '/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_0001.jpg
/home/pi/Desktop/images/06012025/15/17/image_06012025_15_17_02_437890_0003.jpg
/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0000.jpg
/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0002.jpg
/home/pi/Desktop/images/06012025/15/18/image_06012025_15_18_02_632532_0003.jpg
/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_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":["1326994587","1326994596","1326994613","1326994610","1326994594","1326994591"],"photo_ids_order":["1326994587","1326994591","1326994594","1326994596","1326994610","1326994613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9eb45ced7f3a2a29e30670909005e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1682794369934324771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_17_02_437890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9805b4b053fbf363b2c170ff37c513f9.jpg","text":"TemporaryFile(/tmp/multipartBody7502860717877330860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_18_02_632532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/975c51cc75a8e72b1252ac4df2aecfb0.jpg","text":"TemporaryFile(/tmp/multipartBody1899523822887658524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_19_02_732117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20277831965065587770fb03fdb67cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8269663476484328403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_18_02_632532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/733a51bc0ce2c2f283289b06ddab64b7.jpg","text":"TemporaryFile(/tmp/multipartBody4639971249549460198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_18_02_632532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86a8a9ff49bcfbbcd02b9bbbe4437cc0.jpg","text":"TemporaryFile(/tmp/multipartBody689484289573893408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177527326,"filename":"image_06012025_15_17_02_437890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994594","file1":"1326994591","file0":"1326994587","file4":"1326994610","file5":"1326994613","file3":"1326994596"},"map_files_photo_id_array":[{"photo_id":"1326994613","filename":"file5"},{"photo_id":"1326994594","filename":"file2"},{"photo_id":"1326994610","filename":"file4"},{"photo_id":"1326994591","filename":"file1"},{"photo_id":"1326994587","filename":"file0"},{"photo_id":"1326994596","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994587":["hashtag1","hashtag2"]},{"1326994596":["hashtag1","hashtag2"]},{"1326994613":["hashtag1","hashtag2"]},{"1326994610":["hashtag1","hashtag2"]},{"1326994594":["hashtag1","hashtag2"]},{"1326994591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994587, 1326994596, 1326994613, 1326994610, 1326994594, 1326994591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.620113372802734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:31:51.931053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0001.jpg', '/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0002.jpg', '/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0003.jpg', '/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0000.jpg', '/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0001.jpg', '/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0001.jpg
/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0002.jpg
/home/pi/Desktop/images/06012025/15/19/image_06012025_15_19_02_732117_0003.jpg
/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0000.jpg
/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0001.jpg
/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_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":["1326994630","1326994633","1326994665","1326994623","1326994713","1326994709"],"photo_ids_order":["1326994623","1326994630","1326994633","1326994665","1326994709","1326994713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae302c772a02f802dac78b6f8f98da5b.jpg","text":"TemporaryFile(/tmp/multipartBody4646106624272703774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_19_02_732117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b576b7cd0e0fd7a81bf7914f2933a72.jpg","text":"TemporaryFile(/tmp/multipartBody7111572414019883284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_19_02_732117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99d6b9fb878483bcdd4c65043c78cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody6904997480863444212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_20_03_039014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05dd9477998242d28b419204633df0d6.jpg","text":"TemporaryFile(/tmp/multipartBody6764920584456298250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_19_02_732117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/159d684ab16af3473e3a8762829a9d18.jpg","text":"TemporaryFile(/tmp/multipartBody3925535363892478559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_20_03_039014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/842ce3a7f9ea35844bf3c57b535df2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4326700048910405678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177586695,"filename":"image_06012025_15_20_03_039014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994633","file1":"1326994630","file0":"1326994623","file4":"1326994709","file5":"1326994713","file3":"1326994665"},"map_files_photo_id_array":[{"photo_id":"1326994713","filename":"file5"},{"photo_id":"1326994633","filename":"file2"},{"photo_id":"1326994709","filename":"file4"},{"photo_id":"1326994630","filename":"file1"},{"photo_id":"1326994623","filename":"file0"},{"photo_id":"1326994665","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994630":["hashtag1","hashtag2"]},{"1326994633":["hashtag1","hashtag2"]},{"1326994665":["hashtag1","hashtag2"]},{"1326994623":["hashtag1","hashtag2"]},{"1326994713":["hashtag1","hashtag2"]},{"1326994709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994630, 1326994633, 1326994665, 1326994623, 1326994713, 1326994709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.70040988922119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:32:52.130008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0003.jpg', '/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0000.jpg', '/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0001.jpg', '/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0002.jpg', '/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0003.jpg', '/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/20/image_06012025_15_20_03_039014_0003.jpg
/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0000.jpg
/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0001.jpg
/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0002.jpg
/home/pi/Desktop/images/06012025/15/21/image_06012025_15_21_02_133745_0003.jpg
/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_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":["1326994729","1326994740","1326994743","1326994725","1326994721","1326994735"],"photo_ids_order":["1326994721","1326994725","1326994729","1326994735","1326994740","1326994743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d64e831e30d736adf603050f914c5ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5712587804457584077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_21_02_133745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7482d1a15b1832439cc69950aab873a.jpg","text":"TemporaryFile(/tmp/multipartBody580759578974297483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_21_02_133745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29e8f3613d401ce03a5a74c663758a33.jpg","text":"TemporaryFile(/tmp/multipartBody7181853933956541707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_22_02_318635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0db4e3d28ace98cac54f3b40d9ea2eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6614343525291262165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_21_02_133745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b2d374f3193d67173c6799810a85c93.jpg","text":"TemporaryFile(/tmp/multipartBody8861493555107324621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_20_03_039014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbdcac7ec99db5bd2cb7df46e08c7819.jpg","text":"TemporaryFile(/tmp/multipartBody4131878663090758692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177646923,"filename":"image_06012025_15_21_02_133745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994729","file1":"1326994725","file0":"1326994721","file4":"1326994740","file5":"1326994743","file3":"1326994735"},"map_files_photo_id_array":[{"photo_id":"1326994743","filename":"file5"},{"photo_id":"1326994729","filename":"file2"},{"photo_id":"1326994740","filename":"file4"},{"photo_id":"1326994725","filename":"file1"},{"photo_id":"1326994721","filename":"file0"},{"photo_id":"1326994735","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994729":["hashtag1","hashtag2"]},{"1326994740":["hashtag1","hashtag2"]},{"1326994743":["hashtag1","hashtag2"]},{"1326994725":["hashtag1","hashtag2"]},{"1326994721":["hashtag1","hashtag2"]},{"1326994735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994729, 1326994740, 1326994743, 1326994725, 1326994721, 1326994735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1945013999939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:33:52.324364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0001.jpg', '/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0002.jpg', '/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0003.jpg', '/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0000.jpg', '/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0001.jpg', '/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0001.jpg
/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0002.jpg
/home/pi/Desktop/images/06012025/15/22/image_06012025_15_22_02_318635_0003.jpg
/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0000.jpg
/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0001.jpg
/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_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":["1326994764","1326994757","1326994751","1326994760","1326994754","1326994768"],"photo_ids_order":["1326994751","1326994754","1326994757","1326994760","1326994764","1326994768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e34ee5de747b0220b374b015912d3396.jpg","text":"TemporaryFile(/tmp/multipartBody6525678947562203842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_23_02_454478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/349f25e2b3d8aa0467eb6ced5c37cef3.jpg","text":"TemporaryFile(/tmp/multipartBody5964798171444728387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_22_02_318635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5200f0e664c5f250c535fa238e3bfb32.jpg","text":"TemporaryFile(/tmp/multipartBody5733019542879947149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_22_02_318635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/500f2abb1cf35d54512ed4e421bfff12.jpg","text":"TemporaryFile(/tmp/multipartBody1785307245089910038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_23_02_454478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/49974d7b0cc7fb1df6245993d2025860.jpg","text":"TemporaryFile(/tmp/multipartBody418804950773588971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_22_02_318635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a6ef323b0999bc2700f898da332474a.jpg","text":"TemporaryFile(/tmp/multipartBody6598886873538827089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177707297,"filename":"image_06012025_15_23_02_454478_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994757","file1":"1326994754","file0":"1326994751","file4":"1326994764","file5":"1326994768","file3":"1326994760"},"map_files_photo_id_array":[{"photo_id":"1326994768","filename":"file5"},{"photo_id":"1326994757","filename":"file2"},{"photo_id":"1326994764","filename":"file4"},{"photo_id":"1326994754","filename":"file1"},{"photo_id":"1326994751","filename":"file0"},{"photo_id":"1326994760","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994764":["hashtag1","hashtag2"]},{"1326994757":["hashtag1","hashtag2"]},{"1326994751":["hashtag1","hashtag2"]},{"1326994760":["hashtag1","hashtag2"]},{"1326994754":["hashtag1","hashtag2"]},{"1326994768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994764, 1326994757, 1326994751, 1326994760, 1326994754, 1326994768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.254891872406006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:34:52.479594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0003.jpg', '/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0001.jpg', '/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0002.jpg', '/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0003.jpg', '/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0000.jpg', '/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/23/image_06012025_15_23_02_454478_0003.jpg
/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0001.jpg
/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0002.jpg
/home/pi/Desktop/images/06012025/15/24/image_06012025_15_24_02_684783_0003.jpg
/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0000.jpg
/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_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":["1326994942","1326994935","1326994929","1326994938","1326994946","1326994948"],"photo_ids_order":["1326994929","1326994935","1326994938","1326994942","1326994946","1326994948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f8a83e874f6ba6831968140f08c26f1.jpg","text":"TemporaryFile(/tmp/multipartBody7664809813444945660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_24_02_684783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b61f94bbb0d71812c4f0ce25a72fabc.jpg","text":"TemporaryFile(/tmp/multipartBody680563233260534849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_24_02_684783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a5076263b0174d388c3218bcbd6ec43.jpg","text":"TemporaryFile(/tmp/multipartBody602043426814370765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_23_02_454478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab1351eae63584d18873408b94057c95.jpg","text":"TemporaryFile(/tmp/multipartBody8203820960974948025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_24_02_684783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/647f1057681cdabc72a396730c5c9a58.jpg","text":"TemporaryFile(/tmp/multipartBody6529287868085198934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_25_02_873125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f3fbb31165602c14a42d8246eb78d8a1.jpg","text":"TemporaryFile(/tmp/multipartBody5644221746310409055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177767325,"filename":"image_06012025_15_25_02_873125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326994938","file1":"1326994935","file0":"1326994929","file4":"1326994946","file5":"1326994948","file3":"1326994942"},"map_files_photo_id_array":[{"photo_id":"1326994948","filename":"file5"},{"photo_id":"1326994938","filename":"file2"},{"photo_id":"1326994946","filename":"file4"},{"photo_id":"1326994935","filename":"file1"},{"photo_id":"1326994929","filename":"file0"},{"photo_id":"1326994942","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326994942":["hashtag1","hashtag2"]},{"1326994935":["hashtag1","hashtag2"]},{"1326994929":["hashtag1","hashtag2"]},{"1326994938":["hashtag1","hashtag2"]},{"1326994946":["hashtag1","hashtag2"]},{"1326994948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326994942, 1326994935, 1326994929, 1326994938, 1326994946, 1326994948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.270721435546875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:35:52.666402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0002.jpg', '/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0003.jpg', '/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0000.jpg', '/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0001.jpg', '/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0002.jpg', '/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0002.jpg
/home/pi/Desktop/images/06012025/15/25/image_06012025_15_25_02_873125_0003.jpg
/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0000.jpg
/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0001.jpg
/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_0002.jpg
/home/pi/Desktop/images/06012025/15/26/image_06012025_15_26_03_081068_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":["1326995043","1326995036","1326995045","1326995033","1326995041","1326995038"],"photo_ids_order":["1326995033","1326995036","1326995038","1326995041","1326995043","1326995045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73b955326585aaa94e685781561767a8.jpg","text":"TemporaryFile(/tmp/multipartBody4892542464682870498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_26_03_081068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/539308fbc5803b0786005f2f4547204c.jpg","text":"TemporaryFile(/tmp/multipartBody7259307597510307630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_25_02_873125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/048fec4608fc677b8a882092935bae37.jpg","text":"TemporaryFile(/tmp/multipartBody3224240979690799677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_26_03_081068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc2aca627ced05a6a95f1919255d3c8d.jpg","text":"TemporaryFile(/tmp/multipartBody65552644595699313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_25_02_873125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94944e8375905b7e292ce88dad24b45b.jpg","text":"TemporaryFile(/tmp/multipartBody8494879892153022893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_26_03_081068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd1c32e8e710aa3651589caa13243247.jpg","text":"TemporaryFile(/tmp/multipartBody2296540027101541285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177827399,"filename":"image_06012025_15_26_03_081068_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995038","file1":"1326995036","file0":"1326995033","file4":"1326995043","file5":"1326995045","file3":"1326995041"},"map_files_photo_id_array":[{"photo_id":"1326995045","filename":"file5"},{"photo_id":"1326995038","filename":"file2"},{"photo_id":"1326995043","filename":"file4"},{"photo_id":"1326995036","filename":"file1"},{"photo_id":"1326995033","filename":"file0"},{"photo_id":"1326995041","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995043":["hashtag1","hashtag2"]},{"1326995036":["hashtag1","hashtag2"]},{"1326995045":["hashtag1","hashtag2"]},{"1326995033":["hashtag1","hashtag2"]},{"1326995041":["hashtag1","hashtag2"]},{"1326995038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995043, 1326995036, 1326995045, 1326995033, 1326995041, 1326995038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.25086259841919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:36:51.824581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0000.jpg', '/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0001.jpg', '/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0002.jpg', '/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0003.jpg', '/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0000.jpg', '/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0000.jpg
/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0001.jpg
/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0002.jpg
/home/pi/Desktop/images/06012025/15/27/image_06012025_15_27_02_257290_0003.jpg
/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0000.jpg
/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_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":["1326995110","1326995087","1326995083","1326995089","1326995113","1326995116"],"photo_ids_order":["1326995083","1326995087","1326995089","1326995110","1326995113","1326995116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7bc767558e9ef38fee84e3823c182b5.jpg","text":"TemporaryFile(/tmp/multipartBody1964857990921023447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_27_02_257290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6419c5361f8f71efac1b343ee9f5604.jpg","text":"TemporaryFile(/tmp/multipartBody6411978724435174235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_27_02_257290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/189e89ef190b7c008491a952e884e103.jpg","text":"TemporaryFile(/tmp/multipartBody4135723284726645785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_27_02_257290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09ef5cd4628f1f5242ecbd3283d49be2.jpg","text":"TemporaryFile(/tmp/multipartBody6069662381034625597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_27_02_257290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea15f5e557372a64bf1675f95dcb9999.jpg","text":"TemporaryFile(/tmp/multipartBody2121996049678032329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_28_02_330516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f158b5c04af03c96e84a419f7b30412.jpg","text":"TemporaryFile(/tmp/multipartBody6329207401086652375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177886761,"filename":"image_06012025_15_28_02_330516_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995089","file1":"1326995087","file0":"1326995083","file4":"1326995113","file5":"1326995116","file3":"1326995110"},"map_files_photo_id_array":[{"photo_id":"1326995116","filename":"file5"},{"photo_id":"1326995089","filename":"file2"},{"photo_id":"1326995113","filename":"file4"},{"photo_id":"1326995087","filename":"file1"},{"photo_id":"1326995083","filename":"file0"},{"photo_id":"1326995110","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995110":["hashtag1","hashtag2"]},{"1326995087":["hashtag1","hashtag2"]},{"1326995083":["hashtag1","hashtag2"]},{"1326995089":["hashtag1","hashtag2"]},{"1326995113":["hashtag1","hashtag2"]},{"1326995116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995110, 1326995087, 1326995083, 1326995089, 1326995113, 1326995116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29515480995178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:37:51.999037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0002.jpg', '/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0003.jpg', '/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0000.jpg', '/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0002.jpg', '/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0003.jpg', '/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0002.jpg
/home/pi/Desktop/images/06012025/15/28/image_06012025_15_28_02_330516_0003.jpg
/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0000.jpg
/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0002.jpg
/home/pi/Desktop/images/06012025/15/29/image_06012025_15_29_02_543711_0003.jpg
/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_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":["1326995142","1326995139","1326995185","1326995146","1326995134","1326995137"],"photo_ids_order":["1326995134","1326995137","1326995139","1326995142","1326995146","1326995185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8df5b8f7a3c687c9c6a0855da4cf783.jpg","text":"TemporaryFile(/tmp/multipartBody6709475564801033385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_29_02_543711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3f830d910b9f2eaee3cd1f108d69152.jpg","text":"TemporaryFile(/tmp/multipartBody3394416165602935946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_29_02_543711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54f637f73e600c04c14616a3555726af.jpg","text":"TemporaryFile(/tmp/multipartBody3906397733207471633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_30_02_794173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e80579fce6f3fc4ad806f46cce0bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody7795449626839829736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_29_02_543711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56cb29550ee2328ae0a0c70b892b8a25.jpg","text":"TemporaryFile(/tmp/multipartBody4215136470845119407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_28_02_330516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6495493751a567a302eb6294c44cfd8.jpg","text":"TemporaryFile(/tmp/multipartBody7727676961906373279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736177946939,"filename":"image_06012025_15_28_02_330516_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995139","file1":"1326995137","file0":"1326995134","file4":"1326995146","file5":"1326995185","file3":"1326995142"},"map_files_photo_id_array":[{"photo_id":"1326995185","filename":"file5"},{"photo_id":"1326995139","filename":"file2"},{"photo_id":"1326995146","filename":"file4"},{"photo_id":"1326995137","filename":"file1"},{"photo_id":"1326995134","filename":"file0"},{"photo_id":"1326995142","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995142":["hashtag1","hashtag2"]},{"1326995139":["hashtag1","hashtag2"]},{"1326995185":["hashtag1","hashtag2"]},{"1326995146":["hashtag1","hashtag2"]},{"1326995134":["hashtag1","hashtag2"]},{"1326995137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995142, 1326995139, 1326995185, 1326995146, 1326995134, 1326995137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33661246299744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:38:52.214817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0001.jpg', '/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0002.jpg', '/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0003.jpg', '/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0000.jpg', '/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0001.jpg', '/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0001.jpg
/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0002.jpg
/home/pi/Desktop/images/06012025/15/30/image_06012025_15_30_02_794173_0003.jpg
/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0000.jpg
/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0001.jpg
/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_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":["1326995193","1326995196","1326995232","1326995226","1326995192","1326995236"],"photo_ids_order":["1326995192","1326995193","1326995196","1326995226","1326995232","1326995236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/128ef3a4ae744ab8cc438a163fc6b046.jpg","text":"TemporaryFile(/tmp/multipartBody8850123017955510921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_30_02_794173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab549b6b718c3042f401cbb4a78ba676.jpg","text":"TemporaryFile(/tmp/multipartBody1740649863626333317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_30_02_794173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/970d5d23733998e58d53612217b5ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody5380836983474335291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_31_02_971508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73b146c8468d4dd68af795142e08df8a.jpg","text":"TemporaryFile(/tmp/multipartBody1799824284599912709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_31_02_971508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4792adeedb76a25c15fe88b1a718adc6.jpg","text":"TemporaryFile(/tmp/multipartBody387990958500993752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_30_02_794173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d18f7c1286295e90c1fb805edb088798.jpg","text":"TemporaryFile(/tmp/multipartBody8265316830203814277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178007113,"filename":"image_06012025_15_31_02_971508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995196","file1":"1326995193","file0":"1326995192","file4":"1326995232","file5":"1326995236","file3":"1326995226"},"map_files_photo_id_array":[{"photo_id":"1326995236","filename":"file5"},{"photo_id":"1326995196","filename":"file2"},{"photo_id":"1326995232","filename":"file4"},{"photo_id":"1326995193","filename":"file1"},{"photo_id":"1326995192","filename":"file0"},{"photo_id":"1326995226","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995193":["hashtag1","hashtag2"]},{"1326995196":["hashtag1","hashtag2"]},{"1326995232":["hashtag1","hashtag2"]},{"1326995226":["hashtag1","hashtag2"]},{"1326995192":["hashtag1","hashtag2"]},{"1326995236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995193, 1326995196, 1326995232, 1326995226, 1326995192, 1326995236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72558641433716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:39:52.381486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0003.jpg', '/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0000.jpg', '/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0001.jpg', '/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0002.jpg', '/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0003.jpg', '/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/31/image_06012025_15_31_02_971508_0003.jpg
/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0000.jpg
/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0001.jpg
/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0002.jpg
/home/pi/Desktop/images/06012025/15/32/image_06012025_15_32_02_200358_0003.jpg
/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_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":["1326995277","1326995265","1326995285","1326995267","1326995281","1326995269"],"photo_ids_order":["1326995265","1326995267","1326995269","1326995277","1326995281","1326995285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f7d24b0db5e33f3b69a1a3b5d218b45.jpg","text":"TemporaryFile(/tmp/multipartBody8704889710710322060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_32_02_200358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcbf52a9156a27627c0f9cb601f4a702.jpg","text":"TemporaryFile(/tmp/multipartBody376785088847542052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_31_02_971508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a79eb10634abc951768589005fff02d.jpg","text":"TemporaryFile(/tmp/multipartBody4592711248306799955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_33_02_455366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe64db4ff966604c0f8540e7ee25d53c.jpg","text":"TemporaryFile(/tmp/multipartBody524875583110853070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_32_02_200358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/939b34ed777b717314a3155546226d63.jpg","text":"TemporaryFile(/tmp/multipartBody8146362091339062481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_32_02_200358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4103c4ea1747af50911bbe93a95f5621.jpg","text":"TemporaryFile(/tmp/multipartBody1253539823913512436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178067085,"filename":"image_06012025_15_32_02_200358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995269","file1":"1326995267","file0":"1326995265","file4":"1326995281","file5":"1326995285","file3":"1326995277"},"map_files_photo_id_array":[{"photo_id":"1326995285","filename":"file5"},{"photo_id":"1326995269","filename":"file2"},{"photo_id":"1326995281","filename":"file4"},{"photo_id":"1326995267","filename":"file1"},{"photo_id":"1326995265","filename":"file0"},{"photo_id":"1326995277","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995277":["hashtag1","hashtag2"]},{"1326995265":["hashtag1","hashtag2"]},{"1326995285":["hashtag1","hashtag2"]},{"1326995267":["hashtag1","hashtag2"]},{"1326995281":["hashtag1","hashtag2"]},{"1326995269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995277, 1326995265, 1326995285, 1326995267, 1326995281, 1326995269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.930655002593994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:40:52.572323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0001.jpg', '/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0002.jpg', '/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0003.jpg', '/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0000.jpg', '/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0001.jpg', '/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0001.jpg
/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0002.jpg
/home/pi/Desktop/images/06012025/15/33/image_06012025_15_33_02_455366_0003.jpg
/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0000.jpg
/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0001.jpg
/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_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":["1326995340","1326995346","1326995351","1326995333","1326995330","1326995335"],"photo_ids_order":["1326995330","1326995333","1326995335","1326995340","1326995346","1326995351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/260379736dadb87dec64aea5d32ff7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1283441227660928425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_34_02_627755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ca76658c3ac79133b466c9c4c85ba37.jpg","text":"TemporaryFile(/tmp/multipartBody4133890436284881462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_34_02_627755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc5849404352c4e337f5fc97457a38f8.jpg","text":"TemporaryFile(/tmp/multipartBody7202522183464321861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_34_02_627755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8acaadbeb6020e71c09f7e6de390643c.jpg","text":"TemporaryFile(/tmp/multipartBody627538405297708445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_33_02_455366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b93a6b8895f24901ad9f09a7cc5b1c31.jpg","text":"TemporaryFile(/tmp/multipartBody8125365110181094256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_33_02_455366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b53cf9226a5be91508775fd695d4c170.jpg","text":"TemporaryFile(/tmp/multipartBody3286819802691429494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178127713,"filename":"image_06012025_15_33_02_455366_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995335","file1":"1326995333","file0":"1326995330","file4":"1326995346","file5":"1326995351","file3":"1326995340"},"map_files_photo_id_array":[{"photo_id":"1326995351","filename":"file5"},{"photo_id":"1326995335","filename":"file2"},{"photo_id":"1326995346","filename":"file4"},{"photo_id":"1326995333","filename":"file1"},{"photo_id":"1326995330","filename":"file0"},{"photo_id":"1326995340","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995340":["hashtag1","hashtag2"]},{"1326995346":["hashtag1","hashtag2"]},{"1326995351":["hashtag1","hashtag2"]},{"1326995333":["hashtag1","hashtag2"]},{"1326995330":["hashtag1","hashtag2"]},{"1326995335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995340, 1326995346, 1326995351, 1326995333, 1326995330, 1326995335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.19307065010071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:41:52.814973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0003.jpg', '/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0000.jpg', '/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0001.jpg', '/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0002.jpg', '/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0003.jpg', '/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/34/image_06012025_15_34_02_627755_0003.jpg
/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0000.jpg
/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0001.jpg
/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0002.jpg
/home/pi/Desktop/images/06012025/15/35/image_06012025_15_35_02_830768_0003.jpg
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_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":["1326995370","1326995367","1326995364","1326995372","1326995366","1326995368"],"photo_ids_order":["1326995364","1326995366","1326995367","1326995368","1326995370","1326995372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb1cfb62c1e58a3e992176f2b2399a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8722488372034082971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_35_02_830768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1439230bd185781b85430cdda1d5f47b.jpg","text":"TemporaryFile(/tmp/multipartBody2253521589789430805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_35_02_830768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ebc6acb13b3b2c50c7568e61be259cf.jpg","text":"TemporaryFile(/tmp/multipartBody2809196327733943047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_34_02_627755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98a14865b138324f86f4d270ad6d2bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4500773891571502120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_36_02_924950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7b1b8f7d6422bb10bd44e6a8d78a170.jpg","text":"TemporaryFile(/tmp/multipartBody7908913038108707307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_35_02_830768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a357fac67cb2084be7b84a9fc6002220.jpg","text":"TemporaryFile(/tmp/multipartBody4399568041851364503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178187534,"filename":"image_06012025_15_35_02_830768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995367","file1":"1326995366","file0":"1326995364","file4":"1326995370","file5":"1326995372","file3":"1326995368"},"map_files_photo_id_array":[{"photo_id":"1326995372","filename":"file5"},{"photo_id":"1326995367","filename":"file2"},{"photo_id":"1326995370","filename":"file4"},{"photo_id":"1326995366","filename":"file1"},{"photo_id":"1326995364","filename":"file0"},{"photo_id":"1326995368","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995370":["hashtag1","hashtag2"]},{"1326995367":["hashtag1","hashtag2"]},{"1326995364":["hashtag1","hashtag2"]},{"1326995372":["hashtag1","hashtag2"]},{"1326995366":["hashtag1","hashtag2"]},{"1326995368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995370, 1326995367, 1326995364, 1326995372, 1326995366, 1326995368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.4614143371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:42:52.049244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0001.jpg', '/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0002.jpg', '/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0003.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0000.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0001.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0001.jpg
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0002.jpg
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0003.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0000.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0001.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_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.542222261428833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:43:22.181558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0001.jpg', '/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0002.jpg', '/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0003.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0000.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0001.jpg', '/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0001.jpg
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0002.jpg
/home/pi/Desktop/images/06012025/15/36/image_06012025_15_36_02_924950_0003.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0000.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0001.jpg
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_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":["1326995403","1326995459","1326995444","1326995432","1326995429","1326995402"],"photo_ids_order":["1326995402","1326995403","1326995429","1326995432","1326995444","1326995459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80acd6601f6d1ca8f1fe5da8ff5d121e.jpg","text":"TemporaryFile(/tmp/multipartBody3759791020836797308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_36_02_924950_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4449388c6f6152931591f47027a784ea.jpg","text":"TemporaryFile(/tmp/multipartBody3692057819855940471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_37_03_061771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20abd9367f70bd26984a29f44057667f.jpg","text":"TemporaryFile(/tmp/multipartBody5819943235030975159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_37_03_061771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6cdf7d866f86edd9a1848e47855f39bb.jpg","text":"TemporaryFile(/tmp/multipartBody3746968830652234695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_37_03_061771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61a5702f46a4c7cde8b35ae67321ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody8622434868760820130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_36_02_924950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2690b281ae0f9e2f2fcb1c41a3e8690.jpg","text":"TemporaryFile(/tmp/multipartBody970947218799927174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178277081,"filename":"image_06012025_15_36_02_924950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995429","file1":"1326995403","file0":"1326995402","file4":"1326995444","file5":"1326995459","file3":"1326995432"},"map_files_photo_id_array":[{"photo_id":"1326995459","filename":"file5"},{"photo_id":"1326995429","filename":"file2"},{"photo_id":"1326995444","filename":"file4"},{"photo_id":"1326995403","filename":"file1"},{"photo_id":"1326995402","filename":"file0"},{"photo_id":"1326995432","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995403":["hashtag1","hashtag2"]},{"1326995459":["hashtag1","hashtag2"]},{"1326995444":["hashtag1","hashtag2"]},{"1326995432":["hashtag1","hashtag2"]},{"1326995429":["hashtag1","hashtag2"]},{"1326995402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995403, 1326995459, 1326995444, 1326995432, 1326995429, 1326995402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.16561508178711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:44:22.367819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0003.jpg', '/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0000.jpg', '/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0001.jpg', '/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0002.jpg', '/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0003.jpg', '/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/37/image_06012025_15_37_03_061771_0003.jpg
/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0000.jpg
/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0001.jpg
/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0002.jpg
/home/pi/Desktop/images/06012025/15/38/image_06012025_15_38_02_258900_0003.jpg
/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_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":["1326995541","1326995544","1326995555","1326995552","1326995549","1326995539"],"photo_ids_order":["1326995539","1326995541","1326995544","1326995549","1326995552","1326995555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3186fda9cc76359d1da28bbe880a98f.jpg","text":"TemporaryFile(/tmp/multipartBody8255298674147999660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_38_02_258900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9dd0154a79a460f26eab9c14c5ff228.jpg","text":"TemporaryFile(/tmp/multipartBody7944694700066718942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_38_02_258900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ddf76a272459ed9be86e772c975bb34.jpg","text":"TemporaryFile(/tmp/multipartBody6631722934752469931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_39_02_458575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f11cc6af77e50a2b9423c3f903676079.jpg","text":"TemporaryFile(/tmp/multipartBody2042255770378532277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_38_02_258900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8106adb267597a8f980391fd4b10e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody9050873014751818994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_38_02_258900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56eb8742201800537fe3099b3f796254.jpg","text":"TemporaryFile(/tmp/multipartBody7485137341381035259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178337343,"filename":"image_06012025_15_37_03_061771_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995544","file1":"1326995541","file0":"1326995539","file4":"1326995552","file5":"1326995555","file3":"1326995549"},"map_files_photo_id_array":[{"photo_id":"1326995555","filename":"file5"},{"photo_id":"1326995544","filename":"file2"},{"photo_id":"1326995552","filename":"file4"},{"photo_id":"1326995541","filename":"file1"},{"photo_id":"1326995539","filename":"file0"},{"photo_id":"1326995549","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995541":["hashtag1","hashtag2"]},{"1326995544":["hashtag1","hashtag2"]},{"1326995555":["hashtag1","hashtag2"]},{"1326995552":["hashtag1","hashtag2"]},{"1326995549":["hashtag1","hashtag2"]},{"1326995539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995541, 1326995544, 1326995555, 1326995552, 1326995549, 1326995539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51571297645569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 16:45:22.577456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0001.jpg', '/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0002.jpg', '/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0003.jpg', '/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0000.jpg', '/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0001.jpg', '/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0001.jpg
/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0002.jpg
/home/pi/Desktop/images/06012025/15/39/image_06012025_15_39_02_458575_0003.jpg
/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0000.jpg
/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0001.jpg
/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_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":["1326995571","1326995574","1326995568","1326995576","1326995579","1326995581"],"photo_ids_order":["1326995568","1326995571","1326995574","1326995576","1326995579","1326995581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/087d730e0e088ba52e6bc6f42215d61f.jpg","text":"TemporaryFile(/tmp/multipartBody4506793136196655737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_39_02_458575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72d06ea04abfd465910d4940c75b8b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3631868325733674173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_39_02_458575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bd5e95cc5a6e2ea8900bccb1f2c7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3354163074685844645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_39_02_458575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddc767b97c1769b3ece3a8097e6b4c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2115414805124398806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_40_02_542328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f08d0df529867e1ba63b13b29ec9aa14.jpg","text":"TemporaryFile(/tmp/multipartBody604871251886363914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_40_02_542328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed8b278bf84ff9c16c13a1c312e0c940.jpg","text":"TemporaryFile(/tmp/multipartBody4068213726773022596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178397456,"filename":"image_06012025_15_40_02_542328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995574","file1":"1326995571","file0":"1326995568","file4":"1326995579","file5":"1326995581","file3":"1326995576"},"map_files_photo_id_array":[{"photo_id":"1326995581","filename":"file5"},{"photo_id":"1326995574","filename":"file2"},{"photo_id":"1326995579","filename":"file4"},{"photo_id":"1326995571","filename":"file1"},{"photo_id":"1326995568","filename":"file0"},{"photo_id":"1326995576","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995571":["hashtag1","hashtag2"]},{"1326995574":["hashtag1","hashtag2"]},{"1326995568":["hashtag1","hashtag2"]},{"1326995576":["hashtag1","hashtag2"]},{"1326995579":["hashtag1","hashtag2"]},{"1326995581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995571, 1326995574, 1326995568, 1326995576, 1326995579, 1326995581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.28247094154358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:46:31.888554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0003.jpg', '/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0000.jpg', '/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0001.jpg', '/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0002.jpg', '/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0003.jpg', '/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/40/image_06012025_15_40_02_542328_0003.jpg
/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0000.jpg
/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0001.jpg
/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0002.jpg
/home/pi/Desktop/images/06012025/15/41/image_06012025_15_41_02_705659_0003.jpg
/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_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":["1326995649","1326995640","1326995642","1326995645","1326995653","1326995656"],"photo_ids_order":["1326995640","1326995642","1326995645","1326995649","1326995653","1326995656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/533b6a29f7c90dabeb94166bba37587a.jpg","text":"TemporaryFile(/tmp/multipartBody4208498116544085372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_41_02_705659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc85a68a35cfaebfcf97e1daa55649a7.jpg","text":"TemporaryFile(/tmp/multipartBody7430686337900579467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_40_02_542328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2854abf6712c6711f670c4bd99411be.jpg","text":"TemporaryFile(/tmp/multipartBody4832765371357542384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_41_02_705659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92807683d09692879bdab449dfd26977.jpg","text":"TemporaryFile(/tmp/multipartBody4748792460785063173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_41_02_705659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7056809da75a440f244bde26dfc9f956.jpg","text":"TemporaryFile(/tmp/multipartBody5970874847131923742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_41_02_705659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/615c3d0ca2d24232a762799ac5202cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2685046756957514999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178466801,"filename":"image_06012025_15_42_02_951057_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995645","file1":"1326995642","file0":"1326995640","file4":"1326995653","file5":"1326995656","file3":"1326995649"},"map_files_photo_id_array":[{"photo_id":"1326995656","filename":"file5"},{"photo_id":"1326995645","filename":"file2"},{"photo_id":"1326995653","filename":"file4"},{"photo_id":"1326995642","filename":"file1"},{"photo_id":"1326995640","filename":"file0"},{"photo_id":"1326995649","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995649":["hashtag1","hashtag2"]},{"1326995640":["hashtag1","hashtag2"]},{"1326995642":["hashtag1","hashtag2"]},{"1326995645":["hashtag1","hashtag2"]},{"1326995653":["hashtag1","hashtag2"]},{"1326995656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995649, 1326995640, 1326995642, 1326995645, 1326995653, 1326995656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.965983867645264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:47:32.000045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0001.jpg', '/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0002.jpg', '/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0003.jpg', '/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0000.jpg', '/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0001.jpg', '/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0001.jpg
/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0002.jpg
/home/pi/Desktop/images/06012025/15/42/image_06012025_15_42_02_951057_0003.jpg
/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0000.jpg
/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0001.jpg
/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_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":["1326995676","1326995679","1326995672","1326995681","1326995669","1326995674"],"photo_ids_order":["1326995669","1326995672","1326995674","1326995676","1326995679","1326995681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e04767b8f41f095abf42d042dfda77b8.jpg","text":"TemporaryFile(/tmp/multipartBody2812565552313930142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_43_03_038522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75be7347ab697a0696ed5466218cb776.jpg","text":"TemporaryFile(/tmp/multipartBody7295285279552297205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_43_03_038522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f0e6948b5c6bf12f6ba87c2f86c8a7fe.jpg","text":"TemporaryFile(/tmp/multipartBody9138582411257315060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_42_02_951057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7790f7427c045b9573dff834ca7adcb0.jpg","text":"TemporaryFile(/tmp/multipartBody2228796528266467654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_43_03_038522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2e3a7114f82be47c45983d6f6b311e6.jpg","text":"TemporaryFile(/tmp/multipartBody2416243831719580151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_42_02_951057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f91bfb6f998df144b1321f7ed2e40a30.jpg","text":"TemporaryFile(/tmp/multipartBody4921820986395847231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178526863,"filename":"image_06012025_15_42_02_951057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995674","file1":"1326995672","file0":"1326995669","file4":"1326995679","file5":"1326995681","file3":"1326995676"},"map_files_photo_id_array":[{"photo_id":"1326995681","filename":"file5"},{"photo_id":"1326995674","filename":"file2"},{"photo_id":"1326995679","filename":"file4"},{"photo_id":"1326995672","filename":"file1"},{"photo_id":"1326995669","filename":"file0"},{"photo_id":"1326995676","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995676":["hashtag1","hashtag2"]},{"1326995679":["hashtag1","hashtag2"]},{"1326995672":["hashtag1","hashtag2"]},{"1326995681":["hashtag1","hashtag2"]},{"1326995669":["hashtag1","hashtag2"]},{"1326995674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995676, 1326995679, 1326995672, 1326995681, 1326995669, 1326995674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.321544885635376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:48:32.222216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0003.jpg', '/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0000.jpg', '/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0001.jpg', '/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0002.jpg', '/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0003.jpg', '/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/43/image_06012025_15_43_03_038522_0003.jpg
/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0000.jpg
/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0001.jpg
/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0002.jpg
/home/pi/Desktop/images/06012025/15/44/image_06012025_15_44_02_202652_0003.jpg
/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_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":["1326995697","1326995700","1326995693","1326995695","1326995701","1326995704"],"photo_ids_order":["1326995693","1326995695","1326995697","1326995700","1326995701","1326995704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a06b487af981a8bfa6f5945cb31b81dc.jpg","text":"TemporaryFile(/tmp/multipartBody4113746883371143211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_44_02_202652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/022092a7a7ffa3bafb6708817b7b0296.jpg","text":"TemporaryFile(/tmp/multipartBody1442314783535293920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_44_02_202652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0f69c3bf718d739305abef448bf3cf5.jpg","text":"TemporaryFile(/tmp/multipartBody7162486930628892723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_43_03_038522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44f908144f4ef298385acc1f64b9264a.jpg","text":"TemporaryFile(/tmp/multipartBody8119652298510569906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_44_02_202652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5aeff0c2d68fb742f19729e4591c9f21.jpg","text":"TemporaryFile(/tmp/multipartBody870452818561732206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_44_02_202652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d3df6b7a094818f164d76cabad8df65.jpg","text":"TemporaryFile(/tmp/multipartBody5599807956409382402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178586995,"filename":"image_06012025_15_45_02_471654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995697","file1":"1326995695","file0":"1326995693","file4":"1326995701","file5":"1326995704","file3":"1326995700"},"map_files_photo_id_array":[{"photo_id":"1326995704","filename":"file5"},{"photo_id":"1326995697","filename":"file2"},{"photo_id":"1326995701","filename":"file4"},{"photo_id":"1326995695","filename":"file1"},{"photo_id":"1326995693","filename":"file0"},{"photo_id":"1326995700","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995697":["hashtag1","hashtag2"]},{"1326995700":["hashtag1","hashtag2"]},{"1326995693":["hashtag1","hashtag2"]},{"1326995695":["hashtag1","hashtag2"]},{"1326995701":["hashtag1","hashtag2"]},{"1326995704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995697, 1326995700, 1326995693, 1326995695, 1326995701, 1326995704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.8193302154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:49:32.440780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0001.jpg', '/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0002.jpg', '/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0003.jpg', '/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0000.jpg', '/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0001.jpg', '/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0001.jpg
/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0002.jpg
/home/pi/Desktop/images/06012025/15/45/image_06012025_15_45_02_471654_0003.jpg
/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0000.jpg
/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0001.jpg
/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_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":["1326995745","1326995742","1326995718","1326995735","1326995723","1326995714"],"photo_ids_order":["1326995714","1326995718","1326995723","1326995735","1326995742","1326995745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86eeb020c15296d72254942634a1bc74.jpg","text":"TemporaryFile(/tmp/multipartBody3874458359706467650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_46_02_677680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0595ba4372a618b64d75de759d456294.jpg","text":"TemporaryFile(/tmp/multipartBody8622656131603428272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_46_02_677680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44d38abdaa81c30f28dc673b5b720584.jpg","text":"TemporaryFile(/tmp/multipartBody445723310808028051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_45_02_471654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39d9ba9b24eabf315797f309ad25553c.jpg","text":"TemporaryFile(/tmp/multipartBody4591348407331237293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_46_02_677680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37e3ad66c181637ccb76b334b35e431d.jpg","text":"TemporaryFile(/tmp/multipartBody5309794602441506097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_45_02_471654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6da3b2046351e3b2dccd0bb9fa52c232.jpg","text":"TemporaryFile(/tmp/multipartBody8887338803946753538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178647474,"filename":"image_06012025_15_45_02_471654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995723","file1":"1326995718","file0":"1326995714","file4":"1326995742","file5":"1326995745","file3":"1326995735"},"map_files_photo_id_array":[{"photo_id":"1326995745","filename":"file5"},{"photo_id":"1326995723","filename":"file2"},{"photo_id":"1326995742","filename":"file4"},{"photo_id":"1326995718","filename":"file1"},{"photo_id":"1326995714","filename":"file0"},{"photo_id":"1326995735","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995745":["hashtag1","hashtag2"]},{"1326995742":["hashtag1","hashtag2"]},{"1326995718":["hashtag1","hashtag2"]},{"1326995735":["hashtag1","hashtag2"]},{"1326995723":["hashtag1","hashtag2"]},{"1326995714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995745, 1326995742, 1326995718, 1326995735, 1326995723, 1326995714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.07155632972717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:50:32.673064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0003.jpg', '/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0000.jpg', '/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0001.jpg', '/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0002.jpg', '/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0003.jpg', '/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/46/image_06012025_15_46_02_677680_0003.jpg
/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0000.jpg
/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0001.jpg
/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0002.jpg
/home/pi/Desktop/images/06012025/15/47/image_06012025_15_47_02_759267_0003.jpg
/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_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":["1326995806","1326995790","1326995802","1326995785","1326995794","1326995788"],"photo_ids_order":["1326995785","1326995788","1326995790","1326995794","1326995802","1326995806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/222b675c68aa49ad77c136b0ea5b682e.jpg","text":"TemporaryFile(/tmp/multipartBody286237632290689660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_48_02_923402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1fa6b19b769414855c698324cb95a47.jpg","text":"TemporaryFile(/tmp/multipartBody8953719585459490261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_47_02_759267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/defa02b16fd23b14aa4bb70871c9f19a.jpg","text":"TemporaryFile(/tmp/multipartBody7496595939069008735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_47_02_759267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/435357149bb8759fd8e2d833418ab3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1487024260754891437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_46_02_677680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/656d1463a05ed1d64cc82caf8d851391.jpg","text":"TemporaryFile(/tmp/multipartBody6617267420117304380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_47_02_759267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53c2b51e1dcfbada36b1f67b21561add.jpg","text":"TemporaryFile(/tmp/multipartBody9158865702262000477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178707416,"filename":"image_06012025_15_47_02_759267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995790","file1":"1326995788","file0":"1326995785","file4":"1326995802","file5":"1326995806","file3":"1326995794"},"map_files_photo_id_array":[{"photo_id":"1326995806","filename":"file5"},{"photo_id":"1326995790","filename":"file2"},{"photo_id":"1326995802","filename":"file4"},{"photo_id":"1326995788","filename":"file1"},{"photo_id":"1326995785","filename":"file0"},{"photo_id":"1326995794","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995806":["hashtag1","hashtag2"]},{"1326995790":["hashtag1","hashtag2"]},{"1326995802":["hashtag1","hashtag2"]},{"1326995785":["hashtag1","hashtag2"]},{"1326995794":["hashtag1","hashtag2"]},{"1326995788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995806, 1326995790, 1326995802, 1326995785, 1326995794, 1326995788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36740708351135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:51:31.824103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0001.jpg', '/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0002.jpg', '/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0003.jpg', '/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0000.jpg', '/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0001.jpg', '/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0001.jpg
/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0002.jpg
/home/pi/Desktop/images/06012025/15/48/image_06012025_15_48_02_923402_0003.jpg
/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0000.jpg
/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0001.jpg
/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_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":["1326995823","1326995820","1326995817","1326995816","1326995825","1326995815"],"photo_ids_order":["1326995815","1326995816","1326995817","1326995820","1326995823","1326995825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b6879acd6f2b0a2b2b83d09293c57a8.jpg","text":"TemporaryFile(/tmp/multipartBody990939162640462992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_49_03_136010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60b054968c997ee1423048cde290eac0.jpg","text":"TemporaryFile(/tmp/multipartBody3459911941303824625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_49_03_136010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27d5910f5ca2c783afa45c3a1e8f24b2.jpg","text":"TemporaryFile(/tmp/multipartBody1288644822622794920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_48_02_923402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8e05ab9e0c6f6d69ec7e31e149dceb0.jpg","text":"TemporaryFile(/tmp/multipartBody3673717925273396333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_48_02_923402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/013df0f2c25af5cabbb8f0a8563e1cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5219125067465174888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_49_03_136010_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93520fb4464863eb69a795d583e1dce5.jpg","text":"TemporaryFile(/tmp/multipartBody7398206907276460843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178766620,"filename":"image_06012025_15_48_02_923402_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995817","file1":"1326995816","file0":"1326995815","file4":"1326995823","file5":"1326995825","file3":"1326995820"},"map_files_photo_id_array":[{"photo_id":"1326995825","filename":"file5"},{"photo_id":"1326995817","filename":"file2"},{"photo_id":"1326995823","filename":"file4"},{"photo_id":"1326995816","filename":"file1"},{"photo_id":"1326995815","filename":"file0"},{"photo_id":"1326995820","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995823":["hashtag1","hashtag2"]},{"1326995820":["hashtag1","hashtag2"]},{"1326995817":["hashtag1","hashtag2"]},{"1326995816":["hashtag1","hashtag2"]},{"1326995825":["hashtag1","hashtag2"]},{"1326995815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995823, 1326995820, 1326995817, 1326995816, 1326995825, 1326995815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.51360535621643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:52:31.980686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0003.jpg', '/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0000.jpg', '/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0001.jpg', '/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0002.jpg', '/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0003.jpg', '/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/49/image_06012025_15_49_03_136010_0003.jpg
/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0000.jpg
/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0001.jpg
/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0002.jpg
/home/pi/Desktop/images/06012025/15/50/image_06012025_15_50_02_297557_0003.jpg
/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_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":["1326995868","1326995877","1326995870","1326995872","1326995875","1326995839"],"photo_ids_order":["1326995839","1326995868","1326995870","1326995872","1326995875","1326995877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79c0c3b89a45fa27b9c4bf61e6ee423e.jpg","text":"TemporaryFile(/tmp/multipartBody2547868884802707745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_50_02_297557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05df5c3f38ad33c5b905d30ae3c58caf.jpg","text":"TemporaryFile(/tmp/multipartBody5770553858244049135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_51_02_497180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c546fd9f7ce5c776d31dc4c345fe345c.jpg","text":"TemporaryFile(/tmp/multipartBody8698837992927641291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_50_02_297557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26c86d0782033431952f1b93665a042a.jpg","text":"TemporaryFile(/tmp/multipartBody2338668147044135139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_50_02_297557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7682cc620ed87f528203f3e7986a2b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5394591983667898025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_50_02_297557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7308ad2158bc15efad5b1feb4c595b56.jpg","text":"TemporaryFile(/tmp/multipartBody6207200458906373588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178827069,"filename":"image_06012025_15_49_03_136010_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995870","file1":"1326995868","file0":"1326995839","file4":"1326995875","file5":"1326995877","file3":"1326995872"},"map_files_photo_id_array":[{"photo_id":"1326995877","filename":"file5"},{"photo_id":"1326995870","filename":"file2"},{"photo_id":"1326995875","filename":"file4"},{"photo_id":"1326995868","filename":"file1"},{"photo_id":"1326995839","filename":"file0"},{"photo_id":"1326995872","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995868":["hashtag1","hashtag2"]},{"1326995877":["hashtag1","hashtag2"]},{"1326995870":["hashtag1","hashtag2"]},{"1326995872":["hashtag1","hashtag2"]},{"1326995875":["hashtag1","hashtag2"]},{"1326995839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995868, 1326995877, 1326995870, 1326995872, 1326995875, 1326995839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97140693664551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:53:32.135349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0001.jpg', '/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0002.jpg', '/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0003.jpg', '/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0000.jpg', '/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0001.jpg', '/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0001.jpg
/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0002.jpg
/home/pi/Desktop/images/06012025/15/51/image_06012025_15_51_02_497180_0003.jpg
/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0000.jpg
/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0001.jpg
/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_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":["1326995946","1326995904","1326995901","1326995948","1326995921","1326995950"],"photo_ids_order":["1326995901","1326995904","1326995921","1326995946","1326995948","1326995950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa36352289a24fddc2c66bba9e8f9590.jpg","text":"TemporaryFile(/tmp/multipartBody8521363234341994645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_52_02_707396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3cbab6e42d3723676c8a05a7d72ec9f4.jpg","text":"TemporaryFile(/tmp/multipartBody3307722639132634423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_51_02_497180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af5be8e145f5a240e24020959adb1bae.jpg","text":"TemporaryFile(/tmp/multipartBody7725847628660033949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_51_02_497180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab8e479306ac27ee143cf48bf546352f.jpg","text":"TemporaryFile(/tmp/multipartBody4369060914714542528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_52_02_707396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/275f21bae153d14f8f466961f0b50d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7537543316324576322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_51_02_497180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90ef251b0a4a714853c744b18bdebe87.jpg","text":"TemporaryFile(/tmp/multipartBody6538950704697384605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178887019,"filename":"image_06012025_15_52_02_707396_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995921","file1":"1326995904","file0":"1326995901","file4":"1326995948","file5":"1326995950","file3":"1326995946"},"map_files_photo_id_array":[{"photo_id":"1326995950","filename":"file5"},{"photo_id":"1326995921","filename":"file2"},{"photo_id":"1326995948","filename":"file4"},{"photo_id":"1326995904","filename":"file1"},{"photo_id":"1326995901","filename":"file0"},{"photo_id":"1326995946","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995946":["hashtag1","hashtag2"]},{"1326995904":["hashtag1","hashtag2"]},{"1326995901":["hashtag1","hashtag2"]},{"1326995948":["hashtag1","hashtag2"]},{"1326995921":["hashtag1","hashtag2"]},{"1326995950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995946, 1326995904, 1326995901, 1326995948, 1326995921, 1326995950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.034369468688965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:54:32.321641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0003.jpg', '/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0000.jpg', '/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0001.jpg', '/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0002.jpg', '/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0003.jpg', '/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/52/image_06012025_15_52_02_707396_0003.jpg
/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0000.jpg
/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0001.jpg
/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0002.jpg
/home/pi/Desktop/images/06012025/15/53/image_06012025_15_53_02_863122_0003.jpg
/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_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":["1326995970","1326995964","1326995958","1326995960","1326995962","1326995968"],"photo_ids_order":["1326995958","1326995960","1326995962","1326995964","1326995968","1326995970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b35ac11dd39560c3ad4a9280c0c3cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody9100270555991693511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_54_03_092844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09889273a28a056a9be12c533fefadfa.jpg","text":"TemporaryFile(/tmp/multipartBody5450611863585767705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_53_02_863122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/173eb16d39a99ed6c1432fef236037bc.jpg","text":"TemporaryFile(/tmp/multipartBody3481264104869204180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_52_02_707396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0fecf6f6aca79bd1d0a091cb8c32b01a.jpg","text":"TemporaryFile(/tmp/multipartBody6161266464429666327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_53_02_863122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1497daa7575459a26e47a910c0b57d69.jpg","text":"TemporaryFile(/tmp/multipartBody9073160400952359785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_53_02_863122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce4fe4dd415dd7e31a7010d4b9260b29.jpg","text":"TemporaryFile(/tmp/multipartBody7504207299816420721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736178947430,"filename":"image_06012025_15_53_02_863122_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995962","file1":"1326995960","file0":"1326995958","file4":"1326995968","file5":"1326995970","file3":"1326995964"},"map_files_photo_id_array":[{"photo_id":"1326995970","filename":"file5"},{"photo_id":"1326995962","filename":"file2"},{"photo_id":"1326995968","filename":"file4"},{"photo_id":"1326995960","filename":"file1"},{"photo_id":"1326995958","filename":"file0"},{"photo_id":"1326995964","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995970":["hashtag1","hashtag2"]},{"1326995964":["hashtag1","hashtag2"]},{"1326995958":["hashtag1","hashtag2"]},{"1326995960":["hashtag1","hashtag2"]},{"1326995962":["hashtag1","hashtag2"]},{"1326995968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995970, 1326995964, 1326995958, 1326995960, 1326995962, 1326995968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20026612281799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:55:32.509328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0001.jpg', '/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0002.jpg', '/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0003.jpg', '/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0000.jpg', '/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0001.jpg', '/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0001.jpg
/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0002.jpg
/home/pi/Desktop/images/06012025/15/54/image_06012025_15_54_03_092844_0003.jpg
/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0000.jpg
/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0001.jpg
/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_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":["1326995997","1326996032","1326995999","1326995990","1326995993","1326996002"],"photo_ids_order":["1326995990","1326995993","1326995997","1326995999","1326996002","1326996032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e7bb0c831fd53376af6d76be23fa952.jpg","text":"TemporaryFile(/tmp/multipartBody4627866325717551154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_54_03_092844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12ef866e882371e364b7776cbc70d550.jpg","text":"TemporaryFile(/tmp/multipartBody4600474219720923675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_55_02_219935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/202a8baf3462ef22efac871e45a39e07.jpg","text":"TemporaryFile(/tmp/multipartBody2797324811809412369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_55_02_219935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2936349a7e718ae9b4349db4d79a6898.jpg","text":"TemporaryFile(/tmp/multipartBody2251134138086508829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_54_03_092844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a256ec06c8ddf66ff34ade02a11b100.jpg","text":"TemporaryFile(/tmp/multipartBody8473818985059120515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_54_03_092844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c20515853a8d20186149cf1b1bf2e10f.jpg","text":"TemporaryFile(/tmp/multipartBody2038126049606443314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179007373,"filename":"image_06012025_15_55_02_219935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326995997","file1":"1326995993","file0":"1326995990","file4":"1326996002","file5":"1326996032","file3":"1326995999"},"map_files_photo_id_array":[{"photo_id":"1326996032","filename":"file5"},{"photo_id":"1326995997","filename":"file2"},{"photo_id":"1326996002","filename":"file4"},{"photo_id":"1326995993","filename":"file1"},{"photo_id":"1326995990","filename":"file0"},{"photo_id":"1326995999","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326995997":["hashtag1","hashtag2"]},{"1326996032":["hashtag1","hashtag2"]},{"1326995999":["hashtag1","hashtag2"]},{"1326995990":["hashtag1","hashtag2"]},{"1326995993":["hashtag1","hashtag2"]},{"1326996002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326995997, 1326996032, 1326995999, 1326995990, 1326995993, 1326996002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10484313964844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:56:32.651758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0003.jpg', '/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0000.jpg', '/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0001.jpg', '/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0002.jpg', '/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0003.jpg', '/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/55/image_06012025_15_55_02_219935_0003.jpg
/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0000.jpg
/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0001.jpg
/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0002.jpg
/home/pi/Desktop/images/06012025/15/56/image_06012025_15_56_02_337400_0003.jpg
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_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":["1326996063","1326996057","1326996050","1326996053","1326996046","1326996060"],"photo_ids_order":["1326996046","1326996050","1326996053","1326996057","1326996060","1326996063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21fb883ba19bc13678d5624783546197.jpg","text":"TemporaryFile(/tmp/multipartBody4655522958873504493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_57_02_573003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02e0323fa4212765065c662bcd8ab73d.jpg","text":"TemporaryFile(/tmp/multipartBody1205028577147577723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_56_02_337400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51d135ccc4587af51afbab085bc59092.jpg","text":"TemporaryFile(/tmp/multipartBody4308820758194926824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_56_02_337400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59c0752db831bfcc92e8e46b658ec523.jpg","text":"TemporaryFile(/tmp/multipartBody1356277831634600834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_56_02_337400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a52a7c2c7b282e7bc664ecf065bbdbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8826759781675659377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_55_02_219935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a915eff86ec16082c37450a8a56d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody2224897263193562590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179067874,"filename":"image_06012025_15_56_02_337400_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326996053","file1":"1326996050","file0":"1326996046","file4":"1326996060","file5":"1326996063","file3":"1326996057"},"map_files_photo_id_array":[{"photo_id":"1326996063","filename":"file5"},{"photo_id":"1326996053","filename":"file2"},{"photo_id":"1326996060","filename":"file4"},{"photo_id":"1326996050","filename":"file1"},{"photo_id":"1326996046","filename":"file0"},{"photo_id":"1326996057","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326996063":["hashtag1","hashtag2"]},{"1326996057":["hashtag1","hashtag2"]},{"1326996050":["hashtag1","hashtag2"]},{"1326996053":["hashtag1","hashtag2"]},{"1326996046":["hashtag1","hashtag2"]},{"1326996060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326996063, 1326996057, 1326996050, 1326996053, 1326996046, 1326996060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6478853225708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 16:57:31.838471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0001.jpg', '/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0002.jpg', '/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0003.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0000.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0001.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0001.jpg
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0002.jpg
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0003.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0000.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0001.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_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-06 16:59:02.916788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0001.jpg', '/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0002.jpg', '/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0003.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0000.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0001.jpg', '/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0001.jpg
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0002.jpg
/home/pi/Desktop/images/06012025/15/57/image_06012025_15_57_02_573003_0003.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0000.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0001.jpg
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_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":["1326996651","1326997049","1326997461","1326997458","1326997365","1326996387"],"photo_ids_order":["1326996387","1326996651","1326997049","1326997365","1326997458","1326997461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad95c809a7ae7e074ee55736e7c8507e.jpg","text":"TemporaryFile(/tmp/multipartBody8194151980098302072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_57_02_573003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6d5584799ffb43e756f8447668ed53b.jpg","text":"TemporaryFile(/tmp/multipartBody7495314902158934351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_57_02_573003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/074e13d658a23b88d4e9864234ee04ea.jpg","text":"TemporaryFile(/tmp/multipartBody1263771315049993386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_58_02_732477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0b53247eecca42516decf01833d4101.jpg","text":"TemporaryFile(/tmp/multipartBody530137417688883891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_58_02_732477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/151006f13332918843f159d3026946b1.jpg","text":"TemporaryFile(/tmp/multipartBody7625090330008177632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_58_02_732477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99d47a77a801b2def3fd9b81e7714036.jpg","text":"TemporaryFile(/tmp/multipartBody4904738241742457342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179217987,"filename":"image_06012025_15_57_02_573003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326997049","file1":"1326996651","file0":"1326996387","file4":"1326997458","file5":"1326997461","file3":"1326997365"},"map_files_photo_id_array":[{"photo_id":"1326997461","filename":"file5"},{"photo_id":"1326997049","filename":"file2"},{"photo_id":"1326997458","filename":"file4"},{"photo_id":"1326996651","filename":"file1"},{"photo_id":"1326996387","filename":"file0"},{"photo_id":"1326997365","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326996651":["hashtag1","hashtag2"]},{"1326997049":["hashtag1","hashtag2"]},{"1326997461":["hashtag1","hashtag2"]},{"1326997458":["hashtag1","hashtag2"]},{"1326997365":["hashtag1","hashtag2"]},{"1326996387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326996651, 1326997049, 1326997461, 1326997458, 1326997365, 1326996387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60451149940491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:00:02.969290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0003.jpg', '/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0000.jpg', '/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0001.jpg', '/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0002.jpg', '/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0003.jpg', '/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/15/58/image_06012025_15_58_02_732477_0003.jpg
/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0000.jpg
/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0001.jpg
/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0002.jpg
/home/pi/Desktop/images/06012025/15/59/image_06012025_15_59_02_939532_0003.jpg
/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_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":["1326998212","1326998391","1326998381","1326998307","1326998378","1326998363"],"photo_ids_order":["1326998212","1326998307","1326998363","1326998378","1326998381","1326998391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e28b7d4a18dbbf7f1ff8d018f510500.jpg","text":"TemporaryFile(/tmp/multipartBody1350067009233550701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_15_58_02_732477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6711b1ae1623bdb810f336ab362c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody1970285133648190449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_16_00_03_139569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66f615f2c2893f3b42d10ab11f57dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody7726016386058734167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_15_59_02_939532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/172baf23527538132a410d9a7d60cd71.jpg","text":"TemporaryFile(/tmp/multipartBody346383486219834061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_15_59_02_939532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32eeb86e8e719956d7685679be43272a.jpg","text":"TemporaryFile(/tmp/multipartBody1703715456323192935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_15_59_02_939532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c74201a664734424e3990dd331dadb14.jpg","text":"TemporaryFile(/tmp/multipartBody8067835701796489843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179278318,"filename":"image_06012025_15_59_02_939532_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998363","file1":"1326998307","file0":"1326998212","file4":"1326998381","file5":"1326998391","file3":"1326998378"},"map_files_photo_id_array":[{"photo_id":"1326998391","filename":"file5"},{"photo_id":"1326998363","filename":"file2"},{"photo_id":"1326998381","filename":"file4"},{"photo_id":"1326998307","filename":"file1"},{"photo_id":"1326998212","filename":"file0"},{"photo_id":"1326998378","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998212":["hashtag1","hashtag2"]},{"1326998391":["hashtag1","hashtag2"]},{"1326998381":["hashtag1","hashtag2"]},{"1326998307":["hashtag1","hashtag2"]},{"1326998378":["hashtag1","hashtag2"]},{"1326998363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998212, 1326998391, 1326998381, 1326998307, 1326998378, 1326998363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.1961886882782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:01:03.173385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0001.jpg', '/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0002.jpg', '/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0003.jpg', '/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0000.jpg', '/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0001.jpg', '/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0001.jpg
/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0002.jpg
/home/pi/Desktop/images/06012025/16/00/image_06012025_16_00_03_139569_0003.jpg
/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0000.jpg
/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0001.jpg
/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_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":["1326998447","1326998449","1326998437","1326998452","1326998433","1326998444"],"photo_ids_order":["1326998433","1326998437","1326998444","1326998447","1326998449","1326998452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d81d16a1b8514f097bd327db139a5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2727514204661108451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_01_02_245002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1e5bc961ba43cf491708aa3ce3c0baf.jpg","text":"TemporaryFile(/tmp/multipartBody6492827961804786366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_01_02_245002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c11cac27d5f21e04263355f6b78fad8.jpg","text":"TemporaryFile(/tmp/multipartBody5116149422866876543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_00_03_139569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbd2ea049621a010dbb448dc22d41785.jpg","text":"TemporaryFile(/tmp/multipartBody3780157217422682165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_01_02_245002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c62c0fc9152ff56759491a4820894daf.jpg","text":"TemporaryFile(/tmp/multipartBody6297362719566471858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_00_03_139569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94c3b46362e90f66a8d33cb48f19db1c.jpg","text":"TemporaryFile(/tmp/multipartBody8003101308953680630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179338443,"filename":"image_06012025_16_00_03_139569_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998444","file1":"1326998437","file0":"1326998433","file4":"1326998449","file5":"1326998452","file3":"1326998447"},"map_files_photo_id_array":[{"photo_id":"1326998452","filename":"file5"},{"photo_id":"1326998444","filename":"file2"},{"photo_id":"1326998449","filename":"file4"},{"photo_id":"1326998437","filename":"file1"},{"photo_id":"1326998433","filename":"file0"},{"photo_id":"1326998447","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998447":["hashtag1","hashtag2"]},{"1326998449":["hashtag1","hashtag2"]},{"1326998437":["hashtag1","hashtag2"]},{"1326998452":["hashtag1","hashtag2"]},{"1326998433":["hashtag1","hashtag2"]},{"1326998444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998447, 1326998449, 1326998437, 1326998452, 1326998433, 1326998444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47136378288269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:02:03.282761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0003.jpg', '/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0000.jpg', '/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0001.jpg', '/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0002.jpg', '/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0003.jpg', '/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/01/image_06012025_16_01_02_245002_0003.jpg
/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0000.jpg
/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0001.jpg
/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0002.jpg
/home/pi/Desktop/images/06012025/16/02/image_06012025_16_02_02_443452_0003.jpg
/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_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":["1326998522","1326998504","1326998518","1326998526","1326998511","1326998498"],"photo_ids_order":["1326998498","1326998504","1326998511","1326998518","1326998522","1326998526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b147eb29d37a0456b76226d66585e34.jpg","text":"TemporaryFile(/tmp/multipartBody2627603930390837786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_02_02_443452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a45a903469bab0ec76c40bd779798ec5.jpg","text":"TemporaryFile(/tmp/multipartBody620240865948697676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_02_02_443452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a1a8fcf4335598468e33f3fa963f3bd.jpg","text":"TemporaryFile(/tmp/multipartBody6052957172303081540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_02_02_443452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f81f5b96a13c0667442bb9e1e55e6e28.jpg","text":"TemporaryFile(/tmp/multipartBody1976238543349919986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_03_02_706644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a42bc217f7d21fd0e6f0b93818e9e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3124482480150817579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_02_02_443452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aac3c1c7ee3b5007fdae5ebac05a1319.jpg","text":"TemporaryFile(/tmp/multipartBody5719785161265633599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179398428,"filename":"image_06012025_16_01_02_245002_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998511","file1":"1326998504","file0":"1326998498","file4":"1326998522","file5":"1326998526","file3":"1326998518"},"map_files_photo_id_array":[{"photo_id":"1326998526","filename":"file5"},{"photo_id":"1326998511","filename":"file2"},{"photo_id":"1326998522","filename":"file4"},{"photo_id":"1326998504","filename":"file1"},{"photo_id":"1326998498","filename":"file0"},{"photo_id":"1326998518","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998522":["hashtag1","hashtag2"]},{"1326998504":["hashtag1","hashtag2"]},{"1326998518":["hashtag1","hashtag2"]},{"1326998526":["hashtag1","hashtag2"]},{"1326998511":["hashtag1","hashtag2"]},{"1326998498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998522, 1326998504, 1326998518, 1326998526, 1326998511, 1326998498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6032829284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:03:21.988372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0001.jpg', '/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0002.jpg', '/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0003.jpg', '/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0000.jpg', '/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0001.jpg', '/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0001.jpg
/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0002.jpg
/home/pi/Desktop/images/06012025/16/03/image_06012025_16_03_02_706644_0003.jpg
/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0000.jpg
/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0001.jpg
/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_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":["1326998560","1326998557","1326998551","1326998547","1326998556","1326998555"],"photo_ids_order":["1326998547","1326998551","1326998555","1326998556","1326998557","1326998560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/693f1f54e39b67956a05806109a45373.jpg","text":"TemporaryFile(/tmp/multipartBody1057975587857910825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_04_02_928846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdbf792d751a5510c67a5eb749379d88.jpg","text":"TemporaryFile(/tmp/multipartBody3226120527993478368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_04_02_928846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3731471ea817297b33640880318f2454.jpg","text":"TemporaryFile(/tmp/multipartBody2231128529205698400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_03_02_706644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b1fac723187780d8f94bd1139f63d79.jpg","text":"TemporaryFile(/tmp/multipartBody4586964996404419165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_03_02_706644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89bd8638b3bffd854645ac6ee218239a.jpg","text":"TemporaryFile(/tmp/multipartBody1057624328649871977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_04_02_928846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/503da94fdb97b0fa846c4ae99a34e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody5043242751799020637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179477118,"filename":"image_06012025_16_03_02_706644_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998555","file1":"1326998551","file0":"1326998547","file4":"1326998557","file5":"1326998560","file3":"1326998556"},"map_files_photo_id_array":[{"photo_id":"1326998560","filename":"file5"},{"photo_id":"1326998555","filename":"file2"},{"photo_id":"1326998557","filename":"file4"},{"photo_id":"1326998551","filename":"file1"},{"photo_id":"1326998547","filename":"file0"},{"photo_id":"1326998556","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998560":["hashtag1","hashtag2"]},{"1326998557":["hashtag1","hashtag2"]},{"1326998551":["hashtag1","hashtag2"]},{"1326998547":["hashtag1","hashtag2"]},{"1326998556":["hashtag1","hashtag2"]},{"1326998555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998560, 1326998557, 1326998551, 1326998547, 1326998556, 1326998555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30133938789368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:04:22.158660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0003.jpg', '/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0000.jpg', '/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0001.jpg', '/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0002.jpg', '/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0003.jpg', '/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/04/image_06012025_16_04_02_928846_0003.jpg
/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0000.jpg
/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0001.jpg
/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0002.jpg
/home/pi/Desktop/images/06012025/16/05/image_06012025_16_05_03_076191_0003.jpg
/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_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":["1326998578","1326998614","1326998580","1326998613","1326998616","1326998582"],"photo_ids_order":["1326998578","1326998580","1326998582","1326998613","1326998614","1326998616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c53bce8877bb172100f23dfd24c4634.jpg","text":"TemporaryFile(/tmp/multipartBody6712556891761481092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_04_02_928846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fe00d7a7d4810178b72f5dd2b979328.jpg","text":"TemporaryFile(/tmp/multipartBody6251641670010542647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_05_03_076191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c58b07bd94366f6ae25b8f3a6bc43e59.jpg","text":"TemporaryFile(/tmp/multipartBody7018055308459011199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_05_03_076191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e974e9946a55b5121ac1028ae075d060.jpg","text":"TemporaryFile(/tmp/multipartBody1484980029984675539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_05_03_076191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1d4a2c3564217796a7845624aed5140.jpg","text":"TemporaryFile(/tmp/multipartBody4262864296083539881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_06_02_278406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57e53037f08fe990a6bf2b8dfd2eb93b.jpg","text":"TemporaryFile(/tmp/multipartBody4407362693242159715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179537183,"filename":"image_06012025_16_05_03_076191_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998582","file1":"1326998580","file0":"1326998578","file4":"1326998614","file5":"1326998616","file3":"1326998613"},"map_files_photo_id_array":[{"photo_id":"1326998616","filename":"file5"},{"photo_id":"1326998582","filename":"file2"},{"photo_id":"1326998614","filename":"file4"},{"photo_id":"1326998580","filename":"file1"},{"photo_id":"1326998578","filename":"file0"},{"photo_id":"1326998613","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998578":["hashtag1","hashtag2"]},{"1326998614":["hashtag1","hashtag2"]},{"1326998580":["hashtag1","hashtag2"]},{"1326998613":["hashtag1","hashtag2"]},{"1326998616":["hashtag1","hashtag2"]},{"1326998582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998578, 1326998614, 1326998580, 1326998613, 1326998616, 1326998582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.06104040145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:05:22.380875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0001.jpg', '/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0002.jpg', '/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0003.jpg', '/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0000.jpg', '/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0001.jpg', '/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0001.jpg
/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0002.jpg
/home/pi/Desktop/images/06012025/16/06/image_06012025_16_06_02_278406_0003.jpg
/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0000.jpg
/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0001.jpg
/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_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":["1326998639","1326998653","1326998638","1326998634","1326998657","1326998636"],"photo_ids_order":["1326998634","1326998636","1326998638","1326998639","1326998653","1326998657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7489a2ff68172aad699be75a06c18c87.jpg","text":"TemporaryFile(/tmp/multipartBody2362180046571280036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_07_02_466746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7e41a52bd85638db68c9a2018d26485d.jpg","text":"TemporaryFile(/tmp/multipartBody5181438243478195979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_07_02_466746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b1eaf45ada69eaf7f282000c708105b.jpg","text":"TemporaryFile(/tmp/multipartBody8780673364743099514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_06_02_278406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32575102343eccda13f88c943a6d4697.jpg","text":"TemporaryFile(/tmp/multipartBody8435581464461945930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_06_02_278406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1017c9c5c7736707d883df678036a3c0.jpg","text":"TemporaryFile(/tmp/multipartBody8199184323081678828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_07_02_466746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/967d0b600e0ca34c56bcabc8714ad41a.jpg","text":"TemporaryFile(/tmp/multipartBody4678651409082967804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179597459,"filename":"image_06012025_16_06_02_278406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998638","file1":"1326998636","file0":"1326998634","file4":"1326998653","file5":"1326998657","file3":"1326998639"},"map_files_photo_id_array":[{"photo_id":"1326998657","filename":"file5"},{"photo_id":"1326998638","filename":"file2"},{"photo_id":"1326998653","filename":"file4"},{"photo_id":"1326998636","filename":"file1"},{"photo_id":"1326998634","filename":"file0"},{"photo_id":"1326998639","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998639":["hashtag1","hashtag2"]},{"1326998653":["hashtag1","hashtag2"]},{"1326998638":["hashtag1","hashtag2"]},{"1326998634":["hashtag1","hashtag2"]},{"1326998657":["hashtag1","hashtag2"]},{"1326998636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998639, 1326998653, 1326998638, 1326998634, 1326998657, 1326998636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.26057839393616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:06:42.451158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0003.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0000.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0001.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0002.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0003.jpg', '/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0003.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0000.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0001.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0002.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0003.jpg
/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0000.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.44162917137146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:07:03.184155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0003.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0000.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0001.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0002.jpg', '/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0003.jpg', '/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/07/image_06012025_16_07_02_466746_0003.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0000.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0001.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0002.jpg
/home/pi/Desktop/images/06012025/16/08/image_06012025_16_08_02_707802_0003.jpg
/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_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":["1326998750","1326998737","1326998742","1326998745","1326998748","1326998733"],"photo_ids_order":["1326998733","1326998737","1326998742","1326998745","1326998748","1326998750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/290216c461910377c75ff3c211712208.jpg","text":"TemporaryFile(/tmp/multipartBody4687852502316919229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_09_02_810778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f1497a6a62578908a33c1e2d5a46211.jpg","text":"TemporaryFile(/tmp/multipartBody4326312466504322427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_08_02_707802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0801418a9a90fce930ea44bbc035b6cd.jpg","text":"TemporaryFile(/tmp/multipartBody6129904121775309817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_08_02_707802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37b6340b947496502aa6a6722b0dcdfb.jpg","text":"TemporaryFile(/tmp/multipartBody7348195397001718172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_08_02_707802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d30440ef9ecd4becdd3a26ed0832869.jpg","text":"TemporaryFile(/tmp/multipartBody6917425047823761500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_08_02_707802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72dd89b554c61651ae5c363b43981d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7104083163887757238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179698104,"filename":"image_06012025_16_07_02_466746_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998742","file1":"1326998737","file0":"1326998733","file4":"1326998748","file5":"1326998750","file3":"1326998745"},"map_files_photo_id_array":[{"photo_id":"1326998750","filename":"file5"},{"photo_id":"1326998742","filename":"file2"},{"photo_id":"1326998748","filename":"file4"},{"photo_id":"1326998737","filename":"file1"},{"photo_id":"1326998733","filename":"file0"},{"photo_id":"1326998745","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998750":["hashtag1","hashtag2"]},{"1326998737":["hashtag1","hashtag2"]},{"1326998742":["hashtag1","hashtag2"]},{"1326998745":["hashtag1","hashtag2"]},{"1326998748":["hashtag1","hashtag2"]},{"1326998733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998750, 1326998737, 1326998742, 1326998745, 1326998748, 1326998733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.139808177948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:08:02.245824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0001.jpg', '/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0002.jpg', '/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0003.jpg', '/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0000.jpg', '/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0001.jpg', '/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0001.jpg
/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0002.jpg
/home/pi/Desktop/images/06012025/16/09/image_06012025_16_09_02_810778_0003.jpg
/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0000.jpg
/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0001.jpg
/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_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":["1326998797","1326998775","1326998757","1326998783","1326998795","1326998762"],"photo_ids_order":["1326998757","1326998762","1326998775","1326998783","1326998795","1326998797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb842fdf88b5c09766f4801695d4e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2740893141883226541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_10_03_058150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f228f0fe60943baa3a555c1f61e80837.jpg","text":"TemporaryFile(/tmp/multipartBody6874227857344031427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_09_02_810778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2224090c05b53860f8959f598a4c3694.jpg","text":"TemporaryFile(/tmp/multipartBody1160273729089831352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_09_02_810778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72600bad6c9b522a203148155dffc6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7980607536950184367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_10_03_058150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01dcadf7eeba2ea97abacfa94a9704b2.jpg","text":"TemporaryFile(/tmp/multipartBody4085632042484957099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_10_03_058150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2e58258c52e630043c294140f929ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5099855795231275788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179757211,"filename":"image_06012025_16_09_02_810778_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998775","file1":"1326998762","file0":"1326998757","file4":"1326998795","file5":"1326998797","file3":"1326998783"},"map_files_photo_id_array":[{"photo_id":"1326998797","filename":"file5"},{"photo_id":"1326998775","filename":"file2"},{"photo_id":"1326998795","filename":"file4"},{"photo_id":"1326998762","filename":"file1"},{"photo_id":"1326998757","filename":"file0"},{"photo_id":"1326998783","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998797":["hashtag1","hashtag2"]},{"1326998775":["hashtag1","hashtag2"]},{"1326998757":["hashtag1","hashtag2"]},{"1326998783":["hashtag1","hashtag2"]},{"1326998795":["hashtag1","hashtag2"]},{"1326998762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998797, 1326998775, 1326998757, 1326998783, 1326998795, 1326998762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16852927207947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:09:02.588536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0003.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0000.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0001.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0002.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0003.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0003.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0000.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0001.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0002.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0003.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_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.49296498298645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:09:21.980188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0003.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0000.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0001.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0002.jpg', '/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0003.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/10/image_06012025_16_10_03_058150_0003.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0000.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0001.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0002.jpg
/home/pi/Desktop/images/06012025/16/11/image_06012025_16_11_02_217615_0003.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_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":["1326998831","1326998825","1326998830","1326998827","1326998821","1326998829"],"photo_ids_order":["1326998821","1326998825","1326998827","1326998829","1326998830","1326998831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6041c8a939ff46d47050cf1bd32f6880.jpg","text":"TemporaryFile(/tmp/multipartBody2537256497836673105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_12_02_416515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/227143eff2823a9df9fe05b0f1d2afe9.jpg","text":"TemporaryFile(/tmp/multipartBody8122861857091066250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_11_02_217615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/23519c733c0af38c11d3579a4c2bb061.jpg","text":"TemporaryFile(/tmp/multipartBody8716915612167737657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_11_02_217615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1e0a835c95f1b9c52b9280df28850d6.jpg","text":"TemporaryFile(/tmp/multipartBody4000771267002422815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_11_02_217615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8276d15c4704a8b37032e6d732bdfc1.jpg","text":"TemporaryFile(/tmp/multipartBody817460519211817826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_10_03_058150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5b0b0ed7d8f8acf8b51c505a73b47df.jpg","text":"TemporaryFile(/tmp/multipartBody4312280466151477038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179836837,"filename":"image_06012025_16_11_02_217615_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998827","file1":"1326998825","file0":"1326998821","file4":"1326998830","file5":"1326998831","file3":"1326998829"},"map_files_photo_id_array":[{"photo_id":"1326998831","filename":"file5"},{"photo_id":"1326998827","filename":"file2"},{"photo_id":"1326998830","filename":"file4"},{"photo_id":"1326998825","filename":"file1"},{"photo_id":"1326998821","filename":"file0"},{"photo_id":"1326998829","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998831":["hashtag1","hashtag2"]},{"1326998825":["hashtag1","hashtag2"]},{"1326998830":["hashtag1","hashtag2"]},{"1326998827":["hashtag1","hashtag2"]},{"1326998821":["hashtag1","hashtag2"]},{"1326998829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998831, 1326998825, 1326998830, 1326998827, 1326998821, 1326998829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75132203102112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:10:22.196888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0001.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0002.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0003.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0000.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0001.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0001.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0002.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0003.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0000.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0001.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_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.510472059249878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:10:42.331411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0001.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0002.jpg', '/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0003.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0000.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0001.jpg', '/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0001.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0002.jpg
/home/pi/Desktop/images/06012025/16/12/image_06012025_16_12_02_416515_0003.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0000.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0001.jpg
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_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":["1326998903","1326998908","1326998905","1326998862","1326998864","1326998867"],"photo_ids_order":["1326998862","1326998864","1326998867","1326998903","1326998905","1326998908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cafbba6d68a92413c7abe3586a55ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody3692164028801774684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_13_02_563784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36bd0bb6cbc92ed5b1277ae2869c67cf.jpg","text":"TemporaryFile(/tmp/multipartBody3492728298959890974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_13_02_563784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98e6fcd20505508412c169efd804f3f2.jpg","text":"TemporaryFile(/tmp/multipartBody3165158829690831843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_13_02_563784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d54c2668b7f5b97637d48c3a80396711.jpg","text":"TemporaryFile(/tmp/multipartBody1352482993933962542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_12_02_416515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/105c66901ba2c86174c7655f9b23a877.jpg","text":"TemporaryFile(/tmp/multipartBody6632086950769119186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_12_02_416515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/093bf132504841dc908d9ba2082bf918.jpg","text":"TemporaryFile(/tmp/multipartBody2833104663118395638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179917260,"filename":"image_06012025_16_12_02_416515_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326998867","file1":"1326998864","file0":"1326998862","file4":"1326998905","file5":"1326998908","file3":"1326998903"},"map_files_photo_id_array":[{"photo_id":"1326998908","filename":"file5"},{"photo_id":"1326998867","filename":"file2"},{"photo_id":"1326998905","filename":"file4"},{"photo_id":"1326998864","filename":"file1"},{"photo_id":"1326998862","filename":"file0"},{"photo_id":"1326998903","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326998903":["hashtag1","hashtag2"]},{"1326998908":["hashtag1","hashtag2"]},{"1326998905":["hashtag1","hashtag2"]},{"1326998862":["hashtag1","hashtag2"]},{"1326998864":["hashtag1","hashtag2"]},{"1326998867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326998903, 1326998908, 1326998905, 1326998862, 1326998864, 1326998867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.09803509712219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:11:42.340533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0003.jpg', '/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0000.jpg', '/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0001.jpg', '/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0002.jpg', '/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0003.jpg', '/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/13/image_06012025_16_13_02_563784_0003.jpg
/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0000.jpg
/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0001.jpg
/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0002.jpg
/home/pi/Desktop/images/06012025/16/14/image_06012025_16_14_02_780510_0003.jpg
/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_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":["1326999010","1326999003","1326999012","1326999014","1326999008","1326999017"],"photo_ids_order":["1326999003","1326999008","1326999010","1326999012","1326999014","1326999017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/381b2f920175d8a6369d8d2021ad8afc.jpg","text":"TemporaryFile(/tmp/multipartBody123304595790178497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_14_02_780510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c6e6391704ce2046a04b062c0ca38d2.jpg","text":"TemporaryFile(/tmp/multipartBody4134837826818921392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_13_02_563784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af604a8a4d0d48a19de1a11afc6d5dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1429115599165613867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_14_02_780510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a82b0ec9555caa07d85dd13568e2599.jpg","text":"TemporaryFile(/tmp/multipartBody3505226929736390032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_14_02_780510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/273754c8373c132d93bd17de8d1ff47a.jpg","text":"TemporaryFile(/tmp/multipartBody2190109262822317787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_14_02_780510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb76ed6a826b8c65dbd886bc82eda13c.jpg","text":"TemporaryFile(/tmp/multipartBody3117142362486083185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736179977456,"filename":"image_06012025_16_15_02_972141_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999010","file1":"1326999008","file0":"1326999003","file4":"1326999014","file5":"1326999017","file3":"1326999012"},"map_files_photo_id_array":[{"photo_id":"1326999017","filename":"file5"},{"photo_id":"1326999010","filename":"file2"},{"photo_id":"1326999014","filename":"file4"},{"photo_id":"1326999008","filename":"file1"},{"photo_id":"1326999003","filename":"file0"},{"photo_id":"1326999012","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999010":["hashtag1","hashtag2"]},{"1326999003":["hashtag1","hashtag2"]},{"1326999012":["hashtag1","hashtag2"]},{"1326999014":["hashtag1","hashtag2"]},{"1326999008":["hashtag1","hashtag2"]},{"1326999017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999010, 1326999003, 1326999012, 1326999014, 1326999008, 1326999017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74084758758545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:12:42.640498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0001.jpg', '/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0002.jpg', '/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0003.jpg', '/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0000.jpg', '/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0001.jpg', '/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0001.jpg
/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0002.jpg
/home/pi/Desktop/images/06012025/16/15/image_06012025_16_15_02_972141_0003.jpg
/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0000.jpg
/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0001.jpg
/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_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":["1326999119","1326999136","1326999114","1326999117","1326999101","1326999091"],"photo_ids_order":["1326999091","1326999101","1326999114","1326999117","1326999119","1326999136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7079ae2d7f80653524ecc98df8d08dda.jpg","text":"TemporaryFile(/tmp/multipartBody8087903231144674921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_16_02_196106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1fac2fe499595ed1e8eb90caf2b5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4382504421228304250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_16_02_196106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b01b2c53bb9ec35cf5ec80218770916.jpg","text":"TemporaryFile(/tmp/multipartBody7437983691152158871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_15_02_972141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5eaa6a51a6b5d644fc7f8cc198672dd.jpg","text":"TemporaryFile(/tmp/multipartBody4647221057900091959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_16_02_196106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/240abfec63182cc3898928de209d17e5.jpg","text":"TemporaryFile(/tmp/multipartBody8120262329021878045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_15_02_972141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b968e7f37f503f42f6f3641f69645a85.jpg","text":"TemporaryFile(/tmp/multipartBody4768703494642066823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180037799,"filename":"image_06012025_16_15_02_972141_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999114","file1":"1326999101","file0":"1326999091","file4":"1326999119","file5":"1326999136","file3":"1326999117"},"map_files_photo_id_array":[{"photo_id":"1326999136","filename":"file5"},{"photo_id":"1326999114","filename":"file2"},{"photo_id":"1326999119","filename":"file4"},{"photo_id":"1326999101","filename":"file1"},{"photo_id":"1326999091","filename":"file0"},{"photo_id":"1326999117","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999119":["hashtag1","hashtag2"]},{"1326999136":["hashtag1","hashtag2"]},{"1326999114":["hashtag1","hashtag2"]},{"1326999117":["hashtag1","hashtag2"]},{"1326999101":["hashtag1","hashtag2"]},{"1326999091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999119, 1326999136, 1326999114, 1326999117, 1326999101, 1326999091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76875948905945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:13:42.792001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0003.jpg', '/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0000.jpg', '/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0001.jpg', '/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0002.jpg', '/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0003.jpg', '/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/16/image_06012025_16_16_02_196106_0003.jpg
/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0000.jpg
/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0001.jpg
/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0002.jpg
/home/pi/Desktop/images/06012025/16/17/image_06012025_16_17_02_402959_0003.jpg
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_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":["1326999163","1326999186","1326999171","1326999168","1326999153","1326999158"],"photo_ids_order":["1326999153","1326999158","1326999163","1326999168","1326999171","1326999186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95784ec5f5e860c853b621ad7ab2428c.jpg","text":"TemporaryFile(/tmp/multipartBody2310205530150439721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_17_02_402959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc960d82ef2fa2dd02db2313c1a5214f.jpg","text":"TemporaryFile(/tmp/multipartBody7896865473340191616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_18_02_744940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f44e2767ca185d59319d63e46d3c090.jpg","text":"TemporaryFile(/tmp/multipartBody2548295703018648077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_17_02_402959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8531e7433d1b915f48ebf203edf547f.jpg","text":"TemporaryFile(/tmp/multipartBody6665238672001721959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_17_02_402959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fefd2dbf9d766abb79dd01e507cef3b.jpg","text":"TemporaryFile(/tmp/multipartBody4744937783730488402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_16_02_196106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7b1296544048146466a6c12207b41c4.jpg","text":"TemporaryFile(/tmp/multipartBody2579151492709684235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180098074,"filename":"image_06012025_16_17_02_402959_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999163","file1":"1326999158","file0":"1326999153","file4":"1326999171","file5":"1326999186","file3":"1326999168"},"map_files_photo_id_array":[{"photo_id":"1326999186","filename":"file5"},{"photo_id":"1326999163","filename":"file2"},{"photo_id":"1326999171","filename":"file4"},{"photo_id":"1326999158","filename":"file1"},{"photo_id":"1326999153","filename":"file0"},{"photo_id":"1326999168","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999163":["hashtag1","hashtag2"]},{"1326999186":["hashtag1","hashtag2"]},{"1326999171":["hashtag1","hashtag2"]},{"1326999168":["hashtag1","hashtag2"]},{"1326999153":["hashtag1","hashtag2"]},{"1326999158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999163, 1326999186, 1326999171, 1326999168, 1326999153, 1326999158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.005444049835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 17:14:41.940465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0001.jpg', '/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0002.jpg', '/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0003.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0000.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0001.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0001.jpg
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0002.jpg
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0003.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0000.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0001.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_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.78611946105957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:15:02.759466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0001.jpg', '/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0002.jpg', '/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0003.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0000.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0001.jpg', '/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0001.jpg
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0002.jpg
/home/pi/Desktop/images/06012025/16/18/image_06012025_16_18_02_744940_0003.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0000.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0001.jpg
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_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":["1326999247","1326999241","1326999250","1326999243","1326999204","1326999245"],"photo_ids_order":["1326999204","1326999241","1326999243","1326999245","1326999247","1326999250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44501b80d787d6ff80df449e194003ec.jpg","text":"TemporaryFile(/tmp/multipartBody1591858295798724740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_19_02_946538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc80aad3f9a44d827fd607f25516c825.jpg","text":"TemporaryFile(/tmp/multipartBody6086879343536930573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_18_02_744940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/22de1a0f86228e71dec1a6b6934f582e.jpg","text":"TemporaryFile(/tmp/multipartBody3455377500182568589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_19_02_946538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9acb5d8ee4e157e4df32b00e278800f.jpg","text":"TemporaryFile(/tmp/multipartBody2462422086951580184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_18_02_744940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/17fa1bbe4a0e98e643443a2a690e00ca.jpg","text":"TemporaryFile(/tmp/multipartBody4056739869609584402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_18_02_744940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4712b3da5e0039b8d5d9a44451004df8.jpg","text":"TemporaryFile(/tmp/multipartBody5055917880330751829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180178012,"filename":"image_06012025_16_19_02_946538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999243","file1":"1326999241","file0":"1326999204","file4":"1326999247","file5":"1326999250","file3":"1326999245"},"map_files_photo_id_array":[{"photo_id":"1326999250","filename":"file5"},{"photo_id":"1326999243","filename":"file2"},{"photo_id":"1326999247","filename":"file4"},{"photo_id":"1326999241","filename":"file1"},{"photo_id":"1326999204","filename":"file0"},{"photo_id":"1326999245","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999247":["hashtag1","hashtag2"]},{"1326999241":["hashtag1","hashtag2"]},{"1326999250":["hashtag1","hashtag2"]},{"1326999243":["hashtag1","hashtag2"]},{"1326999204":["hashtag1","hashtag2"]},{"1326999245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999247, 1326999241, 1326999250, 1326999243, 1326999204, 1326999245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10749840736389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:16:02.813953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0003.jpg', '/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0000.jpg', '/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0001.jpg', '/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0002.jpg', '/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0003.jpg', '/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/19/image_06012025_16_19_02_946538_0003.jpg
/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0000.jpg
/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0001.jpg
/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0002.jpg
/home/pi/Desktop/images/06012025/16/20/image_06012025_16_20_03_014787_0003.jpg
/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_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":["1326999264","1326999258","1326999267","1326999261","1326999269","1326999272"],"photo_ids_order":["1326999258","1326999261","1326999264","1326999267","1326999269","1326999272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/851ca849a0e93142a660441ef57e714c.jpg","text":"TemporaryFile(/tmp/multipartBody4494982086596480329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_20_03_014787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/409efba1e383f0145bcd8d95e9218e73.jpg","text":"TemporaryFile(/tmp/multipartBody5326434040988867699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_19_02_946538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3d78f3fe06d4642a332409ec0969e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody1949479942257564779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_20_03_014787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07c6f20ee654696c5884c6a2ec9719f8.jpg","text":"TemporaryFile(/tmp/multipartBody8364975817798087689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_20_03_014787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60c32d53b86123c5e2838161115c407c.jpg","text":"TemporaryFile(/tmp/multipartBody1244736628176484177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_20_03_014787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1073afcc09e45e66fa4798cd4c33d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody3145542328376629249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180237808,"filename":"image_06012025_16_21_02_190271_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999264","file1":"1326999261","file0":"1326999258","file4":"1326999269","file5":"1326999272","file3":"1326999267"},"map_files_photo_id_array":[{"photo_id":"1326999272","filename":"file5"},{"photo_id":"1326999264","filename":"file2"},{"photo_id":"1326999269","filename":"file4"},{"photo_id":"1326999261","filename":"file1"},{"photo_id":"1326999258","filename":"file0"},{"photo_id":"1326999267","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999264":["hashtag1","hashtag2"]},{"1326999258":["hashtag1","hashtag2"]},{"1326999267":["hashtag1","hashtag2"]},{"1326999261":["hashtag1","hashtag2"]},{"1326999269":["hashtag1","hashtag2"]},{"1326999272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999264, 1326999258, 1326999267, 1326999261, 1326999269, 1326999272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6336829662323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:17:03.082628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0001.jpg', '/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0002.jpg', '/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0003.jpg', '/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0000.jpg', '/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0001.jpg', '/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0001.jpg
/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0002.jpg
/home/pi/Desktop/images/06012025/16/21/image_06012025_16_21_02_190271_0003.jpg
/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0000.jpg
/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0001.jpg
/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_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":["1326999340","1326999334","1326999328","1326999337","1326999331","1326999324"],"photo_ids_order":["1326999324","1326999328","1326999331","1326999334","1326999337","1326999340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04d5bd3ca4b26f4c8a0a3a9159df3e53.jpg","text":"TemporaryFile(/tmp/multipartBody6587036120272923111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_22_02_386794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/661d59435db29b4c2b9194152c2f9ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5620390403080362950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_22_02_386794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ad372489d83083067d660832e695aa1.jpg","text":"TemporaryFile(/tmp/multipartBody9030682273740562924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_21_02_190271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66fe78c55525aabaeb6188301b870bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6211298490478147011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_22_02_386794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/909d02133009bbd557ea3a7820a62f85.jpg","text":"TemporaryFile(/tmp/multipartBody5579848991221910358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_21_02_190271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f034a30b89eeb34f3ae18887baded9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1099519225643308460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180298315,"filename":"image_06012025_16_21_02_190271_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999331","file1":"1326999328","file0":"1326999324","file4":"1326999337","file5":"1326999340","file3":"1326999334"},"map_files_photo_id_array":[{"photo_id":"1326999340","filename":"file5"},{"photo_id":"1326999331","filename":"file2"},{"photo_id":"1326999337","filename":"file4"},{"photo_id":"1326999328","filename":"file1"},{"photo_id":"1326999324","filename":"file0"},{"photo_id":"1326999334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999340":["hashtag1","hashtag2"]},{"1326999334":["hashtag1","hashtag2"]},{"1326999328":["hashtag1","hashtag2"]},{"1326999337":["hashtag1","hashtag2"]},{"1326999331":["hashtag1","hashtag2"]},{"1326999324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999340, 1326999334, 1326999328, 1326999337, 1326999331, 1326999324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.02940082550049 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-06 17:18:22.684506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0003.jpg', '/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0000.jpg', '/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0001.jpg', '/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0002.jpg', '/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0003.jpg', '/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/22/image_06012025_16_22_02_386794_0003.jpg
/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0000.jpg
/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0001.jpg
/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0002.jpg
/home/pi/Desktop/images/06012025/16/23/image_06012025_16_23_02_615664_0003.jpg
/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_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":["1326999391","1326999385","1326999393","1326999387","1326999398","1326999395"],"photo_ids_order":["1326999385","1326999387","1326999391","1326999393","1326999395","1326999398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5efd08225a69d8eed0388b74e4b31ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1218420984919129742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_23_02_615664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c8459b974e493e50067d439ba4e7cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3235211284607435517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_22_02_386794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80ba270fb0d57f2ac96706737dc1c31c.jpg","text":"TemporaryFile(/tmp/multipartBody7596340234258002243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_23_02_615664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af335aab73fd99100a7540a9d4ee4130.jpg","text":"TemporaryFile(/tmp/multipartBody6429037727070432720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_23_02_615664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f6a63fede225afa7556e2d533661dde.jpg","text":"TemporaryFile(/tmp/multipartBody8226809347348979074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_24_02_894732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b19975e2d9c0b25a9397b2d23e31397e.jpg","text":"TemporaryFile(/tmp/multipartBody8643824706261302653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180377639,"filename":"image_06012025_16_23_02_615664_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999391","file1":"1326999387","file0":"1326999385","file4":"1326999395","file5":"1326999398","file3":"1326999393"},"map_files_photo_id_array":[{"photo_id":"1326999398","filename":"file5"},{"photo_id":"1326999391","filename":"file2"},{"photo_id":"1326999395","filename":"file4"},{"photo_id":"1326999387","filename":"file1"},{"photo_id":"1326999385","filename":"file0"},{"photo_id":"1326999393","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999391":["hashtag1","hashtag2"]},{"1326999385":["hashtag1","hashtag2"]},{"1326999393":["hashtag1","hashtag2"]},{"1326999387":["hashtag1","hashtag2"]},{"1326999398":["hashtag1","hashtag2"]},{"1326999395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999391, 1326999385, 1326999393, 1326999387, 1326999398, 1326999395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.40186786651611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:19:21.902844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0001.jpg', '/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0002.jpg', '/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0003.jpg', '/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0000.jpg', '/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0001.jpg', '/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0001.jpg
/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0002.jpg
/home/pi/Desktop/images/06012025/16/24/image_06012025_16_24_02_894732_0003.jpg
/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0000.jpg
/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0001.jpg
/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_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":["1326999598","1326999577","1326999499","1326999426","1326999536","1326999589"],"photo_ids_order":["1326999426","1326999499","1326999536","1326999577","1326999589","1326999598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c6bb2d44f5ff473ec92f3a8792d5d55.jpg","text":"TemporaryFile(/tmp/multipartBody8394044252840887192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_25_03_002916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98de320f06743992d6063d21537a614c.jpg","text":"TemporaryFile(/tmp/multipartBody887398123285755558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_25_03_002916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ba572bb2e02f18705d541459f38b04e.jpg","text":"TemporaryFile(/tmp/multipartBody7375351121430402625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_24_02_894732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a248f69d3f1c32e572c2c22109f93b86.jpg","text":"TemporaryFile(/tmp/multipartBody7319040083657567931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_24_02_894732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89dcfb5160b62a95aba9e3ee8fa2e19c.jpg","text":"TemporaryFile(/tmp/multipartBody1622566358204265531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_24_02_894732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f685f46f9a1494f3e1d1e2d1e0ef9e55.jpg","text":"TemporaryFile(/tmp/multipartBody7647886497599905530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180436928,"filename":"image_06012025_16_25_03_002916_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999536","file1":"1326999499","file0":"1326999426","file4":"1326999589","file5":"1326999598","file3":"1326999577"},"map_files_photo_id_array":[{"photo_id":"1326999598","filename":"file5"},{"photo_id":"1326999536","filename":"file2"},{"photo_id":"1326999589","filename":"file4"},{"photo_id":"1326999499","filename":"file1"},{"photo_id":"1326999426","filename":"file0"},{"photo_id":"1326999577","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999598":["hashtag1","hashtag2"]},{"1326999577":["hashtag1","hashtag2"]},{"1326999499":["hashtag1","hashtag2"]},{"1326999426":["hashtag1","hashtag2"]},{"1326999536":["hashtag1","hashtag2"]},{"1326999589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999598, 1326999577, 1326999499, 1326999426, 1326999536, 1326999589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35818386077881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:20:22.017274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0003.jpg', '/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0000.jpg', '/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0001.jpg', '/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0002.jpg', '/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0003.jpg', '/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/25/image_06012025_16_25_03_002916_0003.jpg
/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0000.jpg
/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0001.jpg
/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0002.jpg
/home/pi/Desktop/images/06012025/16/26/image_06012025_16_26_02_231968_0003.jpg
/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_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":["1326999619","1326999610","1326999621","1326999614","1326999617","1326999611"],"photo_ids_order":["1326999610","1326999611","1326999614","1326999617","1326999619","1326999621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0cb7ad95d809ac1df2a77ab734832ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2389670798121160156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_26_02_231968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86bf12f814729058dbaa1c0b0097528b.jpg","text":"TemporaryFile(/tmp/multipartBody3571154976302302813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_25_03_002916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89491cbe5c9ecf3449495610109087de.jpg","text":"TemporaryFile(/tmp/multipartBody3549125038503387293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_27_02_252024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b3800a021bdde2e37f579c27df72599.jpg","text":"TemporaryFile(/tmp/multipartBody408868929564626777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_26_02_231968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a50a5c9bd3e4751d9ffdb87f3d162102.jpg","text":"TemporaryFile(/tmp/multipartBody2771128364385005452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_26_02_231968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ddd797e23e861cc366ba02a3cee70bf.jpg","text":"TemporaryFile(/tmp/multipartBody6877111523248294036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180496984,"filename":"image_06012025_16_26_02_231968_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999614","file1":"1326999611","file0":"1326999610","file4":"1326999619","file5":"1326999621","file3":"1326999617"},"map_files_photo_id_array":[{"photo_id":"1326999621","filename":"file5"},{"photo_id":"1326999614","filename":"file2"},{"photo_id":"1326999619","filename":"file4"},{"photo_id":"1326999611","filename":"file1"},{"photo_id":"1326999610","filename":"file0"},{"photo_id":"1326999617","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999619":["hashtag1","hashtag2"]},{"1326999610":["hashtag1","hashtag2"]},{"1326999621":["hashtag1","hashtag2"]},{"1326999614":["hashtag1","hashtag2"]},{"1326999617":["hashtag1","hashtag2"]},{"1326999611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999619, 1326999610, 1326999621, 1326999614, 1326999617, 1326999611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.6468141078949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:21:22.274231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0001.jpg', '/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0002.jpg', '/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0003.jpg', '/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0000.jpg', '/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0001.jpg', '/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0001.jpg
/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0002.jpg
/home/pi/Desktop/images/06012025/16/27/image_06012025_16_27_02_252024_0003.jpg
/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0000.jpg
/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0001.jpg
/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_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":["1326999679","1326999658","1326999672","1326999651","1326999674","1326999656"],"photo_ids_order":["1326999651","1326999656","1326999658","1326999672","1326999674","1326999679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fdf74e62f41ab1b84aed534572e2cf00.jpg","text":"TemporaryFile(/tmp/multipartBody1959392939301791551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_28_02_505714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca23df542d0052f8f09ff30479ef94ae.jpg","text":"TemporaryFile(/tmp/multipartBody502722251268379241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_27_02_252024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86b4d3d39249cc219f0d3def17c6f490.jpg","text":"TemporaryFile(/tmp/multipartBody1946381263303096325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_28_02_505714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d57d173d48b457822fe8a7708755a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4429038045731340490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_27_02_252024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb99559abf13522431db4861f1bdca48.jpg","text":"TemporaryFile(/tmp/multipartBody5595348449094172725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_28_02_505714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/414934ab41044b0a0d202ac80afd7f85.jpg","text":"TemporaryFile(/tmp/multipartBody6344488727377767491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180557274,"filename":"image_06012025_16_27_02_252024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999658","file1":"1326999656","file0":"1326999651","file4":"1326999674","file5":"1326999679","file3":"1326999672"},"map_files_photo_id_array":[{"photo_id":"1326999679","filename":"file5"},{"photo_id":"1326999658","filename":"file2"},{"photo_id":"1326999674","filename":"file4"},{"photo_id":"1326999656","filename":"file1"},{"photo_id":"1326999651","filename":"file0"},{"photo_id":"1326999672","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999679":["hashtag1","hashtag2"]},{"1326999658":["hashtag1","hashtag2"]},{"1326999672":["hashtag1","hashtag2"]},{"1326999651":["hashtag1","hashtag2"]},{"1326999674":["hashtag1","hashtag2"]},{"1326999656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999679, 1326999658, 1326999672, 1326999651, 1326999674, 1326999656)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.621981620788574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:22:32.422508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0003.jpg', '/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0000.jpg', '/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0001.jpg', '/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0002.jpg', '/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0003.jpg', '/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/28/image_06012025_16_28_02_505714_0003.jpg
/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0000.jpg
/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0001.jpg
/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0002.jpg
/home/pi/Desktop/images/06012025/16/29/image_06012025_16_29_02_728685_0003.jpg
/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_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":["1326999736","1326999789","1326999756","1326999794","1326999797","1326999791"],"photo_ids_order":["1326999736","1326999756","1326999789","1326999791","1326999794","1326999797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2855687238cefb255ae69507a382ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody6097269563252736995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_28_02_505714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e199e2db57159c97556874f99f597956.jpg","text":"TemporaryFile(/tmp/multipartBody8758825981616332013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_29_02_728685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/504aefa59f82b3657b3a84b81625bb35.jpg","text":"TemporaryFile(/tmp/multipartBody2554366127263884753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_29_02_728685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d9b0724c61af76cb104d67db4fe23e4c.jpg","text":"TemporaryFile(/tmp/multipartBody1214108828785711143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_29_02_728685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87ce5fea07bd50a6176351ed71c74944.jpg","text":"TemporaryFile(/tmp/multipartBody7948061846850522530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_30_02_904069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb515e28075ef661a5735fb76a2354e5.jpg","text":"TemporaryFile(/tmp/multipartBody9145424821609269668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180627117,"filename":"image_06012025_16_29_02_728685_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999789","file1":"1326999756","file0":"1326999736","file4":"1326999794","file5":"1326999797","file3":"1326999791"},"map_files_photo_id_array":[{"photo_id":"1326999797","filename":"file5"},{"photo_id":"1326999789","filename":"file2"},{"photo_id":"1326999794","filename":"file4"},{"photo_id":"1326999756","filename":"file1"},{"photo_id":"1326999736","filename":"file0"},{"photo_id":"1326999791","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999736":["hashtag1","hashtag2"]},{"1326999789":["hashtag1","hashtag2"]},{"1326999756":["hashtag1","hashtag2"]},{"1326999794":["hashtag1","hashtag2"]},{"1326999797":["hashtag1","hashtag2"]},{"1326999791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999736, 1326999789, 1326999756, 1326999794, 1326999797, 1326999791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.727150678634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:23:32.637101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0001.jpg', '/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0002.jpg', '/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0003.jpg', '/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0000.jpg', '/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0001.jpg', '/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0001.jpg
/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0002.jpg
/home/pi/Desktop/images/06012025/16/30/image_06012025_16_30_02_904069_0003.jpg
/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0000.jpg
/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0001.jpg
/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_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":["1326999905","1326999912","1326999911","1326999914","1326999908","1326999917"],"photo_ids_order":["1326999905","1326999908","1326999911","1326999912","1326999914","1326999917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ab44f2b12b19b23add7b0c19f5aebf6.jpg","text":"TemporaryFile(/tmp/multipartBody802838001207979806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_30_02_904069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/564e744a4da0b70b4546ac59d01e4241.jpg","text":"TemporaryFile(/tmp/multipartBody3885199900012737254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_31_03_107522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34868a931cb3b1cfa690c3b6421c9135.jpg","text":"TemporaryFile(/tmp/multipartBody3250366569119438807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_30_02_904069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca331bba236bd84ee101cf177ec5f085.jpg","text":"TemporaryFile(/tmp/multipartBody1261318896392237862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_31_03_107522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df96294413e0ea3cd56d18ee1c1f3d67.jpg","text":"TemporaryFile(/tmp/multipartBody6319510422745474114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_30_02_904069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53a1fb46fc7d456570e3654a61448602.jpg","text":"TemporaryFile(/tmp/multipartBody3894464071624416751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180687395,"filename":"image_06012025_16_31_03_107522_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999911","file1":"1326999908","file0":"1326999905","file4":"1326999914","file5":"1326999917","file3":"1326999912"},"map_files_photo_id_array":[{"photo_id":"1326999917","filename":"file5"},{"photo_id":"1326999911","filename":"file2"},{"photo_id":"1326999914","filename":"file4"},{"photo_id":"1326999908","filename":"file1"},{"photo_id":"1326999905","filename":"file0"},{"photo_id":"1326999912","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999905":["hashtag1","hashtag2"]},{"1326999912":["hashtag1","hashtag2"]},{"1326999911":["hashtag1","hashtag2"]},{"1326999914":["hashtag1","hashtag2"]},{"1326999908":["hashtag1","hashtag2"]},{"1326999917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999905, 1326999912, 1326999911, 1326999914, 1326999908, 1326999917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.864564418792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:24:31.847054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0003.jpg', '/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0000.jpg', '/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0001.jpg', '/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0002.jpg', '/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0003.jpg', '/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/31/image_06012025_16_31_03_107522_0003.jpg
/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0000.jpg
/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0001.jpg
/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0002.jpg
/home/pi/Desktop/images/06012025/16/32/image_06012025_16_32_02_278151_0003.jpg
/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_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":["1326999994","1326999949","1326999996","1326999992","1327000006","1326999985"],"photo_ids_order":["1326999949","1326999985","1326999992","1326999994","1326999996","1327000006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04b66406e8d41614bb53af499a1becee.jpg","text":"TemporaryFile(/tmp/multipartBody9104708867091469860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_32_02_278151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e49f24fd1ee2520cf57916891c78cee.jpg","text":"TemporaryFile(/tmp/multipartBody2480838181100983411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_31_03_107522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa834547af4eb1a1ed6bcbdb515db02a.jpg","text":"TemporaryFile(/tmp/multipartBody1582639036208509234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_32_02_278151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/164a33b927846072cffcf5ccaf44a2be.jpg","text":"TemporaryFile(/tmp/multipartBody8836294123188842469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_32_02_278151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0add1aff8b80fa9d5063ae81b786bacf.jpg","text":"TemporaryFile(/tmp/multipartBody7332738552995762269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_33_02_488528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/397e8c51af66ae6efa1b88764816c6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8503616529340209233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180746675,"filename":"image_06012025_16_32_02_278151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326999992","file1":"1326999985","file0":"1326999949","file4":"1326999996","file5":"1327000006","file3":"1326999994"},"map_files_photo_id_array":[{"photo_id":"1327000006","filename":"file5"},{"photo_id":"1326999992","filename":"file2"},{"photo_id":"1326999996","filename":"file4"},{"photo_id":"1326999985","filename":"file1"},{"photo_id":"1326999949","filename":"file0"},{"photo_id":"1326999994","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1326999994":["hashtag1","hashtag2"]},{"1326999949":["hashtag1","hashtag2"]},{"1326999996":["hashtag1","hashtag2"]},{"1326999992":["hashtag1","hashtag2"]},{"1327000006":["hashtag1","hashtag2"]},{"1326999985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1326999994, 1326999949, 1326999996, 1326999992, 1327000006, 1326999985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41764831542969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:25:31.984805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0001.jpg', '/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0002.jpg', '/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0003.jpg', '/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0000.jpg', '/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0001.jpg', '/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0001.jpg
/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0002.jpg
/home/pi/Desktop/images/06012025/16/33/image_06012025_16_33_02_488528_0003.jpg
/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0000.jpg
/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0001.jpg
/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_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":["1327000070","1327000073","1327000067","1327000081","1327000060","1327000063"],"photo_ids_order":["1327000060","1327000063","1327000067","1327000070","1327000073","1327000081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5e0fc6129ca5577789a9b88e9902d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7873344004763843382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_34_02_707037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d96fe5e6c4829d00d200b72263d2a93e.jpg","text":"TemporaryFile(/tmp/multipartBody8767837695445663616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_34_02_707037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69b7caa0f744217af1a4fa8f914e104c.jpg","text":"TemporaryFile(/tmp/multipartBody5384764575394795275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_33_02_488528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66ab69117e456d52d81a850c822bac63.jpg","text":"TemporaryFile(/tmp/multipartBody5969886999387605908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_34_02_707037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8c60185e39a993fbda744b5cc6d7cd9a.jpg","text":"TemporaryFile(/tmp/multipartBody1032846116708674474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_33_02_488528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/121b3f058f4e3a65d4819e7352a8111d.jpg","text":"TemporaryFile(/tmp/multipartBody311194715294914693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180806728,"filename":"image_06012025_16_33_02_488528_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000067","file1":"1327000063","file0":"1327000060","file4":"1327000073","file5":"1327000081","file3":"1327000070"},"map_files_photo_id_array":[{"photo_id":"1327000081","filename":"file5"},{"photo_id":"1327000067","filename":"file2"},{"photo_id":"1327000073","filename":"file4"},{"photo_id":"1327000063","filename":"file1"},{"photo_id":"1327000060","filename":"file0"},{"photo_id":"1327000070","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000070":["hashtag1","hashtag2"]},{"1327000073":["hashtag1","hashtag2"]},{"1327000067":["hashtag1","hashtag2"]},{"1327000081":["hashtag1","hashtag2"]},{"1327000060":["hashtag1","hashtag2"]},{"1327000063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000070, 1327000073, 1327000067, 1327000081, 1327000060, 1327000063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.863813638687134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:26:32.203781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0003.jpg', '/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0000.jpg', '/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0001.jpg', '/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0002.jpg', '/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0000.jpg', '/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/34/image_06012025_16_34_02_707037_0003.jpg
/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0000.jpg
/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0001.jpg
/home/pi/Desktop/images/06012025/16/35/image_06012025_16_35_02_939377_0002.jpg
/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0000.jpg
/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_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":["1327000193","1327000181","1327000199","1327000171","1327000197","1327000185"],"photo_ids_order":["1327000171","1327000181","1327000185","1327000193","1327000197","1327000199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b57fcaa7e753d80086533ba8d03c89f0.jpg","text":"TemporaryFile(/tmp/multipartBody4439040707742133804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_35_02_939377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/74f3940c4a98bd61fd0d250f9300cbdc.jpg","text":"TemporaryFile(/tmp/multipartBody9191944041223156514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_35_02_939377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdaa1038156cba64272e4350f7aa0b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7296364466537466059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_36_03_036226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67f30aa58ecd2f337cba0af90ab1f3cd.jpg","text":"TemporaryFile(/tmp/multipartBody2787944326628144882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_34_02_707037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/283715dec7cdbb83f9ccd8aa3153f276.jpg","text":"TemporaryFile(/tmp/multipartBody4316334140502776404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_36_03_036226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9875c9ce3c8f36c936d6814045ed9bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8647185818923426055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180866667,"filename":"image_06012025_16_35_02_939377_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000185","file1":"1327000181","file0":"1327000171","file4":"1327000197","file5":"1327000199","file3":"1327000193"},"map_files_photo_id_array":[{"photo_id":"1327000199","filename":"file5"},{"photo_id":"1327000185","filename":"file2"},{"photo_id":"1327000197","filename":"file4"},{"photo_id":"1327000181","filename":"file1"},{"photo_id":"1327000171","filename":"file0"},{"photo_id":"1327000193","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000193":["hashtag1","hashtag2"]},{"1327000181":["hashtag1","hashtag2"]},{"1327000199":["hashtag1","hashtag2"]},{"1327000171":["hashtag1","hashtag2"]},{"1327000197":["hashtag1","hashtag2"]},{"1327000185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000193, 1327000181, 1327000199, 1327000171, 1327000197, 1327000185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81318640708923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:27:32.371720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0002.jpg', '/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0003.jpg', '/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0000.jpg', '/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0001.jpg', '/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0002.jpg', '/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0002.jpg
/home/pi/Desktop/images/06012025/16/36/image_06012025_16_36_03_036226_0003.jpg
/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0000.jpg
/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0001.jpg
/home/pi/Desktop/images/06012025/16/37/image_06012025_16_37_02_237290_0002.jpg
/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_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":["1327000262","1327000256","1327000259","1327000267","1327000216","1327000257"],"photo_ids_order":["1327000216","1327000256","1327000257","1327000259","1327000262","1327000267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c3aa70341aa2a843761df971383bb40.jpg","text":"TemporaryFile(/tmp/multipartBody7140371350664863667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_37_02_237290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6670f8cd7c6ae3c1d5140abe111a31db.jpg","text":"TemporaryFile(/tmp/multipartBody6490605588638718634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_36_03_036226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4e24c7cf0da0f20f8023ddf300714fb.jpg","text":"TemporaryFile(/tmp/multipartBody6003824136427190519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_37_02_237290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/452269c76a169a99e8d0cbc0a87bd53a.jpg","text":"TemporaryFile(/tmp/multipartBody2759993843821743086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_38_02_423943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d7ca4e11babe2473fb41227aef15413.jpg","text":"TemporaryFile(/tmp/multipartBody8837284588126416443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_36_03_036226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3b99b55307a63f8a121308c2f195831.jpg","text":"TemporaryFile(/tmp/multipartBody1850140188994827554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180927287,"filename":"image_06012025_16_37_02_237290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000257","file1":"1327000256","file0":"1327000216","file4":"1327000262","file5":"1327000267","file3":"1327000259"},"map_files_photo_id_array":[{"photo_id":"1327000267","filename":"file5"},{"photo_id":"1327000257","filename":"file2"},{"photo_id":"1327000262","filename":"file4"},{"photo_id":"1327000256","filename":"file1"},{"photo_id":"1327000216","filename":"file0"},{"photo_id":"1327000259","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000262":["hashtag1","hashtag2"]},{"1327000256":["hashtag1","hashtag2"]},{"1327000259":["hashtag1","hashtag2"]},{"1327000267":["hashtag1","hashtag2"]},{"1327000216":["hashtag1","hashtag2"]},{"1327000257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000262, 1327000256, 1327000259, 1327000267, 1327000216, 1327000257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98789620399475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:28:32.572793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0001.jpg', '/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0002.jpg', '/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0003.jpg', '/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0000.jpg', '/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0001.jpg', '/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0001.jpg
/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0002.jpg
/home/pi/Desktop/images/06012025/16/38/image_06012025_16_38_02_423943_0003.jpg
/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0000.jpg
/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0001.jpg
/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_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":["1327000287","1327000446","1327000442","1327000354","1327000281","1327000284"],"photo_ids_order":["1327000281","1327000284","1327000287","1327000354","1327000442","1327000446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c618a0abddab8c3c2331ad3e52bde44.jpg","text":"TemporaryFile(/tmp/multipartBody652469085592148549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_38_02_423943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6f2cd3ace2db76a4705beacd6cf2e62.jpg","text":"TemporaryFile(/tmp/multipartBody6893183829379869575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_39_02_528246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b511c7e53fa134d0f25204bfc387163.jpg","text":"TemporaryFile(/tmp/multipartBody6055607321121749022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_39_02_528246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40ccdf069dd4feeab51332dd8cec505e.jpg","text":"TemporaryFile(/tmp/multipartBody2205733379851967217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_39_02_528246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c6511b5c695ae5b07920c9ae9cf8150.jpg","text":"TemporaryFile(/tmp/multipartBody5612940510029543145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_38_02_423943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/322f3dbe8a76c107bcc8b082ffa590c1.jpg","text":"TemporaryFile(/tmp/multipartBody6373151302930566080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736180987519,"filename":"image_06012025_16_38_02_423943_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000287","file1":"1327000284","file0":"1327000281","file4":"1327000442","file5":"1327000446","file3":"1327000354"},"map_files_photo_id_array":[{"photo_id":"1327000446","filename":"file5"},{"photo_id":"1327000287","filename":"file2"},{"photo_id":"1327000442","filename":"file4"},{"photo_id":"1327000284","filename":"file1"},{"photo_id":"1327000281","filename":"file0"},{"photo_id":"1327000354","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000287":["hashtag1","hashtag2"]},{"1327000446":["hashtag1","hashtag2"]},{"1327000442":["hashtag1","hashtag2"]},{"1327000354":["hashtag1","hashtag2"]},{"1327000281":["hashtag1","hashtag2"]},{"1327000284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000287, 1327000446, 1327000442, 1327000354, 1327000281, 1327000284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.25125193595886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:29:32.728641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0003.jpg', '/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0000.jpg', '/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0001.jpg', '/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0002.jpg', '/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0000.jpg', '/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/39/image_06012025_16_39_02_528246_0003.jpg
/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0000.jpg
/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0001.jpg
/home/pi/Desktop/images/06012025/16/40/image_06012025_16_40_02_755411_0002.jpg
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0000.jpg
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_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":["1327000496","1327000499","1327000493","1327000489","1327000528","1327000491"],"photo_ids_order":["1327000489","1327000491","1327000493","1327000496","1327000499","1327000528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25fb74882067d70517321bbd1248df4c.jpg","text":"TemporaryFile(/tmp/multipartBody6241823596341066143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_40_02_755411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c09ffe64856f695bd9b70e589f7791ba.jpg","text":"TemporaryFile(/tmp/multipartBody3694820633693860588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_41_02_995555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f3f25713c63d211ade4949964c95c60.jpg","text":"TemporaryFile(/tmp/multipartBody3853600634783403669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_40_02_755411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b5284d1fd5670df55074d7ea3aefe46.jpg","text":"TemporaryFile(/tmp/multipartBody3385624746790907024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_39_02_528246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a84633cc105513008451d52f1e54ef13.jpg","text":"TemporaryFile(/tmp/multipartBody9170667093843725770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_41_02_995555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6069cc2d95f83c6d7cf5eb85876f9183.jpg","text":"TemporaryFile(/tmp/multipartBody4316141036735045002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181047733,"filename":"image_06012025_16_40_02_755411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000493","file1":"1327000491","file0":"1327000489","file4":"1327000499","file5":"1327000528","file3":"1327000496"},"map_files_photo_id_array":[{"photo_id":"1327000528","filename":"file5"},{"photo_id":"1327000493","filename":"file2"},{"photo_id":"1327000499","filename":"file4"},{"photo_id":"1327000491","filename":"file1"},{"photo_id":"1327000489","filename":"file0"},{"photo_id":"1327000496","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000496":["hashtag1","hashtag2"]},{"1327000499":["hashtag1","hashtag2"]},{"1327000493":["hashtag1","hashtag2"]},{"1327000489":["hashtag1","hashtag2"]},{"1327000528":["hashtag1","hashtag2"]},{"1327000491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000496, 1327000499, 1327000493, 1327000489, 1327000528, 1327000491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.645753622055054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:30:31.893493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0002.jpg', '/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0003.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0000.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0001.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0002.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0002.jpg
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0003.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0000.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0001.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0002.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_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.66390347480774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:30:51.928945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0002.jpg', '/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0003.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0000.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0001.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0002.jpg', '/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0002.jpg
/home/pi/Desktop/images/06012025/16/41/image_06012025_16_41_02_995555_0003.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0000.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0001.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_0002.jpg
/home/pi/Desktop/images/06012025/16/42/image_06012025_16_42_03_156769_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":["1327000629","1327000550","1327000610","1327000552","1327000546","1327000549"],"photo_ids_order":["1327000546","1327000549","1327000550","1327000552","1327000610","1327000629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c118ef2169c0242f24b2c38bfc0a1b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6680353997013279445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_42_03_156769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58dc67d8fe868f6140fb7cb57a2befbc.jpg","text":"TemporaryFile(/tmp/multipartBody2653765759357968501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_42_03_156769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42ced52aa15c98051202c7b45c31d04b.jpg","text":"TemporaryFile(/tmp/multipartBody9004188157582276130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_42_03_156769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/143b9b13ba5170f68b0ac78db6c85e36.jpg","text":"TemporaryFile(/tmp/multipartBody286790300792898002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_42_03_156769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d972d16fdfa978e848e08f1a8ebbcd4b.jpg","text":"TemporaryFile(/tmp/multipartBody2502476388109705542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_41_02_995555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e275d8d21805af6e45e0ad31c038e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2222035001373831768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181126989,"filename":"image_06012025_16_41_02_995555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000550","file1":"1327000549","file0":"1327000546","file4":"1327000610","file5":"1327000629","file3":"1327000552"},"map_files_photo_id_array":[{"photo_id":"1327000629","filename":"file5"},{"photo_id":"1327000550","filename":"file2"},{"photo_id":"1327000610","filename":"file4"},{"photo_id":"1327000549","filename":"file1"},{"photo_id":"1327000546","filename":"file0"},{"photo_id":"1327000552","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000629":["hashtag1","hashtag2"]},{"1327000550":["hashtag1","hashtag2"]},{"1327000610":["hashtag1","hashtag2"]},{"1327000552":["hashtag1","hashtag2"]},{"1327000546":["hashtag1","hashtag2"]},{"1327000549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000629, 1327000550, 1327000610, 1327000552, 1327000546, 1327000549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.78472185134888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:31:52.118492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0000.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0001.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0002.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0003.jpg', '/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0000.jpg', '/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0000.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0001.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0002.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0003.jpg
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0000.jpg
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_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.869525909423828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:32:22.358698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0000.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0001.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0002.jpg', '/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0003.jpg', '/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0000.jpg', '/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0000.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0001.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0002.jpg
/home/pi/Desktop/images/06012025/16/43/image_06012025_16_43_02_488205_0003.jpg
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0000.jpg
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_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":["1327000751","1327000769","1327000754","1327000756","1327000747","1327000767"],"photo_ids_order":["1327000747","1327000751","1327000754","1327000756","1327000767","1327000769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6bd645c36f5c09efa22e480cd7aa3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2889597247804940275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_43_02_488205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aa3af81de9ff1a45e4716e3fedab45d6.jpg","text":"TemporaryFile(/tmp/multipartBody5343857766861548596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_44_02_642613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4feef03e42e6f399d5276464d86c763d.jpg","text":"TemporaryFile(/tmp/multipartBody6826530483109260674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_43_02_488205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d8dbfb715e0c269a1f86ff519c628bd.jpg","text":"TemporaryFile(/tmp/multipartBody7535702868977326935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_43_02_488205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dab2db1b3ee7e2b323fd97ad8c314bcd.jpg","text":"TemporaryFile(/tmp/multipartBody9054013311566544717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_43_02_488205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45820745053aaf1136b88091cef6ad54.jpg","text":"TemporaryFile(/tmp/multipartBody2570765060877421797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181217606,"filename":"image_06012025_16_44_02_642613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000754","file1":"1327000751","file0":"1327000747","file4":"1327000767","file5":"1327000769","file3":"1327000756"},"map_files_photo_id_array":[{"photo_id":"1327000769","filename":"file5"},{"photo_id":"1327000754","filename":"file2"},{"photo_id":"1327000767","filename":"file4"},{"photo_id":"1327000751","filename":"file1"},{"photo_id":"1327000747","filename":"file0"},{"photo_id":"1327000756","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000751":["hashtag1","hashtag2"]},{"1327000769":["hashtag1","hashtag2"]},{"1327000754":["hashtag1","hashtag2"]},{"1327000756":["hashtag1","hashtag2"]},{"1327000747":["hashtag1","hashtag2"]},{"1327000767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000751, 1327000769, 1327000754, 1327000756, 1327000747, 1327000767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.47206902503967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:33:32.494122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0002.jpg', '/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0003.jpg', '/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0000.jpg', '/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0001.jpg', '/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0002.jpg', '/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0002.jpg
/home/pi/Desktop/images/06012025/16/44/image_06012025_16_44_02_642613_0003.jpg
/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0000.jpg
/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0001.jpg
/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_0002.jpg
/home/pi/Desktop/images/06012025/16/45/image_06012025_16_45_02_803358_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":["1327000857","1327000868","1327000861","1327000870","1327000864","1327000866"],"photo_ids_order":["1327000857","1327000861","1327000864","1327000866","1327000868","1327000870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da7696f8656b25dd1af23cd0c1534355.jpg","text":"TemporaryFile(/tmp/multipartBody6533588885245651070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_44_02_642613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f718b26479359316f19c3f2a968b843.jpg","text":"TemporaryFile(/tmp/multipartBody1781436179933473219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_45_02_803358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/224bc3d7f24d4b224046f660c8bcc2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1093993955468619934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_44_02_642613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/631e8f9d77ebc07e81780b55dc1e388f.jpg","text":"TemporaryFile(/tmp/multipartBody3212632247561430307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_45_02_803358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44b1126b6b7bcc7761219c667edd89af.jpg","text":"TemporaryFile(/tmp/multipartBody1284360029052973213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_45_02_803358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f6740813b7c310e88a92ed99ab313d8.jpg","text":"TemporaryFile(/tmp/multipartBody5286671790636645458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181287744,"filename":"image_06012025_16_45_02_803358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000864","file1":"1327000861","file0":"1327000857","file4":"1327000868","file5":"1327000870","file3":"1327000866"},"map_files_photo_id_array":[{"photo_id":"1327000870","filename":"file5"},{"photo_id":"1327000864","filename":"file2"},{"photo_id":"1327000868","filename":"file4"},{"photo_id":"1327000861","filename":"file1"},{"photo_id":"1327000857","filename":"file0"},{"photo_id":"1327000866","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000857":["hashtag1","hashtag2"]},{"1327000868":["hashtag1","hashtag2"]},{"1327000861":["hashtag1","hashtag2"]},{"1327000870":["hashtag1","hashtag2"]},{"1327000864":["hashtag1","hashtag2"]},{"1327000866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000857, 1327000868, 1327000861, 1327000870, 1327000864, 1327000866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4287531375885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:34:32.698969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0000.jpg', '/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0001.jpg', '/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0002.jpg', '/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0003.jpg', '/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0000.jpg', '/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0000.jpg
/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0001.jpg
/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0002.jpg
/home/pi/Desktop/images/06012025/16/46/image_06012025_16_46_02_963799_0003.jpg
/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0000.jpg
/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_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":["1327000889","1327000880","1327000897","1327000891","1327000894","1327000899"],"photo_ids_order":["1327000880","1327000889","1327000891","1327000894","1327000897","1327000899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9126a6cdc95eb8ceb58bee3169259908.jpg","text":"TemporaryFile(/tmp/multipartBody8278910852782104508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_46_02_963799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c054e00d8646275ac04c4647b3d9b519.jpg","text":"TemporaryFile(/tmp/multipartBody7134276636121326061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_46_02_963799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed03817dc063f5b570297f9af1ab99df.jpg","text":"TemporaryFile(/tmp/multipartBody3320879497711915154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_47_02_188260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4aff39fc05bfd6f9cb09e9611c866e5.jpg","text":"TemporaryFile(/tmp/multipartBody6708664736153302341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_46_02_963799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc4377825523609f625d4b55ab95597e.jpg","text":"TemporaryFile(/tmp/multipartBody2208355024774262846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_46_02_963799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d145a57cf710cb29882d19031608286.jpg","text":"TemporaryFile(/tmp/multipartBody8910387896679235681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181348034,"filename":"image_06012025_16_47_02_188260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000891","file1":"1327000889","file0":"1327000880","file4":"1327000897","file5":"1327000899","file3":"1327000894"},"map_files_photo_id_array":[{"photo_id":"1327000899","filename":"file5"},{"photo_id":"1327000891","filename":"file2"},{"photo_id":"1327000897","filename":"file4"},{"photo_id":"1327000889","filename":"file1"},{"photo_id":"1327000880","filename":"file0"},{"photo_id":"1327000894","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000889":["hashtag1","hashtag2"]},{"1327000880":["hashtag1","hashtag2"]},{"1327000897":["hashtag1","hashtag2"]},{"1327000891":["hashtag1","hashtag2"]},{"1327000894":["hashtag1","hashtag2"]},{"1327000899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000889, 1327000880, 1327000897, 1327000891, 1327000894, 1327000899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87599420547485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:35:31.888642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0002.jpg', '/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0003.jpg', '/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0000.jpg', '/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0001.jpg', '/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0002.jpg', '/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0002.jpg
/home/pi/Desktop/images/06012025/16/47/image_06012025_16_47_02_188260_0003.jpg
/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0000.jpg
/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0001.jpg
/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_0002.jpg
/home/pi/Desktop/images/06012025/16/48/image_06012025_16_48_02_392071_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":["1327000996","1327000990","1327000969","1327000980","1327000998","1327000971"],"photo_ids_order":["1327000969","1327000971","1327000980","1327000990","1327000996","1327000998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94efdb3ed3fe618a2c497d68fa91eba7.jpg","text":"TemporaryFile(/tmp/multipartBody2771506872238356668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_48_02_392071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/288578b41602fb833492e67e424cb583.jpg","text":"TemporaryFile(/tmp/multipartBody2694215371186543184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_48_02_392071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42d0db5e82766375ec854277e96fbe19.jpg","text":"TemporaryFile(/tmp/multipartBody7180322729177520644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_47_02_188260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc902089f6c2b082a1ed0f4de5aa15a7.jpg","text":"TemporaryFile(/tmp/multipartBody532261269661449550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_48_02_392071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e75da7b4390e36d63b0150a42823d209.jpg","text":"TemporaryFile(/tmp/multipartBody2884675025394095046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_48_02_392071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8f0c2b650d3bdac15a3849d73207ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5724774707061420622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181407029,"filename":"image_06012025_16_47_02_188260_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327000980","file1":"1327000971","file0":"1327000969","file4":"1327000996","file5":"1327000998","file3":"1327000990"},"map_files_photo_id_array":[{"photo_id":"1327000998","filename":"file5"},{"photo_id":"1327000980","filename":"file2"},{"photo_id":"1327000996","filename":"file4"},{"photo_id":"1327000971","filename":"file1"},{"photo_id":"1327000969","filename":"file0"},{"photo_id":"1327000990","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327000996":["hashtag1","hashtag2"]},{"1327000990":["hashtag1","hashtag2"]},{"1327000969":["hashtag1","hashtag2"]},{"1327000980":["hashtag1","hashtag2"]},{"1327000998":["hashtag1","hashtag2"]},{"1327000971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327000996, 1327000990, 1327000969, 1327000980, 1327000998, 1327000971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.948179483413696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:36:32.175123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0000.jpg', '/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0001.jpg', '/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0002.jpg', '/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0003.jpg', '/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_0000.jpg', '/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0000.jpg
/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0001.jpg
/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0002.jpg
/home/pi/Desktop/images/06012025/16/49/image_06012025_16_49_02_564745_0003.jpg
/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_0000.jpg
/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_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":["1327001016","1327001019","1327001117","1327001021","1327001023","1327001025"],"photo_ids_order":["1327001016","1327001019","1327001021","1327001023","1327001025","1327001117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b44a3e53948bf78372cc46996a4548d6.jpg","text":"TemporaryFile(/tmp/multipartBody4314427897772182222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_49_02_564745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7cfc6003836ac4b070cf635fb8a3e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8353061072966168501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_49_02_564745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/531b213538e48dc3f783e385c6e2ea17.jpg","text":"TemporaryFile(/tmp/multipartBody6687458129414671987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_50_02_876283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f58864cb01b69cb8050f1a6b4d02d354.jpg","text":"TemporaryFile(/tmp/multipartBody9054784255317333824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_49_02_564745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f12c1aed8bf187d91d058c0a48457766.jpg","text":"TemporaryFile(/tmp/multipartBody86515777555028565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_49_02_564745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76298b823e1cbb731f635de4f5e8fba3.jpg","text":"TemporaryFile(/tmp/multipartBody7012454493722308503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181467482,"filename":"image_06012025_16_50_02_876283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001021","file1":"1327001019","file0":"1327001016","file4":"1327001025","file5":"1327001117","file3":"1327001023"},"map_files_photo_id_array":[{"photo_id":"1327001117","filename":"file5"},{"photo_id":"1327001021","filename":"file2"},{"photo_id":"1327001025","filename":"file4"},{"photo_id":"1327001019","filename":"file1"},{"photo_id":"1327001016","filename":"file0"},{"photo_id":"1327001023","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001016":["hashtag1","hashtag2"]},{"1327001019":["hashtag1","hashtag2"]},{"1327001117":["hashtag1","hashtag2"]},{"1327001021":["hashtag1","hashtag2"]},{"1327001023":["hashtag1","hashtag2"]},{"1327001025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001016, 1327001019, 1327001117, 1327001021, 1327001023, 1327001025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.54862117767334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:37:32.312799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_0003.jpg', '/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0000.jpg', '/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0001.jpg', '/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0002.jpg', '/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0003.jpg', '/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/50/image_06012025_16_50_02_876283_0003.jpg
/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0000.jpg
/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0001.jpg
/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0002.jpg
/home/pi/Desktop/images/06012025/16/51/image_06012025_16_51_02_961598_0003.jpg
/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_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":["1327001168","1327001153","1327001162","1327001164","1327001167","1327001157"],"photo_ids_order":["1327001153","1327001157","1327001162","1327001164","1327001167","1327001168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c86533af47f51525807e72bcc67bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5584390033060705484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_52_02_183497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5dc16a9a3eb90d13983aaba4dc9f79da.jpg","text":"TemporaryFile(/tmp/multipartBody6869723791468406652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_50_02_876283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a12a8fed633d76cd00e7827d0a5d2e92.jpg","text":"TemporaryFile(/tmp/multipartBody1943265598321230623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_51_02_961598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c59f94dd9a5f9fd870f936d264afaca7.jpg","text":"TemporaryFile(/tmp/multipartBody3447620439108872932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_51_02_961598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68ab6960121f1c89fdfe5c507d6cccce.jpg","text":"TemporaryFile(/tmp/multipartBody1723082410661286447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_51_02_961598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5bc863d2d8855b6682a1b5e512290912.jpg","text":"TemporaryFile(/tmp/multipartBody7572620299229323145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181527439,"filename":"image_06012025_16_51_02_961598_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001162","file1":"1327001157","file0":"1327001153","file4":"1327001167","file5":"1327001168","file3":"1327001164"},"map_files_photo_id_array":[{"photo_id":"1327001168","filename":"file5"},{"photo_id":"1327001162","filename":"file2"},{"photo_id":"1327001167","filename":"file4"},{"photo_id":"1327001157","filename":"file1"},{"photo_id":"1327001153","filename":"file0"},{"photo_id":"1327001164","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001168":["hashtag1","hashtag2"]},{"1327001153":["hashtag1","hashtag2"]},{"1327001162":["hashtag1","hashtag2"]},{"1327001164":["hashtag1","hashtag2"]},{"1327001167":["hashtag1","hashtag2"]},{"1327001157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001168, 1327001153, 1327001162, 1327001164, 1327001167, 1327001157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.252663135528564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:38:32.567946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0001.jpg', '/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0002.jpg', '/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0003.jpg', '/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0000.jpg', '/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0001.jpg', '/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0001.jpg
/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0002.jpg
/home/pi/Desktop/images/06012025/16/52/image_06012025_16_52_02_183497_0003.jpg
/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0000.jpg
/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0001.jpg
/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_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":["1327001208","1327001216","1327001210","1327001213","1327001218","1327001205"],"photo_ids_order":["1327001205","1327001208","1327001210","1327001213","1327001216","1327001218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/846e1b76e2edb89fbbde6fbd9f0af574.jpg","text":"TemporaryFile(/tmp/multipartBody6896197848025339846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_52_02_183497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33fcb49fe852c2a4fe3e977302e74067.jpg","text":"TemporaryFile(/tmp/multipartBody85053013934988787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_53_02_429784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/191ec558210e5360758b6598b7f568f9.jpg","text":"TemporaryFile(/tmp/multipartBody5954005723514151557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_52_02_183497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0c5417b81a3d75af43115576c0089f0.jpg","text":"TemporaryFile(/tmp/multipartBody3042470945576200722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_53_02_429784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b96db899778f9fcc0c95b65854dc685.jpg","text":"TemporaryFile(/tmp/multipartBody860116220212869098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_53_02_429784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/811fe8a9c533f34a25bb0fd72bc468e2.jpg","text":"TemporaryFile(/tmp/multipartBody7891921675191628832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181587713,"filename":"image_06012025_16_52_02_183497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001210","file1":"1327001208","file0":"1327001205","file4":"1327001216","file5":"1327001218","file3":"1327001213"},"map_files_photo_id_array":[{"photo_id":"1327001218","filename":"file5"},{"photo_id":"1327001210","filename":"file2"},{"photo_id":"1327001216","filename":"file4"},{"photo_id":"1327001208","filename":"file1"},{"photo_id":"1327001205","filename":"file0"},{"photo_id":"1327001213","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001208":["hashtag1","hashtag2"]},{"1327001216":["hashtag1","hashtag2"]},{"1327001210":["hashtag1","hashtag2"]},{"1327001213":["hashtag1","hashtag2"]},{"1327001218":["hashtag1","hashtag2"]},{"1327001205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001208, 1327001216, 1327001210, 1327001213, 1327001218, 1327001205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38509559631348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:39:32.732648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0003.jpg', '/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0000.jpg', '/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0001.jpg', '/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0002.jpg', '/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0003.jpg', '/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/53/image_06012025_16_53_02_429784_0003.jpg
/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0000.jpg
/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0001.jpg
/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0002.jpg
/home/pi/Desktop/images/06012025/16/54/image_06012025_16_54_02_592429_0003.jpg
/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_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":["1327001234","1327001228","1327001230","1327001236","1327001232","1327001226"],"photo_ids_order":["1327001226","1327001228","1327001230","1327001232","1327001234","1327001236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/432a3c3af587aad14b1dc4155e220648.jpg","text":"TemporaryFile(/tmp/multipartBody97024187793994008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_54_02_592429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b83c9c67c9ed76d63fc2c8f43776911.jpg","text":"TemporaryFile(/tmp/multipartBody5199190762790040633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_54_02_592429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6466774ae1bce9c6b3e094979d3326ad.jpg","text":"TemporaryFile(/tmp/multipartBody6483148606644521641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_54_02_592429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/562628aa9ad54031a52bdff22c1ad72d.jpg","text":"TemporaryFile(/tmp/multipartBody5583600833778015205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_55_02_663526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c363fbfcc637e8afcc7e977ee7f4d59e.jpg","text":"TemporaryFile(/tmp/multipartBody345942327942574019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_54_02_592429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb1970664e2128b048ae5aff8cb20ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4625221258868340931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181647943,"filename":"image_06012025_16_53_02_429784_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001230","file1":"1327001228","file0":"1327001226","file4":"1327001234","file5":"1327001236","file3":"1327001232"},"map_files_photo_id_array":[{"photo_id":"1327001236","filename":"file5"},{"photo_id":"1327001230","filename":"file2"},{"photo_id":"1327001234","filename":"file4"},{"photo_id":"1327001228","filename":"file1"},{"photo_id":"1327001226","filename":"file0"},{"photo_id":"1327001232","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001234":["hashtag1","hashtag2"]},{"1327001228":["hashtag1","hashtag2"]},{"1327001230":["hashtag1","hashtag2"]},{"1327001236":["hashtag1","hashtag2"]},{"1327001232":["hashtag1","hashtag2"]},{"1327001226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001234, 1327001228, 1327001230, 1327001236, 1327001232, 1327001226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.273637533187866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:40:31.966173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0001.jpg', '/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0002.jpg', '/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0003.jpg', '/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0000.jpg', '/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0001.jpg', '/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0001.jpg
/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0002.jpg
/home/pi/Desktop/images/06012025/16/55/image_06012025_16_55_02_663526_0003.jpg
/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0000.jpg
/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0001.jpg
/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_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":["1327001249","1327001257","1327001251","1327001245","1327001248","1327001247"],"photo_ids_order":["1327001245","1327001247","1327001248","1327001249","1327001251","1327001257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d293447386ff2b79d3ebd7aff4de35aa.jpg","text":"TemporaryFile(/tmp/multipartBody8908761359512779422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_56_02_889655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5ca686c7a20041f7f205aff52f10e28.jpg","text":"TemporaryFile(/tmp/multipartBody4108074460637451327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_56_02_889655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8286ed160cd407a5364892d87980e778.jpg","text":"TemporaryFile(/tmp/multipartBody5168048228943034469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_56_02_889655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3026bc117d2a8f8f6074f8cbe478990e.jpg","text":"TemporaryFile(/tmp/multipartBody5518428266722222007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_55_02_663526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c29bf021bc6239021618418b9d8e45ea.jpg","text":"TemporaryFile(/tmp/multipartBody8403480456835634020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_55_02_663526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab1c880290990c8d230f8cbbb1946f67.jpg","text":"TemporaryFile(/tmp/multipartBody2239007744103960943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181707013,"filename":"image_06012025_16_55_02_663526_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001248","file1":"1327001247","file0":"1327001245","file4":"1327001251","file5":"1327001257","file3":"1327001249"},"map_files_photo_id_array":[{"photo_id":"1327001257","filename":"file5"},{"photo_id":"1327001248","filename":"file2"},{"photo_id":"1327001251","filename":"file4"},{"photo_id":"1327001247","filename":"file1"},{"photo_id":"1327001245","filename":"file0"},{"photo_id":"1327001249","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001249":["hashtag1","hashtag2"]},{"1327001257":["hashtag1","hashtag2"]},{"1327001251":["hashtag1","hashtag2"]},{"1327001245":["hashtag1","hashtag2"]},{"1327001248":["hashtag1","hashtag2"]},{"1327001247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001249, 1327001257, 1327001251, 1327001245, 1327001248, 1327001247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.6070077419281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:41:32.134151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0003.jpg', '/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0000.jpg', '/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0001.jpg', '/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0002.jpg', '/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0003.jpg', '/home/pi/Desktop/images/06012025/16/58/image_06012025_16_58_02_238224_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/56/image_06012025_16_56_02_889655_0003.jpg
/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0000.jpg
/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0001.jpg
/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0002.jpg
/home/pi/Desktop/images/06012025/16/57/image_06012025_16_57_03_057149_0003.jpg
/home/pi/Desktop/images/06012025/16/58/image_06012025_16_58_02_238224_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":["1327001270","1327001306","1327001272","1327001311","1327001308","1327001271"],"photo_ids_order":["1327001270","1327001271","1327001272","1327001306","1327001308","1327001311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/164aa9d85f5e3c382f977a3523845974.jpg","text":"TemporaryFile(/tmp/multipartBody6113462277092090207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_56_02_889655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1205f2aedf4d25e2c35aa63909451ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2234238332675813935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_57_03_057149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7b46dc4b7d8ada8b74880cf15262ead.jpg","text":"TemporaryFile(/tmp/multipartBody7455938317866449180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_57_03_057149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7887a7745bcd6105e47f668a918c9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody4374956847952354135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_58_02_238224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0225f3d6836407959beadb487c523d6a.jpg","text":"TemporaryFile(/tmp/multipartBody659327875044860339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_57_03_057149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9eebffc0be2b3d63d1aa7e8a0bb4bce.jpg","text":"TemporaryFile(/tmp/multipartBody3840084423636139294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181767272,"filename":"image_06012025_16_57_03_057149_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001272","file1":"1327001271","file0":"1327001270","file4":"1327001308","file5":"1327001311","file3":"1327001306"},"map_files_photo_id_array":[{"photo_id":"1327001311","filename":"file5"},{"photo_id":"1327001272","filename":"file2"},{"photo_id":"1327001308","filename":"file4"},{"photo_id":"1327001271","filename":"file1"},{"photo_id":"1327001270","filename":"file0"},{"photo_id":"1327001306","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001270":["hashtag1","hashtag2"]},{"1327001306":["hashtag1","hashtag2"]},{"1327001272":["hashtag1","hashtag2"]},{"1327001311":["hashtag1","hashtag2"]},{"1327001308":["hashtag1","hashtag2"]},{"1327001271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001270, 1327001306, 1327001272, 1327001311, 1327001308, 1327001271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.591904640197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:42:32.301923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/16/59/image_06012025_16_59_02_403809_0000.jpg', '/home/pi/Desktop/images/06012025/17/00/image_06012025_17_00_02_527459_0000.jpg', '/home/pi/Desktop/images/06012025/17/00/image_06012025_17_00_02_527459_0001.jpg', '/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_0000.jpg', '/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_0001.jpg', '/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/16/59/image_06012025_16_59_02_403809_0000.jpg
/home/pi/Desktop/images/06012025/17/00/image_06012025_17_00_02_527459_0000.jpg
/home/pi/Desktop/images/06012025/17/00/image_06012025_17_00_02_527459_0001.jpg
/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_0000.jpg
/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_0001.jpg
/home/pi/Desktop/images/06012025/17/01/image_06012025_17_01_02_788468_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":["1327001334","1327001333","1327001336","1327001330","1327001338","1327001332"],"photo_ids_order":["1327001330","1327001332","1327001333","1327001334","1327001336","1327001338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8819587c21b2d69254c006fe7c51f2a2.jpg","text":"TemporaryFile(/tmp/multipartBody7019393341090157188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_17_01_02_788468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a831eb3bb01dfd005237162548badf33.jpg","text":"TemporaryFile(/tmp/multipartBody5731986664606233166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_17_00_02_527459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ea6dfd30fa8bad9d181d1d6bdf053d4.jpg","text":"TemporaryFile(/tmp/multipartBody6185071718279614136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_17_01_02_788468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b36744922175b07e56bf9fecd571cc81.jpg","text":"TemporaryFile(/tmp/multipartBody8125544212360326137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_16_59_02_403809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f5f8de676be677469ee096a9a905dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4259253527161860535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_17_01_02_788468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7fd03287b6a584af1743125ac199190.jpg","text":"TemporaryFile(/tmp/multipartBody8767651252169563832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181827514,"filename":"image_06012025_17_00_02_527459_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001333","file1":"1327001332","file0":"1327001330","file4":"1327001336","file5":"1327001338","file3":"1327001334"},"map_files_photo_id_array":[{"photo_id":"1327001338","filename":"file5"},{"photo_id":"1327001333","filename":"file2"},{"photo_id":"1327001336","filename":"file4"},{"photo_id":"1327001332","filename":"file1"},{"photo_id":"1327001330","filename":"file0"},{"photo_id":"1327001334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001334":["hashtag1","hashtag2"]},{"1327001333":["hashtag1","hashtag2"]},{"1327001336":["hashtag1","hashtag2"]},{"1327001330":["hashtag1","hashtag2"]},{"1327001338":["hashtag1","hashtag2"]},{"1327001332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001334, 1327001333, 1327001336, 1327001330, 1327001338, 1327001332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98846793174744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:43:32.500250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0000.jpg', '/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0001.jpg', '/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0002.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0000.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0001.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0000.jpg
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0001.jpg
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0002.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0000.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0001.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_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.803524255752563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:43:52.479247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0000.jpg', '/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0001.jpg', '/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0002.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0000.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0001.jpg', '/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0000.jpg
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0001.jpg
/home/pi/Desktop/images/06012025/17/02/image_06012025_17_02_02_952002_0002.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0000.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0001.jpg
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_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":["1327001384","1327001393","1327001360","1327001388","1327001370","1327001364"],"photo_ids_order":["1327001360","1327001364","1327001370","1327001384","1327001388","1327001393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77cdf6ecc861dcde4e3168be96b9464f.jpg","text":"TemporaryFile(/tmp/multipartBody635265925201210532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_03_03_195681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce0e9c58524271772efb765ac337953d.jpg","text":"TemporaryFile(/tmp/multipartBody5471958116368174525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_03_03_195681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0a08adecdf970daae5176ee0c15d1d4.jpg","text":"TemporaryFile(/tmp/multipartBody8599751935089983556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_02_02_952002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8214e4fc87df2fa0e44dfb0ef65c138a.jpg","text":"TemporaryFile(/tmp/multipartBody8190728871908495952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_03_03_195681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6acfde1a805d66dc465f7f13a0b5c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody5687723489210026948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_02_02_952002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d22c7db50753530a6107fe7a21803d.jpg","text":"TemporaryFile(/tmp/multipartBody3770427846657713137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181907727,"filename":"image_06012025_17_02_02_952002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001370","file1":"1327001364","file0":"1327001360","file4":"1327001388","file5":"1327001393","file3":"1327001384"},"map_files_photo_id_array":[{"photo_id":"1327001393","filename":"file5"},{"photo_id":"1327001370","filename":"file2"},{"photo_id":"1327001388","filename":"file4"},{"photo_id":"1327001364","filename":"file1"},{"photo_id":"1327001360","filename":"file0"},{"photo_id":"1327001384","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001384":["hashtag1","hashtag2"]},{"1327001393":["hashtag1","hashtag2"]},{"1327001360":["hashtag1","hashtag2"]},{"1327001388":["hashtag1","hashtag2"]},{"1327001370":["hashtag1","hashtag2"]},{"1327001364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001384, 1327001393, 1327001360, 1327001388, 1327001370, 1327001364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2327446937561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:44:52.645923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0003.jpg', '/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0000.jpg', '/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0002.jpg', '/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0003.jpg', '/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0000.jpg', '/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/03/image_06012025_17_03_03_195681_0003.jpg
/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0000.jpg
/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0002.jpg
/home/pi/Desktop/images/06012025/17/04/image_06012025_17_04_02_372639_0003.jpg
/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0000.jpg
/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_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":["1327001459","1327001453","1327001456","1327001466","1327001469","1327001463"],"photo_ids_order":["1327001453","1327001456","1327001459","1327001463","1327001466","1327001469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce070dc99fc551e139341ec0b3a76d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6238604721700693267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_04_02_372639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00ff3e471b4bc7efe9e572baa8ddfc66.jpg","text":"TemporaryFile(/tmp/multipartBody3279089570720289766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_03_03_195681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/278a49e6331f57290218ae2777b95306.jpg","text":"TemporaryFile(/tmp/multipartBody282986598549372472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_04_02_372639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2923258082d2d93bcf643520134176f6.jpg","text":"TemporaryFile(/tmp/multipartBody4795975001150319416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_05_02_459807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da52749db602d69a343f71215ae13b43.jpg","text":"TemporaryFile(/tmp/multipartBody5693629858919978578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_05_02_459807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e7dc3e3f2248d5c3ca2cbfce835b063.jpg","text":"TemporaryFile(/tmp/multipartBody39219667871469763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736181967882,"filename":"image_06012025_17_04_02_372639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001459","file1":"1327001456","file0":"1327001453","file4":"1327001466","file5":"1327001469","file3":"1327001463"},"map_files_photo_id_array":[{"photo_id":"1327001469","filename":"file5"},{"photo_id":"1327001459","filename":"file2"},{"photo_id":"1327001466","filename":"file4"},{"photo_id":"1327001456","filename":"file1"},{"photo_id":"1327001453","filename":"file0"},{"photo_id":"1327001463","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001459":["hashtag1","hashtag2"]},{"1327001453":["hashtag1","hashtag2"]},{"1327001456":["hashtag1","hashtag2"]},{"1327001466":["hashtag1","hashtag2"]},{"1327001469":["hashtag1","hashtag2"]},{"1327001463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001459, 1327001453, 1327001456, 1327001466, 1327001469, 1327001463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.723759174346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:45:51.883224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0002.jpg', '/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0003.jpg', '/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0001.jpg', '/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0002.jpg', '/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0003.jpg', '/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0002.jpg
/home/pi/Desktop/images/06012025/17/05/image_06012025_17_05_02_459807_0003.jpg
/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0001.jpg
/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0002.jpg
/home/pi/Desktop/images/06012025/17/06/image_06012025_17_06_02_730311_0003.jpg
/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_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":["1327001543","1327001540","1327001537","1327001533","1327001547","1327001535"],"photo_ids_order":["1327001533","1327001535","1327001537","1327001540","1327001543","1327001547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43bfee09326aaf778bf84c57226926ea.jpg","text":"TemporaryFile(/tmp/multipartBody2965445916902511944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_06_02_730311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e71d0427f06f950872f30f044b2e9053.jpg","text":"TemporaryFile(/tmp/multipartBody4724116002231574159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_06_02_730311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4313ec4058a5aa5b6ac09ab5b3904d92.jpg","text":"TemporaryFile(/tmp/multipartBody3128469836229682829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_06_02_730311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/463572adf28f746e1e27f254ec5521a8.jpg","text":"TemporaryFile(/tmp/multipartBody4939810741493170468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_05_02_459807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50ca0c33717890c34f30c94563f7bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody9190549239691109278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_07_02_888706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6410916db89d35646994fd1fef3252d6.jpg","text":"TemporaryFile(/tmp/multipartBody3040630304547404144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182027097,"filename":"image_06012025_17_05_02_459807_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001537","file1":"1327001535","file0":"1327001533","file4":"1327001543","file5":"1327001547","file3":"1327001540"},"map_files_photo_id_array":[{"photo_id":"1327001547","filename":"file5"},{"photo_id":"1327001537","filename":"file2"},{"photo_id":"1327001543","filename":"file4"},{"photo_id":"1327001535","filename":"file1"},{"photo_id":"1327001533","filename":"file0"},{"photo_id":"1327001540","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001543":["hashtag1","hashtag2"]},{"1327001540":["hashtag1","hashtag2"]},{"1327001537":["hashtag1","hashtag2"]},{"1327001533":["hashtag1","hashtag2"]},{"1327001547":["hashtag1","hashtag2"]},{"1327001535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001543, 1327001540, 1327001537, 1327001533, 1327001547, 1327001535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29507637023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 17:46:52.085147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0001.jpg', '/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0002.jpg', '/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0003.jpg', '/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0000.jpg', '/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0001.jpg', '/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0001.jpg
/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0002.jpg
/home/pi/Desktop/images/06012025/17/07/image_06012025_17_07_02_888706_0003.jpg
/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0000.jpg
/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0001.jpg
/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_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":["1327001625","1327001579","1327001618","1327001581","1327001640","1327001628"],"photo_ids_order":["1327001579","1327001581","1327001618","1327001625","1327001628","1327001640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52160178699d824965feb69c34135f62.jpg","text":"TemporaryFile(/tmp/multipartBody6640240831867083216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_08_02_977543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4663ffdd2328c3395449f19ac9933557.jpg","text":"TemporaryFile(/tmp/multipartBody3840545721349073801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_07_02_888706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/789bcb086f93e72aa50d0ca440485b38.jpg","text":"TemporaryFile(/tmp/multipartBody5765558783230641077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_07_02_888706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca341b6abe06c3ad19317864bddee0d5.jpg","text":"TemporaryFile(/tmp/multipartBody8419803442747868469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_07_02_888706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ebc3f593787bc00fb33c2320bfb4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7544588246582736149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_08_02_977543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9c9b4e6d848b1f9362b09ff402dd481.jpg","text":"TemporaryFile(/tmp/multipartBody3514029254663354198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182087291,"filename":"image_06012025_17_08_02_977543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001618","file1":"1327001581","file0":"1327001579","file4":"1327001628","file5":"1327001640","file3":"1327001625"},"map_files_photo_id_array":[{"photo_id":"1327001640","filename":"file5"},{"photo_id":"1327001618","filename":"file2"},{"photo_id":"1327001628","filename":"file4"},{"photo_id":"1327001581","filename":"file1"},{"photo_id":"1327001579","filename":"file0"},{"photo_id":"1327001625","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001625":["hashtag1","hashtag2"]},{"1327001579":["hashtag1","hashtag2"]},{"1327001618":["hashtag1","hashtag2"]},{"1327001581":["hashtag1","hashtag2"]},{"1327001640":["hashtag1","hashtag2"]},{"1327001628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001625, 1327001579, 1327001618, 1327001581, 1327001640, 1327001628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.3987467288971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:48:02.926736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0003.jpg', '/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0001.jpg', '/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0002.jpg', '/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0003.jpg', '/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0000.jpg', '/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/08/image_06012025_17_08_02_977543_0003.jpg
/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0001.jpg
/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0002.jpg
/home/pi/Desktop/images/06012025/17/09/image_06012025_17_09_02_164615_0003.jpg
/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0000.jpg
/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_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":["1327001702","1327001685","1327001664","1327001688","1327001667","1327001700"],"photo_ids_order":["1327001664","1327001667","1327001685","1327001688","1327001700","1327001702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2febf850d1c1f476d61a48aefb93c014.jpg","text":"TemporaryFile(/tmp/multipartBody5636933589158798574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_10_02_453013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/891f3dabfdd7ca768899877197db2131.jpg","text":"TemporaryFile(/tmp/multipartBody3169191226511673587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_09_02_164615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1dcde8e1fd08066e6a8f4ef1e42d357.jpg","text":"TemporaryFile(/tmp/multipartBody3825855461469742472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_08_02_977543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/986610076c685d7e40779dae38230e57.jpg","text":"TemporaryFile(/tmp/multipartBody7639186386849735260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_09_02_164615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d293dbc9e89c52ad0d6c219e38aae9da.jpg","text":"TemporaryFile(/tmp/multipartBody1803155351065697813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_09_02_164615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69d52947f278763e5e1b7345151d0a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7941568245476851804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182158175,"filename":"image_06012025_17_10_02_453013_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001685","file1":"1327001667","file0":"1327001664","file4":"1327001700","file5":"1327001702","file3":"1327001688"},"map_files_photo_id_array":[{"photo_id":"1327001702","filename":"file5"},{"photo_id":"1327001685","filename":"file2"},{"photo_id":"1327001700","filename":"file4"},{"photo_id":"1327001667","filename":"file1"},{"photo_id":"1327001664","filename":"file0"},{"photo_id":"1327001688","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001702":["hashtag1","hashtag2"]},{"1327001685":["hashtag1","hashtag2"]},{"1327001664":["hashtag1","hashtag2"]},{"1327001688":["hashtag1","hashtag2"]},{"1327001667":["hashtag1","hashtag2"]},{"1327001700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001702, 1327001685, 1327001664, 1327001688, 1327001667, 1327001700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08765149116516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:49:03.160928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0002.jpg', '/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0003.jpg', '/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0000.jpg', '/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0001.jpg', '/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0002.jpg', '/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0002.jpg
/home/pi/Desktop/images/06012025/17/10/image_06012025_17_10_02_453013_0003.jpg
/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0000.jpg
/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0001.jpg
/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_0002.jpg
/home/pi/Desktop/images/06012025/17/11/image_06012025_17_11_02_585695_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":["1327001720","1327001714","1327001717","1327001722","1327001725","1327001772"],"photo_ids_order":["1327001714","1327001717","1327001720","1327001722","1327001725","1327001772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3448b14daa90fa7432c89d5e6c34abd.jpg","text":"TemporaryFile(/tmp/multipartBody953366213071535814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_11_02_585695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea183e13b6e9515f1625c5903a1a7a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8055522718116671418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_10_02_453013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e3042e7507f59c66a536d2a1ed783c1.jpg","text":"TemporaryFile(/tmp/multipartBody90031588060857605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_10_02_453013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03535fdcc810525da0c9250f74a8b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1929130556426782811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_11_02_585695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad9858fa06f52fc32461209147ac1cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6905486258467080223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_11_02_585695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ede716f78beca0591f7b9db94649599.jpg","text":"TemporaryFile(/tmp/multipartBody2907887958170328574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182218467,"filename":"image_06012025_17_11_02_585695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001720","file1":"1327001717","file0":"1327001714","file4":"1327001725","file5":"1327001772","file3":"1327001722"},"map_files_photo_id_array":[{"photo_id":"1327001772","filename":"file5"},{"photo_id":"1327001720","filename":"file2"},{"photo_id":"1327001725","filename":"file4"},{"photo_id":"1327001717","filename":"file1"},{"photo_id":"1327001714","filename":"file0"},{"photo_id":"1327001722","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001720":["hashtag1","hashtag2"]},{"1327001714":["hashtag1","hashtag2"]},{"1327001717":["hashtag1","hashtag2"]},{"1327001722":["hashtag1","hashtag2"]},{"1327001725":["hashtag1","hashtag2"]},{"1327001772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001720, 1327001714, 1327001717, 1327001722, 1327001725, 1327001772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93676519393921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:50:02.304859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0000.jpg', '/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0001.jpg', '/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0002.jpg', '/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0003.jpg', '/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0000.jpg', '/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0000.jpg
/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0001.jpg
/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0002.jpg
/home/pi/Desktop/images/06012025/17/12/image_06012025_17_12_02_747072_0003.jpg
/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0000.jpg
/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_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":["1327001792","1327001789","1327001783","1327001781","1327001784","1327001787"],"photo_ids_order":["1327001781","1327001783","1327001784","1327001787","1327001789","1327001792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d87471571d81cef134820760f422ee92.jpg","text":"TemporaryFile(/tmp/multipartBody7153281827349342297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_13_02_918225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfb6943f2a17019b05287e990f5c8953.jpg","text":"TemporaryFile(/tmp/multipartBody8281461763086533827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_13_02_918225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d59107ad63883a53e9b66a595274284.jpg","text":"TemporaryFile(/tmp/multipartBody7669392841531495491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_12_02_747072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fc592d6ae2e3338fc4bbadae5f659191.jpg","text":"TemporaryFile(/tmp/multipartBody3918993539514190293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_12_02_747072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2820d54acbac510746e44d40d0aa5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7097278200675641107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_12_02_747072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d0cfff0a6e1223c2c93ceb079eabc95.jpg","text":"TemporaryFile(/tmp/multipartBody6580016786376709088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182277646,"filename":"image_06012025_17_12_02_747072_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001784","file1":"1327001783","file0":"1327001781","file4":"1327001789","file5":"1327001792","file3":"1327001787"},"map_files_photo_id_array":[{"photo_id":"1327001792","filename":"file5"},{"photo_id":"1327001784","filename":"file2"},{"photo_id":"1327001789","filename":"file4"},{"photo_id":"1327001783","filename":"file1"},{"photo_id":"1327001781","filename":"file0"},{"photo_id":"1327001787","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001792":["hashtag1","hashtag2"]},{"1327001789":["hashtag1","hashtag2"]},{"1327001783":["hashtag1","hashtag2"]},{"1327001781":["hashtag1","hashtag2"]},{"1327001784":["hashtag1","hashtag2"]},{"1327001787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001792, 1327001789, 1327001783, 1327001781, 1327001784, 1327001787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.850075006484985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 17:51:02.534876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0002.jpg', '/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0003.jpg', '/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0000.jpg', '/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0001.jpg', '/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0003.jpg', '/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0002.jpg
/home/pi/Desktop/images/06012025/17/13/image_06012025_17_13_02_918225_0003.jpg
/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0000.jpg
/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0001.jpg
/home/pi/Desktop/images/06012025/17/14/image_06012025_17_14_03_127218_0003.jpg
/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_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":["1327001933","1327001825","1327001935","1327001908","1327001917","1327001868"],"photo_ids_order":["1327001825","1327001868","1327001908","1327001917","1327001933","1327001935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba396ee5eebb2e98f18eb4f784e8da2d.jpg","text":"TemporaryFile(/tmp/multipartBody7000031129581756581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_14_03_127218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d33b50f9ea5ce9656acdae766f7fc55.jpg","text":"TemporaryFile(/tmp/multipartBody6604707848168953472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_13_02_918225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6469fb3425d7dfb312c69aec63998529.jpg","text":"TemporaryFile(/tmp/multipartBody3458173141186302752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_15_02_285481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84d979769a987bea32f80f00f82de6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2269711305522223770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_14_03_127218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5d22ffbd49c5ebf3c0ea4c65361fbd9.jpg","text":"TemporaryFile(/tmp/multipartBody1267690172670793208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_14_03_127218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a33e4debe7dcada6a25cdc2dfc7f8ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3927164388715492049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182337943,"filename":"image_06012025_17_13_02_918225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001908","file1":"1327001868","file0":"1327001825","file4":"1327001933","file5":"1327001935","file3":"1327001917"},"map_files_photo_id_array":[{"photo_id":"1327001935","filename":"file5"},{"photo_id":"1327001908","filename":"file2"},{"photo_id":"1327001933","filename":"file4"},{"photo_id":"1327001868","filename":"file1"},{"photo_id":"1327001825","filename":"file0"},{"photo_id":"1327001917","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001933":["hashtag1","hashtag2"]},{"1327001825":["hashtag1","hashtag2"]},{"1327001935":["hashtag1","hashtag2"]},{"1327001908":["hashtag1","hashtag2"]},{"1327001917":["hashtag1","hashtag2"]},{"1327001868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001933, 1327001825, 1327001935, 1327001908, 1327001917, 1327001868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.77398371696472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:52:22.224353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0001.jpg', '/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0002.jpg', '/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0003.jpg', '/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0000.jpg', '/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0001.jpg', '/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0001.jpg
/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0002.jpg
/home/pi/Desktop/images/06012025/17/15/image_06012025_17_15_02_285481_0003.jpg
/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0000.jpg
/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0001.jpg
/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_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":["1327001989","1327001998","1327002019","1327001994","1327001997","1327001996"],"photo_ids_order":["1327001989","1327001994","1327001996","1327001997","1327001998","1327002019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4da61194e7ef1a43e63dacd1102d1b04.jpg","text":"TemporaryFile(/tmp/multipartBody6190098521573640362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_15_02_285481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3358f5ab4f3f95238fc1ce28e404a353.jpg","text":"TemporaryFile(/tmp/multipartBody685581730874077384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_16_02_509086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69653f0e3699a62102834ded640a7713.jpg","text":"TemporaryFile(/tmp/multipartBody5125475839117243047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_16_02_509086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d92bbaf70ed81fc3dbdbd5ae16ad8f70.jpg","text":"TemporaryFile(/tmp/multipartBody4374127441464655475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_15_02_285481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e671225b4b05bc7fd0380a8c82035414.jpg","text":"TemporaryFile(/tmp/multipartBody3304769502202428241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_16_02_509086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/471e1669ac3410738cb624f8e9f16048.jpg","text":"TemporaryFile(/tmp/multipartBody8098030121946117640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182417618,"filename":"image_06012025_17_15_02_285481_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327001996","file1":"1327001994","file0":"1327001989","file4":"1327001998","file5":"1327002019","file3":"1327001997"},"map_files_photo_id_array":[{"photo_id":"1327002019","filename":"file5"},{"photo_id":"1327001996","filename":"file2"},{"photo_id":"1327001998","filename":"file4"},{"photo_id":"1327001994","filename":"file1"},{"photo_id":"1327001989","filename":"file0"},{"photo_id":"1327001997","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327001989":["hashtag1","hashtag2"]},{"1327001998":["hashtag1","hashtag2"]},{"1327002019":["hashtag1","hashtag2"]},{"1327001994":["hashtag1","hashtag2"]},{"1327001997":["hashtag1","hashtag2"]},{"1327001996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327001989, 1327001998, 1327002019, 1327001994, 1327001997, 1327001996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.257126331329346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:53:22.434008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0003.jpg', '/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0000.jpg', '/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0001.jpg', '/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0002.jpg', '/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_0000.jpg', '/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/16/image_06012025_17_16_02_509086_0003.jpg
/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0000.jpg
/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0001.jpg
/home/pi/Desktop/images/06012025/17/17/image_06012025_17_17_02_694230_0002.jpg
/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_0000.jpg
/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_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":["1327002035","1327002031","1327002034","1327002028","1327002042","1327002033"],"photo_ids_order":["1327002028","1327002031","1327002033","1327002034","1327002035","1327002042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f2c57e96e4d46f58257b1935d3189b3.jpg","text":"TemporaryFile(/tmp/multipartBody523513403467539108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_18_02_907998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de0c70c21b5ddcdd6dfb2210aab41f81.jpg","text":"TemporaryFile(/tmp/multipartBody6633994519600743755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_17_02_694230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d674c17765a938fb524cf1a7ab87cf88.jpg","text":"TemporaryFile(/tmp/multipartBody1373895606402508600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_17_02_694230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7cd41dcea434180a43562025a01e67b3.jpg","text":"TemporaryFile(/tmp/multipartBody1188075936798105208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_16_02_509086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35129cffe9846c786ec586e31688c658.jpg","text":"TemporaryFile(/tmp/multipartBody7428858805052537793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_18_02_907998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9781017e3f9289e6d84e552ab893a34d.jpg","text":"TemporaryFile(/tmp/multipartBody677963620407977913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182477790,"filename":"image_06012025_17_17_02_694230_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327002033","file1":"1327002031","file0":"1327002028","file4":"1327002035","file5":"1327002042","file3":"1327002034"},"map_files_photo_id_array":[{"photo_id":"1327002042","filename":"file5"},{"photo_id":"1327002033","filename":"file2"},{"photo_id":"1327002035","filename":"file4"},{"photo_id":"1327002031","filename":"file1"},{"photo_id":"1327002028","filename":"file0"},{"photo_id":"1327002034","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327002035":["hashtag1","hashtag2"]},{"1327002031":["hashtag1","hashtag2"]},{"1327002034":["hashtag1","hashtag2"]},{"1327002028":["hashtag1","hashtag2"]},{"1327002042":["hashtag1","hashtag2"]},{"1327002033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327002035, 1327002031, 1327002034, 1327002028, 1327002042, 1327002033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.71768379211426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:54:22.632228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_0002.jpg', '/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0000.jpg', '/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0001.jpg', '/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0002.jpg', '/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0003.jpg', '/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/18/image_06012025_17_18_02_907998_0002.jpg
/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0000.jpg
/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0001.jpg
/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0002.jpg
/home/pi/Desktop/images/06012025/17/19/image_06012025_17_19_03_064830_0003.jpg
/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_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":["1327002056","1327002058","1327002060","1327002054","1327002078","1327002050"],"photo_ids_order":["1327002050","1327002054","1327002056","1327002058","1327002060","1327002078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5cbb81b3e3d2d703183f5fc596749d2.jpg","text":"TemporaryFile(/tmp/multipartBody8277936053500995715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_19_03_064830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44743ef86e93f3542070100ebca021ab.jpg","text":"TemporaryFile(/tmp/multipartBody2036105704625627942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_19_03_064830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8817a6d2ecb8c31c8a08a5828d3d2c64.jpg","text":"TemporaryFile(/tmp/multipartBody1306465038831634962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_19_03_064830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5280dda9349d03289d08c49481c022ba.jpg","text":"TemporaryFile(/tmp/multipartBody8767694611180837482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_19_03_064830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbfcf59ade639b4cba5c43763d58c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2048649560832954594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_20_02_259605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3adb1a6b9ee98124d63bf4b020db562.jpg","text":"TemporaryFile(/tmp/multipartBody52437993001798057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182537997,"filename":"image_06012025_17_18_02_907998_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327002056","file1":"1327002054","file0":"1327002050","file4":"1327002060","file5":"1327002078","file3":"1327002058"},"map_files_photo_id_array":[{"photo_id":"1327002078","filename":"file5"},{"photo_id":"1327002056","filename":"file2"},{"photo_id":"1327002060","filename":"file4"},{"photo_id":"1327002054","filename":"file1"},{"photo_id":"1327002050","filename":"file0"},{"photo_id":"1327002058","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327002056":["hashtag1","hashtag2"]},{"1327002058":["hashtag1","hashtag2"]},{"1327002060":["hashtag1","hashtag2"]},{"1327002054":["hashtag1","hashtag2"]},{"1327002078":["hashtag1","hashtag2"]},{"1327002050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327002056, 1327002058, 1327002060, 1327002054, 1327002078, 1327002050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47791528701782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:55:22.772304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0001.jpg', '/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0002.jpg', '/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0003.jpg', '/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_0000.jpg', '/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_0002.jpg', '/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0001.jpg
/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0002.jpg
/home/pi/Desktop/images/06012025/17/20/image_06012025_17_20_02_259605_0003.jpg
/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_0000.jpg
/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_0002.jpg
/home/pi/Desktop/images/06012025/17/21/image_06012025_17_21_02_407139_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":["1327002134","1327002122","1327002130","1327002127","1327002118","1327002141"],"photo_ids_order":["1327002118","1327002122","1327002127","1327002130","1327002134","1327002141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9247080930ab4c1141a6fd43310e176e.jpg","text":"TemporaryFile(/tmp/multipartBody7460726255694225564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_21_02_407139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05575a347cabf07d8f36b7233701e182.jpg","text":"TemporaryFile(/tmp/multipartBody7236665605009411476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_20_02_259605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcac55e56477b0c65b7671f4d6fe8919.jpg","text":"TemporaryFile(/tmp/multipartBody4782337626232611363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_21_02_407139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9483a286f1e26d920338400191aae34a.jpg","text":"TemporaryFile(/tmp/multipartBody5898652478981385528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_20_02_259605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f5b365e9fb413d62bbab1e0e1df72ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3057319097640535878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_20_02_259605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59176ff176bd60fb87f08518d6d0e2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5486894539219080583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182598116,"filename":"image_06012025_17_21_02_407139_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327002127","file1":"1327002122","file0":"1327002118","file4":"1327002134","file5":"1327002141","file3":"1327002130"},"map_files_photo_id_array":[{"photo_id":"1327002141","filename":"file5"},{"photo_id":"1327002127","filename":"file2"},{"photo_id":"1327002134","filename":"file4"},{"photo_id":"1327002122","filename":"file1"},{"photo_id":"1327002118","filename":"file0"},{"photo_id":"1327002130","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327002134":["hashtag1","hashtag2"]},{"1327002122":["hashtag1","hashtag2"]},{"1327002130":["hashtag1","hashtag2"]},{"1327002127":["hashtag1","hashtag2"]},{"1327002118":["hashtag1","hashtag2"]},{"1327002141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327002134, 1327002122, 1327002130, 1327002127, 1327002118, 1327002141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.309054136276245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:56:21.924796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0000.jpg', '/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0001.jpg', '/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0002.jpg', '/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0003.jpg', '/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0000.jpg', '/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0000.jpg
/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0001.jpg
/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0002.jpg
/home/pi/Desktop/images/06012025/17/22/image_06012025_17_22_02_709200_0003.jpg
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0000.jpg
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_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":["1327002163","1327002157","1327002198","1327002153","1327002150","1327002201"],"photo_ids_order":["1327002150","1327002153","1327002157","1327002163","1327002198","1327002201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f01eeab9d2030c65df3b9e2957124cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7440743413569877801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_22_02_709200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/803c0c0011f0c78bd5e61c0450b78d50.jpg","text":"TemporaryFile(/tmp/multipartBody859993213702198495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_22_02_709200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b49448379e644c3a488f9e2e2292be31.jpg","text":"TemporaryFile(/tmp/multipartBody3508748020162036774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_23_02_774476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/292cf9825787bf4203da79890938f42e.jpg","text":"TemporaryFile(/tmp/multipartBody6635059097353124283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_22_02_709200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e722534d67d5c333502efca0d516c00.jpg","text":"TemporaryFile(/tmp/multipartBody2450501352252755023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_22_02_709200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4a745a57684dd94ae11075433e7297a.jpg","text":"TemporaryFile(/tmp/multipartBody7800367397344720462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182657275,"filename":"image_06012025_17_23_02_774476_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327002157","file1":"1327002153","file0":"1327002150","file4":"1327002198","file5":"1327002201","file3":"1327002163"},"map_files_photo_id_array":[{"photo_id":"1327002201","filename":"file5"},{"photo_id":"1327002157","filename":"file2"},{"photo_id":"1327002198","filename":"file4"},{"photo_id":"1327002153","filename":"file1"},{"photo_id":"1327002150","filename":"file0"},{"photo_id":"1327002163","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327002163":["hashtag1","hashtag2"]},{"1327002157":["hashtag1","hashtag2"]},{"1327002198":["hashtag1","hashtag2"]},{"1327002153":["hashtag1","hashtag2"]},{"1327002150":["hashtag1","hashtag2"]},{"1327002201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327002163, 1327002157, 1327002198, 1327002153, 1327002150, 1327002201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.896042346954346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 17:57:22.081919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0002.jpg', '/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0003.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0001.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0002.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0003.jpg', '/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0002.jpg
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0003.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0001.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0002.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0003.jpg
/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_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-06 17:59:02.998417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0002.jpg', '/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0003.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0001.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0002.jpg', '/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0003.jpg', '/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0002.jpg
/home/pi/Desktop/images/06012025/17/23/image_06012025_17_23_02_774476_0003.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0001.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0002.jpg
/home/pi/Desktop/images/06012025/17/24/image_06012025_17_24_03_012272_0003.jpg
/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_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":["1327002425","1327002440","1327002418","1327002409","1327002432","1327002435"],"photo_ids_order":["1327002409","1327002418","1327002425","1327002432","1327002435","1327002440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/388673f4d6c035a20066346af9649576.jpg","text":"TemporaryFile(/tmp/multipartBody2773598426582305579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_24_03_012272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1c84b5e2e7291d8e26dfae13169de48.jpg","text":"TemporaryFile(/tmp/multipartBody9160122495080814887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_25_02_238234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2e2c0d779224eefc92bc07c466120b9.jpg","text":"TemporaryFile(/tmp/multipartBody4171373433456158218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_23_02_774476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83138bc0bf7e1a214824e09e6c0bafe5.jpg","text":"TemporaryFile(/tmp/multipartBody7384149191308477813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_23_02_774476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf9786210302f82ba95ffd547a46511b.jpg","text":"TemporaryFile(/tmp/multipartBody6425351119681454830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_24_03_012272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7bb7ec4b5b41f48eb0f097a62b295188.jpg","text":"TemporaryFile(/tmp/multipartBody2320470797973862389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182818355,"filename":"image_06012025_17_24_03_012272_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327002425","file1":"1327002418","file0":"1327002409","file4":"1327002435","file5":"1327002440","file3":"1327002432"},"map_files_photo_id_array":[{"photo_id":"1327002440","filename":"file5"},{"photo_id":"1327002425","filename":"file2"},{"photo_id":"1327002435","filename":"file4"},{"photo_id":"1327002418","filename":"file1"},{"photo_id":"1327002409","filename":"file0"},{"photo_id":"1327002432","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327002425":["hashtag1","hashtag2"]},{"1327002440":["hashtag1","hashtag2"]},{"1327002418":["hashtag1","hashtag2"]},{"1327002409":["hashtag1","hashtag2"]},{"1327002432":["hashtag1","hashtag2"]},{"1327002435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327002425, 1327002440, 1327002418, 1327002409, 1327002432, 1327002435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.324421882629395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 18:00:03.151388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_0003.jpg', '/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0000.jpg', '/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0001.jpg', '/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0002.jpg', '/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0003.jpg', '/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/25/image_06012025_17_25_02_238234_0003.jpg
/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0000.jpg
/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0001.jpg
/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0002.jpg
/home/pi/Desktop/images/06012025/17/26/image_06012025_17_26_02_364141_0003.jpg
/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_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":["1327003045","1327002541","1327003050","1327002468","1327003058","1327003052"],"photo_ids_order":["1327002468","1327002541","1327003045","1327003050","1327003052","1327003058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/126de974ad96ca5865e9d83919966c10.jpg","text":"TemporaryFile(/tmp/multipartBody857563643943294219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_26_02_364141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08809c35439ac06096e35e6f8ab9e245.jpg","text":"TemporaryFile(/tmp/multipartBody7357391763309473003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_26_02_364141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c52ed05736bce9cbd982f5920789ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody2204922176779532313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_26_02_364141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4917c8e9f6d55ea79f023830f58cc7c.jpg","text":"TemporaryFile(/tmp/multipartBody876300809134626893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_25_02_238234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a2a8e817f408a8b07d87ee99b772f62c.jpg","text":"TemporaryFile(/tmp/multipartBody5099383104842122921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_27_02_537997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71a04f18dd3892b9cb5f767e335a45e5.jpg","text":"TemporaryFile(/tmp/multipartBody1775857160903031923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182878507,"filename":"image_06012025_17_26_02_364141_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327003045","file1":"1327002541","file0":"1327002468","file4":"1327003052","file5":"1327003058","file3":"1327003050"},"map_files_photo_id_array":[{"photo_id":"1327003058","filename":"file5"},{"photo_id":"1327003045","filename":"file2"},{"photo_id":"1327003052","filename":"file4"},{"photo_id":"1327002541","filename":"file1"},{"photo_id":"1327002468","filename":"file0"},{"photo_id":"1327003050","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327003045":["hashtag1","hashtag2"]},{"1327002541":["hashtag1","hashtag2"]},{"1327003050":["hashtag1","hashtag2"]},{"1327002468":["hashtag1","hashtag2"]},{"1327003058":["hashtag1","hashtag2"]},{"1327003052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327003045, 1327002541, 1327003050, 1327002468, 1327003058, 1327003052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.75454568862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:01:21.914852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_0002.jpg', '/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_0003.jpg', '/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0000.jpg', '/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0001.jpg', '/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0002.jpg', '/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_0002.jpg
/home/pi/Desktop/images/06012025/17/27/image_06012025_17_27_02_537997_0003.jpg
/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0000.jpg
/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0001.jpg
/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_0002.jpg
/home/pi/Desktop/images/06012025/17/28/image_06012025_17_28_02_759795_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":["1327004233","1327004215","1327004235","1327004232","1327004211","1327004205"],"photo_ids_order":["1327004205","1327004211","1327004215","1327004232","1327004233","1327004235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02c6b760755ccaec4283388e197ce690.jpg","text":"TemporaryFile(/tmp/multipartBody3941587102402660242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_28_02_759795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45def336c5b2b4f472208aa836f72ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7198713384145410803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_28_02_759795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f967f4ae3492f1e56d9049577c95390.jpg","text":"TemporaryFile(/tmp/multipartBody8687994748756185733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_28_02_759795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7dcb1ed5548ac184af63739b482e3d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2748264706933510697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_28_02_759795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1726dea1bfa2998b10b41d53d7f6687.jpg","text":"TemporaryFile(/tmp/multipartBody3712215301077032946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_27_02_537997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63d413ecea7e873c04557e93968e7c78.jpg","text":"TemporaryFile(/tmp/multipartBody7611842746761965979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736182956901,"filename":"image_06012025_17_27_02_537997_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327004215","file1":"1327004211","file0":"1327004205","file4":"1327004233","file5":"1327004235","file3":"1327004232"},"map_files_photo_id_array":[{"photo_id":"1327004235","filename":"file5"},{"photo_id":"1327004215","filename":"file2"},{"photo_id":"1327004233","filename":"file4"},{"photo_id":"1327004211","filename":"file1"},{"photo_id":"1327004205","filename":"file0"},{"photo_id":"1327004232","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327004233":["hashtag1","hashtag2"]},{"1327004215":["hashtag1","hashtag2"]},{"1327004235":["hashtag1","hashtag2"]},{"1327004232":["hashtag1","hashtag2"]},{"1327004211":["hashtag1","hashtag2"]},{"1327004205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327004233, 1327004215, 1327004235, 1327004232, 1327004211, 1327004205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88662600517273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:02:22.255162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0000.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0001.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0002.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0003.jpg', '/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0000.jpg', '/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0000.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0001.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0002.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0003.jpg
/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0000.jpg
/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_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.120404958724976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:02:42.212376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0000.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0001.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0002.jpg', '/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0003.jpg', '/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0000.jpg', '/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0000.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0001.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0002.jpg
/home/pi/Desktop/images/06012025/17/29/image_06012025_17_29_02_978755_0003.jpg
/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0000.jpg
/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_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":["1327004568","1327004573","1327004570","1327004564","1327004558","1327004560"],"photo_ids_order":["1327004558","1327004560","1327004564","1327004568","1327004570","1327004573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd1ff0fc40fd853e9bac73793f7a0f49.jpg","text":"TemporaryFile(/tmp/multipartBody4236741124722400566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_29_02_978755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8acf2d2d956efffff8dbee2928defc14.jpg","text":"TemporaryFile(/tmp/multipartBody8973896001445868478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_30_03_148337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f70ecd09464efb2ffbc932c6daf7b18.jpg","text":"TemporaryFile(/tmp/multipartBody3972504759088381324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_30_03_148337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61ed9e1a9073a2ff922f576c90e07e18.jpg","text":"TemporaryFile(/tmp/multipartBody7649352798860358807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_29_02_978755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ecb300a088610c2cb5c09906b8355b0.jpg","text":"TemporaryFile(/tmp/multipartBody7250121466187969093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_29_02_978755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a1e7d0886b357a1eb381652c9d9c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody6347933451304610359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183036744,"filename":"image_06012025_17_29_02_978755_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327004564","file1":"1327004560","file0":"1327004558","file4":"1327004570","file5":"1327004573","file3":"1327004568"},"map_files_photo_id_array":[{"photo_id":"1327004573","filename":"file5"},{"photo_id":"1327004564","filename":"file2"},{"photo_id":"1327004570","filename":"file4"},{"photo_id":"1327004560","filename":"file1"},{"photo_id":"1327004558","filename":"file0"},{"photo_id":"1327004568","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327004568":["hashtag1","hashtag2"]},{"1327004573":["hashtag1","hashtag2"]},{"1327004570":["hashtag1","hashtag2"]},{"1327004564":["hashtag1","hashtag2"]},{"1327004558":["hashtag1","hashtag2"]},{"1327004560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327004568, 1327004573, 1327004570, 1327004564, 1327004558, 1327004560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.709585428237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:03:42.535130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0003.jpg', '/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0000.jpg', '/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0001.jpg', '/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0002.jpg', '/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0003.jpg', '/home/pi/Desktop/images/06012025/17/32/image_06012025_17_32_02_540996_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/30/image_06012025_17_30_03_148337_0003.jpg
/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0000.jpg
/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0001.jpg
/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0002.jpg
/home/pi/Desktop/images/06012025/17/31/image_06012025_17_31_02_300693_0003.jpg
/home/pi/Desktop/images/06012025/17/32/image_06012025_17_32_02_540996_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":["1327005103","1327005749","1327005521","1327005289","1327005745","1327004927"],"photo_ids_order":["1327004927","1327005103","1327005289","1327005521","1327005745","1327005749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfc945a447b40b1f9da30d12e8b22256.jpg","text":"TemporaryFile(/tmp/multipartBody1245431707154808908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_31_02_300693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b17a28e77f04822f5c25cd8a2832f43d.jpg","text":"TemporaryFile(/tmp/multipartBody5465233037670181734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_32_02_540996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53edf3ad9d29f53ba4caeffd62e11d38.jpg","text":"TemporaryFile(/tmp/multipartBody5520428180754869262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_31_02_300693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0142bb7c1dcf23a410a12e48896bbdcb.jpg","text":"TemporaryFile(/tmp/multipartBody6327510604925900571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_31_02_300693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad55e4acc7c171a1c015eee53db4d0e4.jpg","text":"TemporaryFile(/tmp/multipartBody9200625706560128531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_31_02_300693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fdbe47dc44d08de672807e9a8c660ee.jpg","text":"TemporaryFile(/tmp/multipartBody5310107877056933596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183097195,"filename":"image_06012025_17_30_03_148337_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327005289","file1":"1327005103","file0":"1327004927","file4":"1327005745","file5":"1327005749","file3":"1327005521"},"map_files_photo_id_array":[{"photo_id":"1327005749","filename":"file5"},{"photo_id":"1327005289","filename":"file2"},{"photo_id":"1327005745","filename":"file4"},{"photo_id":"1327005103","filename":"file1"},{"photo_id":"1327004927","filename":"file0"},{"photo_id":"1327005521","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327005103":["hashtag1","hashtag2"]},{"1327005749":["hashtag1","hashtag2"]},{"1327005521":["hashtag1","hashtag2"]},{"1327005289":["hashtag1","hashtag2"]},{"1327005745":["hashtag1","hashtag2"]},{"1327004927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327005103, 1327005749, 1327005521, 1327005289, 1327005745, 1327004927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.770423412323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:04:42.633034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0000.jpg', '/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0001.jpg', '/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0002.jpg', '/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0003.jpg', '/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0000.jpg', '/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0000.jpg
/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0001.jpg
/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0002.jpg
/home/pi/Desktop/images/06012025/17/33/image_06012025_17_33_02_713137_0003.jpg
/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0000.jpg
/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_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":["1327005879","1327006128","1327006076","1327006139","1327005887","1327005865"],"photo_ids_order":["1327005865","1327005879","1327005887","1327006076","1327006128","1327006139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea7e8bf24565ca380d5a6045297ebad1.jpg","text":"TemporaryFile(/tmp/multipartBody1231175391534683994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_33_02_713137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9f2ef0f78515a2d77c9ba6bf8fc7015.jpg","text":"TemporaryFile(/tmp/multipartBody494782647051901931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_34_02_909212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a9b0be5925f5587874141582d8fcbd1.jpg","text":"TemporaryFile(/tmp/multipartBody7724264342304791975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_33_02_713137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64ff528cbf46101fcbe7da53fe315f92.jpg","text":"TemporaryFile(/tmp/multipartBody5952671335191538710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_34_02_909212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca41088524d030efcd745aa86256f05c.jpg","text":"TemporaryFile(/tmp/multipartBody5035141568900978678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_33_02_713137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/177f43ed64887d4a31e401c141512020.jpg","text":"TemporaryFile(/tmp/multipartBody1030417471731171412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183157258,"filename":"image_06012025_17_33_02_713137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327005887","file1":"1327005879","file0":"1327005865","file4":"1327006128","file5":"1327006139","file3":"1327006076"},"map_files_photo_id_array":[{"photo_id":"1327006139","filename":"file5"},{"photo_id":"1327005887","filename":"file2"},{"photo_id":"1327006128","filename":"file4"},{"photo_id":"1327005879","filename":"file1"},{"photo_id":"1327005865","filename":"file0"},{"photo_id":"1327006076","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327005879":["hashtag1","hashtag2"]},{"1327006128":["hashtag1","hashtag2"]},{"1327006076":["hashtag1","hashtag2"]},{"1327006139":["hashtag1","hashtag2"]},{"1327005887":["hashtag1","hashtag2"]},{"1327005865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327005879, 1327006128, 1327006076, 1327006139, 1327005887, 1327005865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.251015424728394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:05:51.762307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0002.jpg', '/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0003.jpg', '/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0000.jpg', '/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0001.jpg', '/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0002.jpg', '/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0002.jpg
/home/pi/Desktop/images/06012025/17/34/image_06012025_17_34_02_909212_0003.jpg
/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0000.jpg
/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0001.jpg
/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_0002.jpg
/home/pi/Desktop/images/06012025/17/35/image_06012025_17_35_03_053173_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":["1327006218","1327006229","1327006214","1327006222","1327006216","1327006225"],"photo_ids_order":["1327006214","1327006216","1327006218","1327006222","1327006225","1327006229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/593bc7dad80f6635b4c5d06c6111ccdd.jpg","text":"TemporaryFile(/tmp/multipartBody6897945159031594965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_35_03_053173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a0eff7774c80b6e1c6c1ff5820c26c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6289408820373736961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_35_03_053173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2e990308496fc7c8401407a0cb1ea0f.jpg","text":"TemporaryFile(/tmp/multipartBody232290788294825327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_34_02_909212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fe224fd93600d65ddc5ca3c2d4c8067.jpg","text":"TemporaryFile(/tmp/multipartBody6446723365158972340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_35_03_053173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/882c5afa0f6a0dae7d5030a1c3df4ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7805100891965009443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_34_02_909212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/349a4ec4d054e474da1930975d046884.jpg","text":"TemporaryFile(/tmp/multipartBody5169015865318934628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183226900,"filename":"image_06012025_17_35_03_053173_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006218","file1":"1327006216","file0":"1327006214","file4":"1327006225","file5":"1327006229","file3":"1327006222"},"map_files_photo_id_array":[{"photo_id":"1327006229","filename":"file5"},{"photo_id":"1327006218","filename":"file2"},{"photo_id":"1327006225","filename":"file4"},{"photo_id":"1327006216","filename":"file1"},{"photo_id":"1327006214","filename":"file0"},{"photo_id":"1327006222","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006218":["hashtag1","hashtag2"]},{"1327006229":["hashtag1","hashtag2"]},{"1327006214":["hashtag1","hashtag2"]},{"1327006222":["hashtag1","hashtag2"]},{"1327006216":["hashtag1","hashtag2"]},{"1327006225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006218, 1327006229, 1327006214, 1327006222, 1327006216, 1327006225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89925956726074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:06:51.928103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0000.jpg', '/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0001.jpg', '/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0002.jpg', '/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0003.jpg', '/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0000.jpg', '/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0000.jpg
/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0001.jpg
/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0002.jpg
/home/pi/Desktop/images/06012025/17/36/image_06012025_17_36_02_323768_0003.jpg
/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0000.jpg
/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_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":["1327006245","1327006254","1327006248","1327006241","1327006252","1327006257"],"photo_ids_order":["1327006241","1327006245","1327006248","1327006252","1327006254","1327006257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0cb173d5d504e7bb9fe572917944f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4549900861965254303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_36_02_323768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0fe160302cf4621579163dbfc342773d.jpg","text":"TemporaryFile(/tmp/multipartBody3363061354051609800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_37_02_619818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5c353dd7625fe69de70bd70a2bcb8b0.jpg","text":"TemporaryFile(/tmp/multipartBody4936556080000861103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_36_02_323768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b0bb6948200d76da2e23fd417284fc3.jpg","text":"TemporaryFile(/tmp/multipartBody6478595388925691458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_36_02_323768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1b412fbc11a7ddc2f3b1e4b25d8129c.jpg","text":"TemporaryFile(/tmp/multipartBody2316512406975345002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_36_02_323768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db73d7f2e790a9e5ce9c88333f7d3271.jpg","text":"TemporaryFile(/tmp/multipartBody1118054148401899684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183286806,"filename":"image_06012025_17_37_02_619818_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006248","file1":"1327006245","file0":"1327006241","file4":"1327006254","file5":"1327006257","file3":"1327006252"},"map_files_photo_id_array":[{"photo_id":"1327006257","filename":"file5"},{"photo_id":"1327006248","filename":"file2"},{"photo_id":"1327006254","filename":"file4"},{"photo_id":"1327006245","filename":"file1"},{"photo_id":"1327006241","filename":"file0"},{"photo_id":"1327006252","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006245":["hashtag1","hashtag2"]},{"1327006254":["hashtag1","hashtag2"]},{"1327006248":["hashtag1","hashtag2"]},{"1327006241":["hashtag1","hashtag2"]},{"1327006252":["hashtag1","hashtag2"]},{"1327006257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006245, 1327006254, 1327006248, 1327006241, 1327006252, 1327006257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.398659229278564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:07:52.115475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0002.jpg', '/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0003.jpg', '/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0000.jpg', '/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0001.jpg', '/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0002.jpg', '/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0002.jpg
/home/pi/Desktop/images/06012025/17/37/image_06012025_17_37_02_619818_0003.jpg
/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0000.jpg
/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0001.jpg
/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_0002.jpg
/home/pi/Desktop/images/06012025/17/38/image_06012025_17_38_02_680160_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":["1327006285","1327006267","1327006293","1327006299","1327006290","1327006278"],"photo_ids_order":["1327006267","1327006278","1327006285","1327006290","1327006293","1327006299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58d05d1ebe7fd31375bda24091e3e17f.jpg","text":"TemporaryFile(/tmp/multipartBody7973271150561290894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_38_02_680160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e812e266be7aedb246f4606c711106c5.jpg","text":"TemporaryFile(/tmp/multipartBody2459060458984444932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_37_02_619818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/704d84fa6135625ddf1e76cda8a8b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2114707007146410124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_38_02_680160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15a66d2be3fd0f916181f9e9ee66361a.jpg","text":"TemporaryFile(/tmp/multipartBody5126069983509641101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_38_02_680160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/13e2b99bf18befb9e146fe7abe5730fb.jpg","text":"TemporaryFile(/tmp/multipartBody6666575963896367248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_38_02_680160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/989aaccd7e06aecc3c9c4b9743d14913.jpg","text":"TemporaryFile(/tmp/multipartBody6981184085397983341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183347168,"filename":"image_06012025_17_37_02_619818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006285","file1":"1327006278","file0":"1327006267","file4":"1327006293","file5":"1327006299","file3":"1327006290"},"map_files_photo_id_array":[{"photo_id":"1327006299","filename":"file5"},{"photo_id":"1327006285","filename":"file2"},{"photo_id":"1327006293","filename":"file4"},{"photo_id":"1327006278","filename":"file1"},{"photo_id":"1327006267","filename":"file0"},{"photo_id":"1327006290","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006285":["hashtag1","hashtag2"]},{"1327006267":["hashtag1","hashtag2"]},{"1327006293":["hashtag1","hashtag2"]},{"1327006299":["hashtag1","hashtag2"]},{"1327006290":["hashtag1","hashtag2"]},{"1327006278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006285, 1327006267, 1327006293, 1327006299, 1327006290, 1327006278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39215087890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:08:52.283391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0000.jpg', '/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0001.jpg', '/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0002.jpg', '/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0003.jpg', '/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0000.jpg', '/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0000.jpg
/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0001.jpg
/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0002.jpg
/home/pi/Desktop/images/06012025/17/39/image_06012025_17_39_02_908668_0003.jpg
/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0000.jpg
/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_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":["1327006316","1327006319","1327006304","1327006312","1327006309","1327006306"],"photo_ids_order":["1327006304","1327006306","1327006309","1327006312","1327006316","1327006319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a56fcfe7bd9895e6453fc5a0eba136b1.jpg","text":"TemporaryFile(/tmp/multipartBody5165399645279819301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_40_03_071653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78ea12f773a5936a225870f1882de5a6.jpg","text":"TemporaryFile(/tmp/multipartBody1857313797633542644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_40_03_071653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a187e9ce2368debf08e04ef1fba021b3.jpg","text":"TemporaryFile(/tmp/multipartBody3791507035764548073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_39_02_908668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04022a476cc274389802b3177f2adf9e.jpg","text":"TemporaryFile(/tmp/multipartBody220973457179365889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_39_02_908668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c8e24eadccbb6fac6647bb222d1009a.jpg","text":"TemporaryFile(/tmp/multipartBody9007709896841704406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_39_02_908668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34565f98252950aefe38fcf1ef539a28.jpg","text":"TemporaryFile(/tmp/multipartBody6863820587200780782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183407515,"filename":"image_06012025_17_39_02_908668_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006309","file1":"1327006306","file0":"1327006304","file4":"1327006316","file5":"1327006319","file3":"1327006312"},"map_files_photo_id_array":[{"photo_id":"1327006319","filename":"file5"},{"photo_id":"1327006309","filename":"file2"},{"photo_id":"1327006316","filename":"file4"},{"photo_id":"1327006306","filename":"file1"},{"photo_id":"1327006304","filename":"file0"},{"photo_id":"1327006312","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006316":["hashtag1","hashtag2"]},{"1327006319":["hashtag1","hashtag2"]},{"1327006304":["hashtag1","hashtag2"]},{"1327006312":["hashtag1","hashtag2"]},{"1327006309":["hashtag1","hashtag2"]},{"1327006306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006316, 1327006319, 1327006304, 1327006312, 1327006309, 1327006306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.215304374694824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:09:52.456735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0002.jpg', '/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0003.jpg', '/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0000.jpg', '/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0001.jpg', '/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0002.jpg', '/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0002.jpg
/home/pi/Desktop/images/06012025/17/40/image_06012025_17_40_03_071653_0003.jpg
/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0000.jpg
/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0001.jpg
/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_0002.jpg
/home/pi/Desktop/images/06012025/17/41/image_06012025_17_41_02_291331_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":["1327006382","1327006385","1327006364","1327006366","1327006395","1327006362"],"photo_ids_order":["1327006362","1327006364","1327006366","1327006382","1327006385","1327006395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c777e4969004da4f96c19ab5806f0758.jpg","text":"TemporaryFile(/tmp/multipartBody7620024345832292920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_41_02_291331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ce5064a067d65e51096607fe657d8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6774301269560553690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_41_02_291331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac140d2c430f8d5394fadd7b41f36c61.jpg","text":"TemporaryFile(/tmp/multipartBody5572530733774413041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_40_03_071653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c5963f913381cd48f93a59223b2f65c.jpg","text":"TemporaryFile(/tmp/multipartBody617454140866555705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_41_02_291331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edbc96b7ec9f3fdaf40a7011db6c27c9.jpg","text":"TemporaryFile(/tmp/multipartBody7312893163267536557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_41_02_291331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c174831941eaccd4c5a26d2d87832a9.jpg","text":"TemporaryFile(/tmp/multipartBody1661270942398282686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183467404,"filename":"image_06012025_17_40_03_071653_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006366","file1":"1327006364","file0":"1327006362","file4":"1327006385","file5":"1327006395","file3":"1327006382"},"map_files_photo_id_array":[{"photo_id":"1327006395","filename":"file5"},{"photo_id":"1327006366","filename":"file2"},{"photo_id":"1327006385","filename":"file4"},{"photo_id":"1327006364","filename":"file1"},{"photo_id":"1327006362","filename":"file0"},{"photo_id":"1327006382","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006382":["hashtag1","hashtag2"]},{"1327006385":["hashtag1","hashtag2"]},{"1327006364":["hashtag1","hashtag2"]},{"1327006366":["hashtag1","hashtag2"]},{"1327006395":["hashtag1","hashtag2"]},{"1327006362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006382, 1327006385, 1327006364, 1327006366, 1327006395, 1327006362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25189995765686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:10:52.635448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0000.jpg', '/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0001.jpg', '/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0002.jpg', '/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0003.jpg', '/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0000.jpg', '/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0000.jpg
/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0001.jpg
/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0002.jpg
/home/pi/Desktop/images/06012025/17/42/image_06012025_17_42_02_468700_0003.jpg
/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0000.jpg
/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_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":["1327006419","1327006415","1327006426","1327006411","1327006429","1327006423"],"photo_ids_order":["1327006411","1327006415","1327006419","1327006423","1327006426","1327006429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ec0f1b93b7f64130873ebd39177dc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5082184464532129741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_42_02_468700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a18683da14f3cbdc533b929dda04bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody3352943731898863389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_42_02_468700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1f401eca2728a902d2a1fd72aa4b232.jpg","text":"TemporaryFile(/tmp/multipartBody7338046463398665662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_43_02_653569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48162a00440af53e56a732f50f97fdd7.jpg","text":"TemporaryFile(/tmp/multipartBody1134640480468960435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_42_02_468700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ed7e9596e567b454c5a502bd491e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody581778928582660169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_43_02_653569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4365d480c70fed4e218b5580407158fb.jpg","text":"TemporaryFile(/tmp/multipartBody6969702623170702543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183527713,"filename":"image_06012025_17_42_02_468700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006419","file1":"1327006415","file0":"1327006411","file4":"1327006426","file5":"1327006429","file3":"1327006423"},"map_files_photo_id_array":[{"photo_id":"1327006429","filename":"file5"},{"photo_id":"1327006419","filename":"file2"},{"photo_id":"1327006426","filename":"file4"},{"photo_id":"1327006415","filename":"file1"},{"photo_id":"1327006411","filename":"file0"},{"photo_id":"1327006423","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006419":["hashtag1","hashtag2"]},{"1327006415":["hashtag1","hashtag2"]},{"1327006426":["hashtag1","hashtag2"]},{"1327006411":["hashtag1","hashtag2"]},{"1327006429":["hashtag1","hashtag2"]},{"1327006423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006419, 1327006415, 1327006426, 1327006411, 1327006429, 1327006423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.54629111289978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 18:12:02.293777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0003.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0000.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0001.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0002.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0003.jpg', '/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0003.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0000.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0001.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0002.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0003.jpg
/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_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.993981122970581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:12:21.994984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0003.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0000.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0001.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0002.jpg', '/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0003.jpg', '/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/43/image_06012025_17_43_02_653569_0003.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0000.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0001.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0002.jpg
/home/pi/Desktop/images/06012025/17/44/image_06012025_17_44_02_936222_0003.jpg
/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_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":["1327006484","1327006523","1327006492","1327006489","1327006480","1327006494"],"photo_ids_order":["1327006480","1327006484","1327006489","1327006492","1327006494","1327006523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1ad8db9569672ba658619f6812503c6.jpg","text":"TemporaryFile(/tmp/multipartBody7431808501080028187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_44_02_936222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f158be7bcc72f6c383cefc4398ce487d.jpg","text":"TemporaryFile(/tmp/multipartBody34387857906169668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_45_03_049440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7894c1b4da5d28af080cf59fc6b959f.jpg","text":"TemporaryFile(/tmp/multipartBody1433281953029148651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_44_02_936222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/840eb6401198a53206c5eff9f14ad03e.jpg","text":"TemporaryFile(/tmp/multipartBody7581250901050718220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_44_02_936222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b8c6486c53372628d2afc1504201523.jpg","text":"TemporaryFile(/tmp/multipartBody4716864484390686849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_43_02_653569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adb8950f619b26c170fcee953b5389cf.jpg","text":"TemporaryFile(/tmp/multipartBody8500858617926004466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183617370,"filename":"image_06012025_17_44_02_936222_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006489","file1":"1327006484","file0":"1327006480","file4":"1327006494","file5":"1327006523","file3":"1327006492"},"map_files_photo_id_array":[{"photo_id":"1327006523","filename":"file5"},{"photo_id":"1327006489","filename":"file2"},{"photo_id":"1327006494","filename":"file4"},{"photo_id":"1327006484","filename":"file1"},{"photo_id":"1327006480","filename":"file0"},{"photo_id":"1327006492","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006484":["hashtag1","hashtag2"]},{"1327006523":["hashtag1","hashtag2"]},{"1327006492":["hashtag1","hashtag2"]},{"1327006489":["hashtag1","hashtag2"]},{"1327006480":["hashtag1","hashtag2"]},{"1327006494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006484, 1327006523, 1327006492, 1327006489, 1327006480, 1327006494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.553075313568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:13:22.183577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0001.jpg', '/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0002.jpg', '/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0003.jpg', '/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0000.jpg', '/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0001.jpg', '/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0001.jpg
/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0002.jpg
/home/pi/Desktop/images/06012025/17/45/image_06012025_17_45_03_049440_0003.jpg
/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0000.jpg
/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0001.jpg
/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_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":["1327006614","1327006536","1327006532","1327006543","1327006546","1327006540"],"photo_ids_order":["1327006532","1327006536","1327006540","1327006543","1327006546","1327006614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbe18965e6db4b08538aec0ac5e32756.jpg","text":"TemporaryFile(/tmp/multipartBody8977590801786626639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_46_02_272106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e82d279c90164f456bfd8d48bd5ef9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5353419394304464492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_45_03_049440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3308d880c686379c00d3bdf5e4d7da19.jpg","text":"TemporaryFile(/tmp/multipartBody4021118793528819891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_45_03_049440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92d063f3241d18912a1d7c3df0b0535b.jpg","text":"TemporaryFile(/tmp/multipartBody6400416441073165311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_46_02_272106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a4294243e1b7ee9e46a17ea2c10934c.jpg","text":"TemporaryFile(/tmp/multipartBody3959805449571810743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_46_02_272106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/802d703379bea81fd8470c0233689506.jpg","text":"TemporaryFile(/tmp/multipartBody737721177537781365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183677106,"filename":"image_06012025_17_45_03_049440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006540","file1":"1327006536","file0":"1327006532","file4":"1327006546","file5":"1327006614","file3":"1327006543"},"map_files_photo_id_array":[{"photo_id":"1327006614","filename":"file5"},{"photo_id":"1327006540","filename":"file2"},{"photo_id":"1327006546","filename":"file4"},{"photo_id":"1327006536","filename":"file1"},{"photo_id":"1327006532","filename":"file0"},{"photo_id":"1327006543","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006614":["hashtag1","hashtag2"]},{"1327006536":["hashtag1","hashtag2"]},{"1327006532":["hashtag1","hashtag2"]},{"1327006543":["hashtag1","hashtag2"]},{"1327006546":["hashtag1","hashtag2"]},{"1327006540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006614, 1327006536, 1327006532, 1327006543, 1327006546, 1327006540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.107640504837036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:14:32.294100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0003.jpg', '/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0000.jpg', '/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0001.jpg', '/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0002.jpg', '/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0003.jpg', '/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/46/image_06012025_17_46_02_272106_0003.jpg
/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0000.jpg
/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0001.jpg
/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0002.jpg
/home/pi/Desktop/images/06012025/17/47/image_06012025_17_47_02_518611_0003.jpg
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_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":["1327006728","1327006722","1327006716","1327006772","1327006724","1327006731"],"photo_ids_order":["1327006716","1327006722","1327006724","1327006728","1327006731","1327006772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de7165a45180c2eb7f340a14ac83b316.jpg","text":"TemporaryFile(/tmp/multipartBody2880620715192217466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_47_02_518611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b593ba8e3a8b258ad4e997fb8e10dd72.jpg","text":"TemporaryFile(/tmp/multipartBody9209981565649300787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_47_02_518611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1884afac35e8bfc47fd2404bf1fa94b4.jpg","text":"TemporaryFile(/tmp/multipartBody2258848908481491358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_46_02_272106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1429c43e1c5542a76c3f24c5d4130805.jpg","text":"TemporaryFile(/tmp/multipartBody8295639732900200924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_48_02_634126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1de47fea9fdb9332641e28ac2d95c22.jpg","text":"TemporaryFile(/tmp/multipartBody1193377573000875029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_47_02_518611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30a52da5571ee9ac862214dc565a2fce.jpg","text":"TemporaryFile(/tmp/multipartBody4743345607370881891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183747175,"filename":"image_06012025_17_47_02_518611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006724","file1":"1327006722","file0":"1327006716","file4":"1327006731","file5":"1327006772","file3":"1327006728"},"map_files_photo_id_array":[{"photo_id":"1327006772","filename":"file5"},{"photo_id":"1327006724","filename":"file2"},{"photo_id":"1327006731","filename":"file4"},{"photo_id":"1327006722","filename":"file1"},{"photo_id":"1327006716","filename":"file0"},{"photo_id":"1327006728","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006728":["hashtag1","hashtag2"]},{"1327006722":["hashtag1","hashtag2"]},{"1327006716":["hashtag1","hashtag2"]},{"1327006772":["hashtag1","hashtag2"]},{"1327006724":["hashtag1","hashtag2"]},{"1327006731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006728, 1327006722, 1327006716, 1327006772, 1327006724, 1327006731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.73961663246155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:15:32.482165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0001.jpg', '/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0002.jpg', '/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0003.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0000.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0001.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0001.jpg
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0002.jpg
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0003.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0000.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0001.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_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.768180131912231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:15:52.468657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0001.jpg', '/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0002.jpg', '/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0003.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0000.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0001.jpg', '/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0001.jpg
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0002.jpg
/home/pi/Desktop/images/06012025/17/48/image_06012025_17_48_02_634126_0003.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0000.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0001.jpg
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_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":["1327006886","1327006853","1327006847","1327006882","1327006852","1327006878"],"photo_ids_order":["1327006847","1327006852","1327006853","1327006878","1327006882","1327006886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/182f740a2ac8be449c8ca11cd4314216.jpg","text":"TemporaryFile(/tmp/multipartBody645170559624450158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_49_02_771372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f94d4a774b8fbd4d6949640f7e3c16d2.jpg","text":"TemporaryFile(/tmp/multipartBody1416049736405214287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_48_02_634126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56079f4b787e75348ac08270bf1ca966.jpg","text":"TemporaryFile(/tmp/multipartBody5324289522557483160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_48_02_634126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c013e73865a488da4ab3657c0bf4a90.jpg","text":"TemporaryFile(/tmp/multipartBody8085968257677893735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_49_02_771372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e162860b7b8b9159048b83a24963ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5491780833195988065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_48_02_634126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b6a07c64f282dd2dde3accba5d99942.jpg","text":"TemporaryFile(/tmp/multipartBody2731458853650026337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183827634,"filename":"image_06012025_17_49_02_771372_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006853","file1":"1327006852","file0":"1327006847","file4":"1327006882","file5":"1327006886","file3":"1327006878"},"map_files_photo_id_array":[{"photo_id":"1327006886","filename":"file5"},{"photo_id":"1327006853","filename":"file2"},{"photo_id":"1327006882","filename":"file4"},{"photo_id":"1327006852","filename":"file1"},{"photo_id":"1327006847","filename":"file0"},{"photo_id":"1327006878","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006886":["hashtag1","hashtag2"]},{"1327006853":["hashtag1","hashtag2"]},{"1327006847":["hashtag1","hashtag2"]},{"1327006882":["hashtag1","hashtag2"]},{"1327006852":["hashtag1","hashtag2"]},{"1327006878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006886, 1327006853, 1327006847, 1327006882, 1327006852, 1327006878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54074716567993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:16:52.629528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0003.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0000.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0001.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0002.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0003.jpg', '/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0003.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0000.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0001.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0002.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0003.jpg
/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0000.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.697949409484863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:17:21.876490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0003.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0000.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0001.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0002.jpg', '/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0003.jpg', '/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/49/image_06012025_17_49_02_771372_0003.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0000.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0001.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0002.jpg
/home/pi/Desktop/images/06012025/17/50/image_06012025_17_50_02_949117_0003.jpg
/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_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":["1327006979","1327006976","1327006981","1327006984","1327006972","1327006951"],"photo_ids_order":["1327006951","1327006972","1327006976","1327006979","1327006981","1327006984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be5c34e70bde6bc65bcf5d0af7617f70.jpg","text":"TemporaryFile(/tmp/multipartBody8591693994958782178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_50_02_949117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ddc964a045624d83359598e5cae9e22.jpg","text":"TemporaryFile(/tmp/multipartBody3275769458927452346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_50_02_949117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a967679563830d82912e67c84290dfe6.jpg","text":"TemporaryFile(/tmp/multipartBody8200250002699167512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_50_02_949117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0bec054cc1a4f27d8f9dc1254a88921.jpg","text":"TemporaryFile(/tmp/multipartBody1903716599457814831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_51_02_223654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/773c5cad0b5ebac2495ca6d5b44254e3.jpg","text":"TemporaryFile(/tmp/multipartBody7296429548948141590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_50_02_949117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1808b66d9beffdbb66eeba28173bd597.jpg","text":"TemporaryFile(/tmp/multipartBody2019095915101689467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183916977,"filename":"image_06012025_17_49_02_771372_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327006976","file1":"1327006972","file0":"1327006951","file4":"1327006981","file5":"1327006984","file3":"1327006979"},"map_files_photo_id_array":[{"photo_id":"1327006984","filename":"file5"},{"photo_id":"1327006976","filename":"file2"},{"photo_id":"1327006981","filename":"file4"},{"photo_id":"1327006972","filename":"file1"},{"photo_id":"1327006951","filename":"file0"},{"photo_id":"1327006979","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327006979":["hashtag1","hashtag2"]},{"1327006976":["hashtag1","hashtag2"]},{"1327006981":["hashtag1","hashtag2"]},{"1327006984":["hashtag1","hashtag2"]},{"1327006972":["hashtag1","hashtag2"]},{"1327006951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327006979, 1327006976, 1327006981, 1327006984, 1327006972, 1327006951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.126322746276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:18:22.118360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0001.jpg', '/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0002.jpg', '/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0003.jpg', '/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0000.jpg', '/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0001.jpg', '/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0001.jpg
/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0002.jpg
/home/pi/Desktop/images/06012025/17/51/image_06012025_17_51_02_223654_0003.jpg
/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0000.jpg
/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0001.jpg
/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_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":["1327007001","1327007004","1327007006","1327006999","1327007008","1327006998"],"photo_ids_order":["1327006998","1327006999","1327007001","1327007004","1327007006","1327007008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7626be5d3b9d956507d57713e103d236.jpg","text":"TemporaryFile(/tmp/multipartBody4838238807850449923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_51_02_223654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41831c3d86fffd5822b5967556509315.jpg","text":"TemporaryFile(/tmp/multipartBody3392093769375563234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_52_02_403199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87289ef154267aed68952bb4359064eb.jpg","text":"TemporaryFile(/tmp/multipartBody7473261072146107631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_52_02_403199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6b14f1a959a1bda4509dc007afa5b74.jpg","text":"TemporaryFile(/tmp/multipartBody2283026198724520119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_51_02_223654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50629b7d56caa4709352151b3c3f97b8.jpg","text":"TemporaryFile(/tmp/multipartBody2348229755901717933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_52_02_403199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56af4fca9d8b91442d451e9c83d3ea94.jpg","text":"TemporaryFile(/tmp/multipartBody3498716145910931967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736183977262,"filename":"image_06012025_17_51_02_223654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007001","file1":"1327006999","file0":"1327006998","file4":"1327007006","file5":"1327007008","file3":"1327007004"},"map_files_photo_id_array":[{"photo_id":"1327007008","filename":"file5"},{"photo_id":"1327007001","filename":"file2"},{"photo_id":"1327007006","filename":"file4"},{"photo_id":"1327006999","filename":"file1"},{"photo_id":"1327006998","filename":"file0"},{"photo_id":"1327007004","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007001":["hashtag1","hashtag2"]},{"1327007004":["hashtag1","hashtag2"]},{"1327007006":["hashtag1","hashtag2"]},{"1327006999":["hashtag1","hashtag2"]},{"1327007008":["hashtag1","hashtag2"]},{"1327006998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007001, 1327007004, 1327007006, 1327006999, 1327007008, 1327006998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.181437253952026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:19:22.177259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0003.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0000.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0001.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0002.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0003.jpg', '/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0003.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0000.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0001.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0002.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0003.jpg
/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0000.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.720131874084473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:19:42.291989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0003.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0000.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0001.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0002.jpg', '/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0003.jpg', '/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/52/image_06012025_17_52_02_403199_0003.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0000.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0001.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0002.jpg
/home/pi/Desktop/images/06012025/17/53/image_06012025_17_53_02_621120_0003.jpg
/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_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":["1327007057","1327007044","1327007053","1327007061","1327007058","1327007049"],"photo_ids_order":["1327007044","1327007049","1327007053","1327007057","1327007058","1327007061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27abecb654caca4680a9d0a27760d4fb.jpg","text":"TemporaryFile(/tmp/multipartBody3963638669716214933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_53_02_621120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b960c6b772084fa981aaa5def3faa9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7133945679171857120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_52_02_403199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3582e762777044db194e282f896a4055.jpg","text":"TemporaryFile(/tmp/multipartBody142669916149517050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_53_02_621120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec17a70ab91fdf8d9ce945276a01f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody2652194890729861701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_54_02_750543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e194b159d991a2be1cf74291f61d08c.jpg","text":"TemporaryFile(/tmp/multipartBody7337723071121991026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_53_02_621120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c8201b646bf0aac59a9d7991a8a4de5.jpg","text":"TemporaryFile(/tmp/multipartBody779551535926677853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184057415,"filename":"image_06012025_17_53_02_621120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007053","file1":"1327007049","file0":"1327007044","file4":"1327007058","file5":"1327007061","file3":"1327007057"},"map_files_photo_id_array":[{"photo_id":"1327007061","filename":"file5"},{"photo_id":"1327007053","filename":"file2"},{"photo_id":"1327007058","filename":"file4"},{"photo_id":"1327007049","filename":"file1"},{"photo_id":"1327007044","filename":"file0"},{"photo_id":"1327007057","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007057":["hashtag1","hashtag2"]},{"1327007044":["hashtag1","hashtag2"]},{"1327007053":["hashtag1","hashtag2"]},{"1327007061":["hashtag1","hashtag2"]},{"1327007058":["hashtag1","hashtag2"]},{"1327007049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007057, 1327007044, 1327007053, 1327007061, 1327007058, 1327007049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.450329065322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:20:42.339109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0001.jpg', '/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0002.jpg', '/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0003.jpg', '/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0000.jpg', '/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0001.jpg', '/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0001.jpg
/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0002.jpg
/home/pi/Desktop/images/06012025/17/54/image_06012025_17_54_02_750543_0003.jpg
/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0000.jpg
/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0001.jpg
/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_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":["1327007109","1327007100","1327007103","1327007114","1327007107","1327007112"],"photo_ids_order":["1327007100","1327007103","1327007107","1327007109","1327007112","1327007114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bf4809959f7dd2766dd550d6999912ac.jpg","text":"TemporaryFile(/tmp/multipartBody7743177623810962507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_55_02_923388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f2f4ff15dfc11fe44ee05f921b473ee.jpg","text":"TemporaryFile(/tmp/multipartBody1329631701604178364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_54_02_750543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a80489daac90fa77370beffcc977cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5586206718796586928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_54_02_750543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb8f1a78340fa22f0df6b1be344dbdce.jpg","text":"TemporaryFile(/tmp/multipartBody202980659228298807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_55_02_923388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afc44f2814918388854b5f28c2154b86.jpg","text":"TemporaryFile(/tmp/multipartBody3590868400808653824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_54_02_750543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de021da5f4670b8c2eb8be4a73bf51c2.jpg","text":"TemporaryFile(/tmp/multipartBody5405173715580098507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184117435,"filename":"image_06012025_17_55_02_923388_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007107","file1":"1327007103","file0":"1327007100","file4":"1327007112","file5":"1327007114","file3":"1327007109"},"map_files_photo_id_array":[{"photo_id":"1327007114","filename":"file5"},{"photo_id":"1327007107","filename":"file2"},{"photo_id":"1327007112","filename":"file4"},{"photo_id":"1327007103","filename":"file1"},{"photo_id":"1327007100","filename":"file0"},{"photo_id":"1327007109","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007109":["hashtag1","hashtag2"]},{"1327007100":["hashtag1","hashtag2"]},{"1327007103":["hashtag1","hashtag2"]},{"1327007114":["hashtag1","hashtag2"]},{"1327007107":["hashtag1","hashtag2"]},{"1327007112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007109, 1327007100, 1327007103, 1327007114, 1327007107, 1327007112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2447509765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:21:42.504920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0003.jpg', '/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0000.jpg', '/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0001.jpg', '/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0002.jpg', '/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0003.jpg', '/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/55/image_06012025_17_55_02_923388_0003.jpg
/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0000.jpg
/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0001.jpg
/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0002.jpg
/home/pi/Desktop/images/06012025/17/56/image_06012025_17_56_03_082738_0003.jpg
/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_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":["1327007150","1327007153","1327007147","1327007135","1327007144","1327007139"],"photo_ids_order":["1327007135","1327007139","1327007144","1327007147","1327007150","1327007153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d0986876d2ad7e1be81ccfdb40dcc0e.jpg","text":"TemporaryFile(/tmp/multipartBody3907063655556205128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_56_03_082738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d73bf86f8672a2af540065b85eebd0d.jpg","text":"TemporaryFile(/tmp/multipartBody7425782689362700085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_57_02_303011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/06631856a3b42f2b1063d98f9e285b65.jpg","text":"TemporaryFile(/tmp/multipartBody6421742950162676319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_56_03_082738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98e9fda453f587f4c62cc459400187f3.jpg","text":"TemporaryFile(/tmp/multipartBody7224347396379463499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_55_02_923388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8b2b5c838c91bd40e3621545eb3065d.jpg","text":"TemporaryFile(/tmp/multipartBody6565006145924568732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_56_03_082738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95eaab47cff76a090619acfddab0e8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2865038015882664058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184177847,"filename":"image_06012025_17_56_03_082738_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007144","file1":"1327007139","file0":"1327007135","file4":"1327007150","file5":"1327007153","file3":"1327007147"},"map_files_photo_id_array":[{"photo_id":"1327007153","filename":"file5"},{"photo_id":"1327007144","filename":"file2"},{"photo_id":"1327007150","filename":"file4"},{"photo_id":"1327007139","filename":"file1"},{"photo_id":"1327007135","filename":"file0"},{"photo_id":"1327007147","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007150":["hashtag1","hashtag2"]},{"1327007153":["hashtag1","hashtag2"]},{"1327007147":["hashtag1","hashtag2"]},{"1327007135":["hashtag1","hashtag2"]},{"1327007144":["hashtag1","hashtag2"]},{"1327007139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007150, 1327007153, 1327007147, 1327007135, 1327007144, 1327007139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.95245361328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:22:52.661580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0001.jpg', '/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0002.jpg', '/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0003.jpg', '/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0000.jpg', '/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0001.jpg', '/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0001.jpg
/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0002.jpg
/home/pi/Desktop/images/06012025/17/57/image_06012025_17_57_02_303011_0003.jpg
/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0000.jpg
/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0001.jpg
/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_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":["1327007168","1327007161","1327007164","1327007286","1327007172","1327007175"],"photo_ids_order":["1327007161","1327007164","1327007168","1327007172","1327007175","1327007286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d40c746d38cbc9b08b7a224c2e21372c.jpg","text":"TemporaryFile(/tmp/multipartBody3611317818065311638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_57_02_303011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ecb92d93635bf4dcbc5bad9a33fbc72f.jpg","text":"TemporaryFile(/tmp/multipartBody8695114042845204979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_57_02_303011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9924b26e1e656d330c3daf85891f10c3.jpg","text":"TemporaryFile(/tmp/multipartBody4649547329632232622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_57_02_303011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6960bdf493c56c85d442b94625e53752.jpg","text":"TemporaryFile(/tmp/multipartBody8624894632724607244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_58_02_486346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/489496da02d5dc207d77fbf5b02800a4.jpg","text":"TemporaryFile(/tmp/multipartBody2546843762390548994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_58_02_486346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8297737bc5e195349be2ed7ede4a10f0.jpg","text":"TemporaryFile(/tmp/multipartBody5963693586683021901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184247771,"filename":"image_06012025_17_58_02_486346_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007168","file1":"1327007164","file0":"1327007161","file4":"1327007175","file5":"1327007286","file3":"1327007172"},"map_files_photo_id_array":[{"photo_id":"1327007286","filename":"file5"},{"photo_id":"1327007168","filename":"file2"},{"photo_id":"1327007175","filename":"file4"},{"photo_id":"1327007164","filename":"file1"},{"photo_id":"1327007161","filename":"file0"},{"photo_id":"1327007172","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007168":["hashtag1","hashtag2"]},{"1327007161":["hashtag1","hashtag2"]},{"1327007164":["hashtag1","hashtag2"]},{"1327007286":["hashtag1","hashtag2"]},{"1327007172":["hashtag1","hashtag2"]},{"1327007175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007168, 1327007161, 1327007164, 1327007286, 1327007172, 1327007175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.141878604888916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:23:51.892355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0003.jpg', '/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0000.jpg', '/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0001.jpg', '/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0002.jpg', '/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0003.jpg', '/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/17/58/image_06012025_17_58_02_486346_0003.jpg
/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0000.jpg
/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0001.jpg
/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0002.jpg
/home/pi/Desktop/images/06012025/17/59/image_06012025_17_59_02_746980_0003.jpg
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_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":["1327007345","1327007339","1327007348","1327007336","1327007341","1327007370"],"photo_ids_order":["1327007336","1327007339","1327007341","1327007345","1327007348","1327007370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/519dea2c3b329d249be264cce8873d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3667871658371544765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_17_59_02_746980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2bb04b0e35573fec44624438fdd97027.jpg","text":"TemporaryFile(/tmp/multipartBody461593036187641576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_17_59_02_746980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f36563d25ab55042abcf3437a238e187.jpg","text":"TemporaryFile(/tmp/multipartBody2815790253730086345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_17_59_02_746980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ced2c56d284cb2abb61e3471a65cef63.jpg","text":"TemporaryFile(/tmp/multipartBody8850167100477022027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_17_58_02_486346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28139ce9965c4d8e27038f3ee967bec8.jpg","text":"TemporaryFile(/tmp/multipartBody8671424871244195280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_17_59_02_746980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2201827bce820b2c85eb040c8365d85d.jpg","text":"TemporaryFile(/tmp/multipartBody327772393902944885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184307195,"filename":"image_06012025_18_00_02_845402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007341","file1":"1327007339","file0":"1327007336","file4":"1327007348","file5":"1327007370","file3":"1327007345"},"map_files_photo_id_array":[{"photo_id":"1327007370","filename":"file5"},{"photo_id":"1327007341","filename":"file2"},{"photo_id":"1327007348","filename":"file4"},{"photo_id":"1327007339","filename":"file1"},{"photo_id":"1327007336","filename":"file0"},{"photo_id":"1327007345","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007345":["hashtag1","hashtag2"]},{"1327007339":["hashtag1","hashtag2"]},{"1327007348":["hashtag1","hashtag2"]},{"1327007336":["hashtag1","hashtag2"]},{"1327007341":["hashtag1","hashtag2"]},{"1327007370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007345, 1327007339, 1327007348, 1327007336, 1327007341, 1327007370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7739155292511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:24:52.072267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0001.jpg', '/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0002.jpg', '/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0003.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0000.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0001.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0001.jpg
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0002.jpg
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0003.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0000.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0001.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_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.947784900665283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:25:22.272507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0001.jpg', '/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0002.jpg', '/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0003.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0000.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0001.jpg', '/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0001.jpg
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0002.jpg
/home/pi/Desktop/images/06012025/18/00/image_06012025_18_00_02_845402_0003.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0000.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0001.jpg
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_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":["1327007406","1327007404","1327007397","1327007394","1327007400","1327007403"],"photo_ids_order":["1327007394","1327007397","1327007400","1327007403","1327007404","1327007406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d33ebef988ff0307038e395cee8084d.jpg","text":"TemporaryFile(/tmp/multipartBody2697093813903600179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_01_03_009900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c12b3687cd8b1ea1418e8d2170623a1f.jpg","text":"TemporaryFile(/tmp/multipartBody481430943125568085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_01_03_009900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a3ed2b7ffa5bc0b424732327a7160037.jpg","text":"TemporaryFile(/tmp/multipartBody8462697900242975118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_00_02_845402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1db7e5d53d7560dbec02feb6fdafb01.jpg","text":"TemporaryFile(/tmp/multipartBody6685305667400714316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_00_02_845402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/103302889d307bcdc08b08904c7bed58.jpg","text":"TemporaryFile(/tmp/multipartBody2800823155781815035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_00_02_845402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7712222cced9fad612a14c92507629a1.jpg","text":"TemporaryFile(/tmp/multipartBody229350308406047148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184397642,"filename":"image_06012025_18_01_03_009900_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007400","file1":"1327007397","file0":"1327007394","file4":"1327007404","file5":"1327007406","file3":"1327007403"},"map_files_photo_id_array":[{"photo_id":"1327007406","filename":"file5"},{"photo_id":"1327007400","filename":"file2"},{"photo_id":"1327007404","filename":"file4"},{"photo_id":"1327007397","filename":"file1"},{"photo_id":"1327007394","filename":"file0"},{"photo_id":"1327007403","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007406":["hashtag1","hashtag2"]},{"1327007404":["hashtag1","hashtag2"]},{"1327007397":["hashtag1","hashtag2"]},{"1327007394":["hashtag1","hashtag2"]},{"1327007400":["hashtag1","hashtag2"]},{"1327007403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007406, 1327007404, 1327007397, 1327007394, 1327007400, 1327007403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.230446338653564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:26:22.463290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0003.jpg', '/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0000.jpg', '/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0001.jpg', '/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0002.jpg', '/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0003.jpg', '/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/01/image_06012025_18_01_03_009900_0003.jpg
/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0000.jpg
/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0001.jpg
/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0002.jpg
/home/pi/Desktop/images/06012025/18/02/image_06012025_18_02_02_310602_0003.jpg
/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_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":["1327007474","1327007426","1327007434","1327007487","1327007472","1327007430"],"photo_ids_order":["1327007426","1327007430","1327007434","1327007472","1327007474","1327007487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbd89876cd1a7e70f6e8297dcbfc6201.jpg","text":"TemporaryFile(/tmp/multipartBody4182643120947372217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_02_02_310602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba932c01515aaa14eace1474d20deb3d.jpg","text":"TemporaryFile(/tmp/multipartBody4831156866932630039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_01_03_009900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbfe687dc0b7ffdb6bbab12a22a07c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2647507947714310570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_02_02_310602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a1d25f7fe940058dc4a010f34305882.jpg","text":"TemporaryFile(/tmp/multipartBody950933282658144276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_03_02_540480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2dc1753bbb02e19eb3866915a218230.jpg","text":"TemporaryFile(/tmp/multipartBody2871342594540109714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_02_02_310602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77e6bafae7a811e852e582a4b2c78919.jpg","text":"TemporaryFile(/tmp/multipartBody6176257979476715318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184457550,"filename":"image_06012025_18_02_02_310602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007434","file1":"1327007430","file0":"1327007426","file4":"1327007474","file5":"1327007487","file3":"1327007472"},"map_files_photo_id_array":[{"photo_id":"1327007487","filename":"file5"},{"photo_id":"1327007434","filename":"file2"},{"photo_id":"1327007474","filename":"file4"},{"photo_id":"1327007430","filename":"file1"},{"photo_id":"1327007426","filename":"file0"},{"photo_id":"1327007472","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007474":["hashtag1","hashtag2"]},{"1327007426":["hashtag1","hashtag2"]},{"1327007434":["hashtag1","hashtag2"]},{"1327007487":["hashtag1","hashtag2"]},{"1327007472":["hashtag1","hashtag2"]},{"1327007430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007474, 1327007426, 1327007434, 1327007487, 1327007472, 1327007430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28321099281311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:27:22.675521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0001.jpg', '/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0002.jpg', '/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0003.jpg', '/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0000.jpg', '/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0001.jpg', '/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0001.jpg
/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0002.jpg
/home/pi/Desktop/images/06012025/18/03/image_06012025_18_03_02_540480_0003.jpg
/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0000.jpg
/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0001.jpg
/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_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":["1327007510","1327007606","1327007516","1327007504","1327007500","1327007514"],"photo_ids_order":["1327007500","1327007504","1327007510","1327007514","1327007516","1327007606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79d4a58cfba9ca77a47d76babb1ad3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2133018707038573719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_03_02_540480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9943b56534bbc5a221351b06b982376.jpg","text":"TemporaryFile(/tmp/multipartBody2390396958097654094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_04_02_808975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/851b6d2df26c73d8837f3a2980105983.jpg","text":"TemporaryFile(/tmp/multipartBody2189176372973606825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_04_02_808975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c10d415de76df5be6a0c5647730a2b7.jpg","text":"TemporaryFile(/tmp/multipartBody1814536805218043837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_03_02_540480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c06220c994f9a96cb4dc40fe9654f8b6.jpg","text":"TemporaryFile(/tmp/multipartBody6928746781857633160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_03_02_540480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fb04207d5a26255db1b68610b9c95708.jpg","text":"TemporaryFile(/tmp/multipartBody469429340920119675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184517565,"filename":"image_06012025_18_04_02_808975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007510","file1":"1327007504","file0":"1327007500","file4":"1327007516","file5":"1327007606","file3":"1327007514"},"map_files_photo_id_array":[{"photo_id":"1327007606","filename":"file5"},{"photo_id":"1327007510","filename":"file2"},{"photo_id":"1327007516","filename":"file4"},{"photo_id":"1327007504","filename":"file1"},{"photo_id":"1327007500","filename":"file0"},{"photo_id":"1327007514","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007510":["hashtag1","hashtag2"]},{"1327007606":["hashtag1","hashtag2"]},{"1327007516":["hashtag1","hashtag2"]},{"1327007504":["hashtag1","hashtag2"]},{"1327007500":["hashtag1","hashtag2"]},{"1327007514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007510, 1327007606, 1327007516, 1327007504, 1327007500, 1327007514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26880741119385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:28:21.830656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0003.jpg', '/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0000.jpg', '/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0001.jpg', '/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0002.jpg', '/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0003.jpg', '/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/04/image_06012025_18_04_02_808975_0003.jpg
/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0000.jpg
/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0001.jpg
/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0002.jpg
/home/pi/Desktop/images/06012025/18/05/image_06012025_18_05_02_937550_0003.jpg
/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_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":["1327007642","1327007645","1327007639","1327007632","1327007652","1327007628"],"photo_ids_order":["1327007628","1327007632","1327007639","1327007642","1327007645","1327007652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4ab0ce8541811470192eca13f5423361.jpg","text":"TemporaryFile(/tmp/multipartBody4915163197070120106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_05_02_937550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ae457fe3853a861fc98ea4a99a7fb81.jpg","text":"TemporaryFile(/tmp/multipartBody3211562060443908450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_05_02_937550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9027b5ee445cc3269c2326d26c78a082.jpg","text":"TemporaryFile(/tmp/multipartBody8475064325246442672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_05_02_937550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e876aa66a52c91a310c14caba78be5a.jpg","text":"TemporaryFile(/tmp/multipartBody6064202517867904992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_05_02_937550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f5db80d259b05093784929fa13b64ad.jpg","text":"TemporaryFile(/tmp/multipartBody388522814968849069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_06_02_191393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/613aa7fa1ebeb9b768012c4d0a821ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6817321007628364458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184576806,"filename":"image_06012025_18_04_02_808975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007639","file1":"1327007632","file0":"1327007628","file4":"1327007645","file5":"1327007652","file3":"1327007642"},"map_files_photo_id_array":[{"photo_id":"1327007652","filename":"file5"},{"photo_id":"1327007639","filename":"file2"},{"photo_id":"1327007645","filename":"file4"},{"photo_id":"1327007632","filename":"file1"},{"photo_id":"1327007628","filename":"file0"},{"photo_id":"1327007642","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007642":["hashtag1","hashtag2"]},{"1327007645":["hashtag1","hashtag2"]},{"1327007639":["hashtag1","hashtag2"]},{"1327007632":["hashtag1","hashtag2"]},{"1327007652":["hashtag1","hashtag2"]},{"1327007628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007642, 1327007645, 1327007639, 1327007632, 1327007652, 1327007628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35570311546326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:29:21.950269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0001.jpg', '/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0002.jpg', '/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0003.jpg', '/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0000.jpg', '/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0001.jpg', '/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0001.jpg
/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0002.jpg
/home/pi/Desktop/images/06012025/18/06/image_06012025_18_06_02_191393_0003.jpg
/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0000.jpg
/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0001.jpg
/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_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":["1327007693","1327007705","1327007677","1327007682","1327007709","1327007684"],"photo_ids_order":["1327007677","1327007682","1327007684","1327007693","1327007705","1327007709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3930fb8c120190b80465f6145a0ba56b.jpg","text":"TemporaryFile(/tmp/multipartBody8081945346430949736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_07_02_270830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1e6725ce4a670f1ab523adeb498220a.jpg","text":"TemporaryFile(/tmp/multipartBody7478352675550585364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_07_02_270830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e9f7f58142b1e939970eb703aa57ac88.jpg","text":"TemporaryFile(/tmp/multipartBody5415841964537285666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_06_02_191393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a70463f7f5ff4ebc78b06f356c1f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7464879997329046954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_06_02_191393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8f16fe6c6c70acb9635beaa0a844fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4650933751986941295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_07_02_270830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7dcc8d15db6351f9a6f786d109b53000.jpg","text":"TemporaryFile(/tmp/multipartBody9198715173016386325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184636947,"filename":"image_06012025_18_06_02_191393_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007684","file1":"1327007682","file0":"1327007677","file4":"1327007705","file5":"1327007709","file3":"1327007693"},"map_files_photo_id_array":[{"photo_id":"1327007709","filename":"file5"},{"photo_id":"1327007684","filename":"file2"},{"photo_id":"1327007705","filename":"file4"},{"photo_id":"1327007682","filename":"file1"},{"photo_id":"1327007677","filename":"file0"},{"photo_id":"1327007693","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007693":["hashtag1","hashtag2"]},{"1327007705":["hashtag1","hashtag2"]},{"1327007677":["hashtag1","hashtag2"]},{"1327007682":["hashtag1","hashtag2"]},{"1327007709":["hashtag1","hashtag2"]},{"1327007684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007693, 1327007705, 1327007677, 1327007682, 1327007709, 1327007684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85720467567444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:30:22.177460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0003.jpg', '/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0000.jpg', '/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0001.jpg', '/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0002.jpg', '/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0003.jpg', '/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/07/image_06012025_18_07_02_270830_0003.jpg
/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0000.jpg
/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0001.jpg
/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0002.jpg
/home/pi/Desktop/images/06012025/18/08/image_06012025_18_08_02_498881_0003.jpg
/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_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":["1327007732","1327007719","1327007730","1327007724","1327007727","1327007721"],"photo_ids_order":["1327007719","1327007721","1327007724","1327007727","1327007730","1327007732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3728f9984646d46dc8697d35be232d77.jpg","text":"TemporaryFile(/tmp/multipartBody187921346337179631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_09_02_695708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cddcf1f2c8a7e28e4fee816b220d9c17.jpg","text":"TemporaryFile(/tmp/multipartBody3183327339930451088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_07_02_270830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80016e7340e1e55fa583b855205e713b.jpg","text":"TemporaryFile(/tmp/multipartBody6591242593554318564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_08_02_498881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77dc5bc1253815a3f0d16884d0707274.jpg","text":"TemporaryFile(/tmp/multipartBody594087611173649145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_08_02_498881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/856df3ee5bc315916811794163e7076c.jpg","text":"TemporaryFile(/tmp/multipartBody2471199110392922854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_08_02_498881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e11aec4cbb906dd2a464f45f8142b5d2.jpg","text":"TemporaryFile(/tmp/multipartBody3962118179192782042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184697019,"filename":"image_06012025_18_08_02_498881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007724","file1":"1327007721","file0":"1327007719","file4":"1327007730","file5":"1327007732","file3":"1327007727"},"map_files_photo_id_array":[{"photo_id":"1327007732","filename":"file5"},{"photo_id":"1327007724","filename":"file2"},{"photo_id":"1327007730","filename":"file4"},{"photo_id":"1327007721","filename":"file1"},{"photo_id":"1327007719","filename":"file0"},{"photo_id":"1327007727","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007732":["hashtag1","hashtag2"]},{"1327007719":["hashtag1","hashtag2"]},{"1327007730":["hashtag1","hashtag2"]},{"1327007724":["hashtag1","hashtag2"]},{"1327007727":["hashtag1","hashtag2"]},{"1327007721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007732, 1327007719, 1327007730, 1327007724, 1327007727, 1327007721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.43513488769531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:31:22.325261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_0002.jpg', '/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_0003.jpg', '/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0000.jpg', '/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0001.jpg', '/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0002.jpg', '/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_0002.jpg
/home/pi/Desktop/images/06012025/18/09/image_06012025_18_09_02_695708_0003.jpg
/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0000.jpg
/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0001.jpg
/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_0002.jpg
/home/pi/Desktop/images/06012025/18/10/image_06012025_18_10_02_849544_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":["1327007870","1327007801","1327007872","1327007767","1327007908","1327007757"],"photo_ids_order":["1327007757","1327007767","1327007801","1327007870","1327007872","1327007908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ddf5758da56272c44fa41a2e50538068.jpg","text":"TemporaryFile(/tmp/multipartBody7343175253626741258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_10_02_849544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b705520380ee5f1c494ed7268090415e.jpg","text":"TemporaryFile(/tmp/multipartBody5980719933619218015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_10_02_849544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6a5d88f5fd867060fd6146a391866b3.jpg","text":"TemporaryFile(/tmp/multipartBody6162588979103061444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_10_02_849544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe2d3f476ec03e5027d8436a1b194ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1001963658467783916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_09_02_695708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f04200150ba53675e0c4578102075072.jpg","text":"TemporaryFile(/tmp/multipartBody2809940113268908325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_10_02_849544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f16a10cdff197581f180f90cfe450641.jpg","text":"TemporaryFile(/tmp/multipartBody6766279842064586774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184757194,"filename":"image_06012025_18_09_02_695708_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007801","file1":"1327007767","file0":"1327007757","file4":"1327007872","file5":"1327007908","file3":"1327007870"},"map_files_photo_id_array":[{"photo_id":"1327007908","filename":"file5"},{"photo_id":"1327007801","filename":"file2"},{"photo_id":"1327007872","filename":"file4"},{"photo_id":"1327007767","filename":"file1"},{"photo_id":"1327007757","filename":"file0"},{"photo_id":"1327007870","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007870":["hashtag1","hashtag2"]},{"1327007801":["hashtag1","hashtag2"]},{"1327007872":["hashtag1","hashtag2"]},{"1327007767":["hashtag1","hashtag2"]},{"1327007908":["hashtag1","hashtag2"]},{"1327007757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007870, 1327007801, 1327007872, 1327007767, 1327007908, 1327007757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8182954788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:32:22.514994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0000.jpg', '/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0001.jpg', '/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0002.jpg', '/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0003.jpg', '/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0000.jpg', '/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0000.jpg
/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0001.jpg
/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0002.jpg
/home/pi/Desktop/images/06012025/18/11/image_06012025_18_11_03_047680_0003.jpg
/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0000.jpg
/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_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":["1327007933","1327007942","1327007936","1327007939","1327007944","1327007947"],"photo_ids_order":["1327007933","1327007936","1327007939","1327007942","1327007944","1327007947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7877a872854d8b7ab388170ade2b030c.jpg","text":"TemporaryFile(/tmp/multipartBody6139956317685082699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_11_03_047680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6e921a43123dcb3545ecb621ef14c76.jpg","text":"TemporaryFile(/tmp/multipartBody6161332579977733043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_11_03_047680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2caaac6a7956915cbf147f0620f3d6ac.jpg","text":"TemporaryFile(/tmp/multipartBody3867234998366977180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_11_03_047680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2c4c70e295e62c8c8616f22c6e3450b.jpg","text":"TemporaryFile(/tmp/multipartBody1403700352761553731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_11_03_047680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6baa71a0d7501d8e854c49bb6aa7b83f.jpg","text":"TemporaryFile(/tmp/multipartBody2104289592278880982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_12_02_161275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34b77899c0c603386fef7c989a1e3858.jpg","text":"TemporaryFile(/tmp/multipartBody986265982005409272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184817456,"filename":"image_06012025_18_12_02_161275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007939","file1":"1327007936","file0":"1327007933","file4":"1327007944","file5":"1327007947","file3":"1327007942"},"map_files_photo_id_array":[{"photo_id":"1327007947","filename":"file5"},{"photo_id":"1327007939","filename":"file2"},{"photo_id":"1327007944","filename":"file4"},{"photo_id":"1327007936","filename":"file1"},{"photo_id":"1327007933","filename":"file0"},{"photo_id":"1327007942","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327007933":["hashtag1","hashtag2"]},{"1327007942":["hashtag1","hashtag2"]},{"1327007936":["hashtag1","hashtag2"]},{"1327007939":["hashtag1","hashtag2"]},{"1327007944":["hashtag1","hashtag2"]},{"1327007947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327007933, 1327007942, 1327007936, 1327007939, 1327007944, 1327007947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57067513465881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:33:22.737472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0002.jpg', '/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0003.jpg', '/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0000.jpg', '/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0001.jpg', '/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0002.jpg', '/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0002.jpg
/home/pi/Desktop/images/06012025/18/12/image_06012025_18_12_02_161275_0003.jpg
/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0000.jpg
/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0001.jpg
/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_0002.jpg
/home/pi/Desktop/images/06012025/18/13/image_06012025_18_13_02_303094_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":["1327008068","1327008061","1327007974","1327007971","1327007967","1327008045"],"photo_ids_order":["1327007967","1327007971","1327007974","1327008045","1327008061","1327008068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08b19bacd33ba36eb45b33a66353b523.jpg","text":"TemporaryFile(/tmp/multipartBody4674863384317364951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_13_02_303094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8ec5fa7c298a074f70a71d50c5045e4.jpg","text":"TemporaryFile(/tmp/multipartBody6879746021650634109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_13_02_303094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f5ab5d57fd929c6856f5b24e8357590.jpg","text":"TemporaryFile(/tmp/multipartBody618208408376269234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_13_02_303094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c55cc3a4d4515ee0e4c07191e3dbbb9.jpg","text":"TemporaryFile(/tmp/multipartBody8647743864839911197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_12_02_161275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc36cff898ce3aece6e44e2763d9b984.jpg","text":"TemporaryFile(/tmp/multipartBody5994871523662199460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_12_02_161275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe3c320c1ff5acffbddf1c4b3bd744ce.jpg","text":"TemporaryFile(/tmp/multipartBody1732627578194856952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184877806,"filename":"image_06012025_18_13_02_303094_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327007974","file1":"1327007971","file0":"1327007967","file4":"1327008061","file5":"1327008068","file3":"1327008045"},"map_files_photo_id_array":[{"photo_id":"1327008068","filename":"file5"},{"photo_id":"1327007974","filename":"file2"},{"photo_id":"1327008061","filename":"file4"},{"photo_id":"1327007971","filename":"file1"},{"photo_id":"1327007967","filename":"file0"},{"photo_id":"1327008045","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327008068":["hashtag1","hashtag2"]},{"1327008061":["hashtag1","hashtag2"]},{"1327007974":["hashtag1","hashtag2"]},{"1327007971":["hashtag1","hashtag2"]},{"1327007967":["hashtag1","hashtag2"]},{"1327008045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327008068, 1327008061, 1327007974, 1327007971, 1327007967, 1327008045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36859846115112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:34:21.874706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0000.jpg', '/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0001.jpg', '/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0002.jpg', '/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0003.jpg', '/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0000.jpg', '/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0000.jpg
/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0001.jpg
/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0002.jpg
/home/pi/Desktop/images/06012025/18/14/image_06012025_18_14_02_493336_0003.jpg
/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0000.jpg
/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_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":["1327008407","1327008153","1327008348","1327008162","1327008405","1327008158"],"photo_ids_order":["1327008153","1327008158","1327008162","1327008348","1327008405","1327008407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61f8fff2cf7d0040a56c37b0f969dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody4286537947827135807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_15_02_661187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f994bb428e7dba035b1819739ae2561.jpg","text":"TemporaryFile(/tmp/multipartBody1547766946749612343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_14_02_493336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ef849c813c6e6afa173d0f0df8f9890c.jpg","text":"TemporaryFile(/tmp/multipartBody3627006424301443876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_14_02_493336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/735b4b79caad79edf487799de1282362.jpg","text":"TemporaryFile(/tmp/multipartBody1414076068655156122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_14_02_493336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/141cdfd66bb23fbd39da2524c147f622.jpg","text":"TemporaryFile(/tmp/multipartBody9069010000724917464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_15_02_661187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4eb73cff2ebe82ea6d6c23a15c355b64.jpg","text":"TemporaryFile(/tmp/multipartBody8353005928954149743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184936932,"filename":"image_06012025_18_14_02_493336_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327008162","file1":"1327008158","file0":"1327008153","file4":"1327008405","file5":"1327008407","file3":"1327008348"},"map_files_photo_id_array":[{"photo_id":"1327008407","filename":"file5"},{"photo_id":"1327008162","filename":"file2"},{"photo_id":"1327008405","filename":"file4"},{"photo_id":"1327008158","filename":"file1"},{"photo_id":"1327008153","filename":"file0"},{"photo_id":"1327008348","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327008407":["hashtag1","hashtag2"]},{"1327008153":["hashtag1","hashtag2"]},{"1327008348":["hashtag1","hashtag2"]},{"1327008162":["hashtag1","hashtag2"]},{"1327008405":["hashtag1","hashtag2"]},{"1327008158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327008407, 1327008153, 1327008348, 1327008162, 1327008405, 1327008158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42516493797302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:35:22.112555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0002.jpg', '/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0003.jpg', '/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0000.jpg', '/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0001.jpg', '/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0002.jpg', '/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0002.jpg
/home/pi/Desktop/images/06012025/18/15/image_06012025_18_15_02_661187_0003.jpg
/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0000.jpg
/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0001.jpg
/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_0002.jpg
/home/pi/Desktop/images/06012025/18/16/image_06012025_18_16_02_809830_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":["1327008626","1327008544","1327008628","1327008624","1327008519","1327008516"],"photo_ids_order":["1327008516","1327008519","1327008544","1327008624","1327008626","1327008628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4979ac2334e5e88d7e330be54dbe2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6075382079383042188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_16_02_809830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d0ceb2aedb904344d9f5c5b124a08081.jpg","text":"TemporaryFile(/tmp/multipartBody7262048483053934415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_16_02_809830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25856e25b28294c226c67ea21cb835d3.jpg","text":"TemporaryFile(/tmp/multipartBody6642629440848298510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_16_02_809830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce51994fd59946c65d8913aeecbc3e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8061942111903209511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_16_02_809830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14dff4e520ae64171d925559f3ca40d3.jpg","text":"TemporaryFile(/tmp/multipartBody6601533242619773213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_15_02_661187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4043c669c2bb6a8f00375c6167c9d51d.jpg","text":"TemporaryFile(/tmp/multipartBody6822429013033899056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736184997238,"filename":"image_06012025_18_15_02_661187_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327008544","file1":"1327008519","file0":"1327008516","file4":"1327008626","file5":"1327008628","file3":"1327008624"},"map_files_photo_id_array":[{"photo_id":"1327008628","filename":"file5"},{"photo_id":"1327008544","filename":"file2"},{"photo_id":"1327008626","filename":"file4"},{"photo_id":"1327008519","filename":"file1"},{"photo_id":"1327008516","filename":"file0"},{"photo_id":"1327008624","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327008626":["hashtag1","hashtag2"]},{"1327008544":["hashtag1","hashtag2"]},{"1327008628":["hashtag1","hashtag2"]},{"1327008624":["hashtag1","hashtag2"]},{"1327008519":["hashtag1","hashtag2"]},{"1327008516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327008626, 1327008544, 1327008628, 1327008624, 1327008519, 1327008516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.988447427749634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:36:22.197121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0000.jpg', '/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0001.jpg', '/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0002.jpg', '/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0003.jpg', '/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0000.jpg', '/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0000.jpg
/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0001.jpg
/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0002.jpg
/home/pi/Desktop/images/06012025/18/17/image_06012025_18_17_03_073311_0003.jpg
/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0000.jpg
/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_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":["1327008815","1327009015","1327009018","1327008855","1327008849","1327008998"],"photo_ids_order":["1327008815","1327008849","1327008855","1327008998","1327009015","1327009018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87aa5be04f92629a653dd9ba6dc06d60.jpg","text":"TemporaryFile(/tmp/multipartBody3288697640816588119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_17_03_073311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ed41a0d65848dddc9824463dfe03c94.jpg","text":"TemporaryFile(/tmp/multipartBody7749469636554718436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_18_02_196024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae0ea7392a28e17edbe834e06483dd88.jpg","text":"TemporaryFile(/tmp/multipartBody6630206551398282442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_18_02_196024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba6faf15d7bd2557c5f0def8197c612a.jpg","text":"TemporaryFile(/tmp/multipartBody4199020381533365564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_17_03_073311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a227fb57ee8d91680eef4c9933ada1e8.jpg","text":"TemporaryFile(/tmp/multipartBody6280499350403941723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_17_03_073311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5af4c75ae9f7d6967fdd73cc409c813.jpg","text":"TemporaryFile(/tmp/multipartBody2352981443319203917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185057440,"filename":"image_06012025_18_17_03_073311_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327008855","file1":"1327008849","file0":"1327008815","file4":"1327009015","file5":"1327009018","file3":"1327008998"},"map_files_photo_id_array":[{"photo_id":"1327009018","filename":"file5"},{"photo_id":"1327008855","filename":"file2"},{"photo_id":"1327009015","filename":"file4"},{"photo_id":"1327008849","filename":"file1"},{"photo_id":"1327008815","filename":"file0"},{"photo_id":"1327008998","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327008815":["hashtag1","hashtag2"]},{"1327009015":["hashtag1","hashtag2"]},{"1327009018":["hashtag1","hashtag2"]},{"1327008855":["hashtag1","hashtag2"]},{"1327008849":["hashtag1","hashtag2"]},{"1327008998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327008815, 1327009015, 1327009018, 1327008855, 1327008849, 1327008998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.724971532821655 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-06 18:37:32.515216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0002.jpg', '/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0003.jpg', '/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0000.jpg', '/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0001.jpg', '/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0002.jpg', '/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0002.jpg
/home/pi/Desktop/images/06012025/18/18/image_06012025_18_18_02_196024_0003.jpg
/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0000.jpg
/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0001.jpg
/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_0002.jpg
/home/pi/Desktop/images/06012025/18/19/image_06012025_18_19_02_421528_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":["1327009159","1327009069","1327009216","1327009122","1327009196","1327009058"],"photo_ids_order":["1327009058","1327009069","1327009122","1327009159","1327009196","1327009216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d173d95f42a676b1b85ecea5e0ce2e23.jpg","text":"TemporaryFile(/tmp/multipartBody19873191635574454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_19_02_421528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f7527587888380d1476c6ed3257ab64.jpg","text":"TemporaryFile(/tmp/multipartBody3894213254918207365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_18_02_196024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/beba497827a4ae4350d8d99870c38455.jpg","text":"TemporaryFile(/tmp/multipartBody3814514912075724783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_19_02_421528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45cf6337d50811931baa67cfe139bf99.jpg","text":"TemporaryFile(/tmp/multipartBody2346196316838814060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_19_02_421528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3adc165141faec68e46fe9cd84bbd174.jpg","text":"TemporaryFile(/tmp/multipartBody6303084970845320274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_19_02_421528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15331d567023ecba5f51e7b3ac44234f.jpg","text":"TemporaryFile(/tmp/multipartBody5312067078556893868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185127715,"filename":"image_06012025_18_18_02_196024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327009122","file1":"1327009069","file0":"1327009058","file4":"1327009196","file5":"1327009216","file3":"1327009159"},"map_files_photo_id_array":[{"photo_id":"1327009216","filename":"file5"},{"photo_id":"1327009122","filename":"file2"},{"photo_id":"1327009196","filename":"file4"},{"photo_id":"1327009069","filename":"file1"},{"photo_id":"1327009058","filename":"file0"},{"photo_id":"1327009159","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327009159":["hashtag1","hashtag2"]},{"1327009069":["hashtag1","hashtag2"]},{"1327009216":["hashtag1","hashtag2"]},{"1327009122":["hashtag1","hashtag2"]},{"1327009196":["hashtag1","hashtag2"]},{"1327009058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327009159, 1327009069, 1327009216, 1327009122, 1327009196, 1327009058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.892823934555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:38:32.852998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0000.jpg', '/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0001.jpg', '/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0002.jpg', '/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0003.jpg', '/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0000.jpg', '/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0000.jpg
/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0001.jpg
/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0002.jpg
/home/pi/Desktop/images/06012025/18/20/image_06012025_18_20_02_518487_0003.jpg
/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0000.jpg
/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_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":["1327009687","1327009651","1327009599","1327009566","1327009685","1327009568"],"photo_ids_order":["1327009566","1327009568","1327009599","1327009651","1327009685","1327009687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b42058bfa5be904b20e20cffc6a0e198.jpg","text":"TemporaryFile(/tmp/multipartBody6393739620315740727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_21_02_710250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a33dba24f943b29af06a87586e95fe7c.jpg","text":"TemporaryFile(/tmp/multipartBody2172193243508559925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_20_02_518487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fc74a58b70f819a8dc04c43a6361a60.jpg","text":"TemporaryFile(/tmp/multipartBody941730925978830612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_20_02_518487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be77ab6b6926e1b2d35a3ee90632890b.jpg","text":"TemporaryFile(/tmp/multipartBody6878257567023128811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_20_02_518487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/418e8e5c21926165aee0bc6271418322.jpg","text":"TemporaryFile(/tmp/multipartBody6004686844865092169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_21_02_710250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1cb068ebfe1bbd889055e16af8273be2.jpg","text":"TemporaryFile(/tmp/multipartBody1674009190252755549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185187177,"filename":"image_06012025_18_20_02_518487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327009599","file1":"1327009568","file0":"1327009566","file4":"1327009685","file5":"1327009687","file3":"1327009651"},"map_files_photo_id_array":[{"photo_id":"1327009687","filename":"file5"},{"photo_id":"1327009599","filename":"file2"},{"photo_id":"1327009685","filename":"file4"},{"photo_id":"1327009568","filename":"file1"},{"photo_id":"1327009566","filename":"file0"},{"photo_id":"1327009651","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327009687":["hashtag1","hashtag2"]},{"1327009651":["hashtag1","hashtag2"]},{"1327009599":["hashtag1","hashtag2"]},{"1327009566":["hashtag1","hashtag2"]},{"1327009685":["hashtag1","hashtag2"]},{"1327009568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327009687, 1327009651, 1327009599, 1327009566, 1327009685, 1327009568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.136775970458984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:39:31.904376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0002.jpg', '/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0003.jpg', '/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0000.jpg', '/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0002.jpg', '/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0003.jpg', '/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0002.jpg
/home/pi/Desktop/images/06012025/18/21/image_06012025_18_21_02_710250_0003.jpg
/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0000.jpg
/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0002.jpg
/home/pi/Desktop/images/06012025/18/22/image_06012025_18_22_02_857297_0003.jpg
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_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":["1327010261","1327009906","1327009896","1327009790","1327009961","1327010588"],"photo_ids_order":["1327009790","1327009896","1327009906","1327009961","1327010261","1327010588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d00d5d4d803ceb520bb59852291bb3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6678494653173871969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_22_02_857297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de0f6a854ab4ca21e2caf6c9b9b1e020.jpg","text":"TemporaryFile(/tmp/multipartBody3465168357245646508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_22_02_857297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca61a5b8233fb3504c4305099d9187da.jpg","text":"TemporaryFile(/tmp/multipartBody2457657137454337428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_21_02_710250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4df7961c64a5097ea7ccfea903b0699.jpg","text":"TemporaryFile(/tmp/multipartBody2637194246819073831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_21_02_710250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/21cdc8d46f93519deb3a33d4c9272f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7859382426912255725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_22_02_857297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1eb3837e4814bf2a94c92a4026e5b58d.jpg","text":"TemporaryFile(/tmp/multipartBody5710919469575884650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185246209,"filename":"image_06012025_18_23_03_055014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327009906","file1":"1327009896","file0":"1327009790","file4":"1327010261","file5":"1327010588","file3":"1327009961"},"map_files_photo_id_array":[{"photo_id":"1327010588","filename":"file5"},{"photo_id":"1327009906","filename":"file2"},{"photo_id":"1327010261","filename":"file4"},{"photo_id":"1327009896","filename":"file1"},{"photo_id":"1327009790","filename":"file0"},{"photo_id":"1327009961","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327010261":["hashtag1","hashtag2"]},{"1327009906":["hashtag1","hashtag2"]},{"1327009896":["hashtag1","hashtag2"]},{"1327009790":["hashtag1","hashtag2"]},{"1327009961":["hashtag1","hashtag2"]},{"1327010588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327010261, 1327009906, 1327009896, 1327009790, 1327009961, 1327010588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21772289276123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:40:32.136214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0001.jpg', '/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0002.jpg', '/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0003.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0000.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0001.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0001.jpg
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0002.jpg
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0003.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0000.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0001.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_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: 13.9112389087677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:40:52.113252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0001.jpg', '/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0002.jpg', '/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0003.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0000.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0001.jpg', '/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0001.jpg
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0002.jpg
/home/pi/Desktop/images/06012025/18/23/image_06012025_18_23_03_055014_0003.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0000.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_0001.jpg
/home/pi/Desktop/images/06012025/18/24/image_06012025_18_24_02_291115_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":["1327010942","1327010939","1327010935","1327010923","1327010931","1327010945"],"photo_ids_order":["1327010923","1327010931","1327010935","1327010939","1327010942","1327010945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afc843e95f3d0f763462859e500e64fe.jpg","text":"TemporaryFile(/tmp/multipartBody4132469057763291069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_24_02_291115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/089e6f426754e414ae76c9e4376a0c83.jpg","text":"TemporaryFile(/tmp/multipartBody2769367606613820628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_24_02_291115_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2d8cc3c2aeaf624fe980e4a70c00430.jpg","text":"TemporaryFile(/tmp/multipartBody5018412852515268723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_23_03_055014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6d1054256e21d3d25def5d2352014ff.jpg","text":"TemporaryFile(/tmp/multipartBody8943494109522320587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_23_03_055014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/69a1da08c76cf0d73a3ff8975aba8d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3471714709904975999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_23_03_055014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9b6a0a4012284e4cc498a79f1a5316c.jpg","text":"TemporaryFile(/tmp/multipartBody9047457135142084097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185326429,"filename":"image_06012025_18_24_02_291115_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327010935","file1":"1327010931","file0":"1327010923","file4":"1327010942","file5":"1327010945","file3":"1327010939"},"map_files_photo_id_array":[{"photo_id":"1327010945","filename":"file5"},{"photo_id":"1327010935","filename":"file2"},{"photo_id":"1327010942","filename":"file4"},{"photo_id":"1327010931","filename":"file1"},{"photo_id":"1327010923","filename":"file0"},{"photo_id":"1327010939","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327010942":["hashtag1","hashtag2"]},{"1327010939":["hashtag1","hashtag2"]},{"1327010935":["hashtag1","hashtag2"]},{"1327010923":["hashtag1","hashtag2"]},{"1327010931":["hashtag1","hashtag2"]},{"1327010945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327010942, 1327010939, 1327010935, 1327010923, 1327010931, 1327010945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90615630149841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 18:41:52.288489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0000.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0001.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0002.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0003.jpg', '/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0000.jpg', '/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0000.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0001.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0002.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0003.jpg
/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0000.jpg
/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_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.202481985092163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:42:22.534116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0000.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0001.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0002.jpg', '/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0003.jpg', '/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0000.jpg', '/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0000.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0001.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0002.jpg
/home/pi/Desktop/images/06012025/18/25/image_06012025_18_25_02_410713_0003.jpg
/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0000.jpg
/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_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":["1327011136","1327011511","1327011144","1327011467","1327011140","1327011134"],"photo_ids_order":["1327011134","1327011136","1327011140","1327011144","1327011467","1327011511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fcd468e649eb96ab61a7735d56fe9e6.jpg","text":"TemporaryFile(/tmp/multipartBody722924802060116588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_25_02_410713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fe3629a12a3d5b8019e46f4e836059f8.jpg","text":"TemporaryFile(/tmp/multipartBody4456706314379654784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_26_02_662348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67a422d5eda1501bd1204f84c12e5cd9.jpg","text":"TemporaryFile(/tmp/multipartBody9022664604040286891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_25_02_410713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4339b54ed51a5a233942d6ce8c11174c.jpg","text":"TemporaryFile(/tmp/multipartBody7704048370311994771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_26_02_662348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8c4076774a05b5075a52e74690498a1.jpg","text":"TemporaryFile(/tmp/multipartBody8100621249638270190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_25_02_410713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6010e4256e6f1d72b8b078fdae1616ae.jpg","text":"TemporaryFile(/tmp/multipartBody7062354070956393837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185417128,"filename":"image_06012025_18_25_02_410713_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011140","file1":"1327011136","file0":"1327011134","file4":"1327011467","file5":"1327011511","file3":"1327011144"},"map_files_photo_id_array":[{"photo_id":"1327011511","filename":"file5"},{"photo_id":"1327011140","filename":"file2"},{"photo_id":"1327011467","filename":"file4"},{"photo_id":"1327011136","filename":"file1"},{"photo_id":"1327011134","filename":"file0"},{"photo_id":"1327011144","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011136":["hashtag1","hashtag2"]},{"1327011511":["hashtag1","hashtag2"]},{"1327011144":["hashtag1","hashtag2"]},{"1327011467":["hashtag1","hashtag2"]},{"1327011140":["hashtag1","hashtag2"]},{"1327011134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011136, 1327011511, 1327011144, 1327011467, 1327011140, 1327011134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82090353965759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:43:22.735388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0002.jpg', '/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0000.jpg', '/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0001.jpg', '/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0003.jpg', '/home/pi/Desktop/images/06012025/18/28/image_06012025_18_28_02_961425_0002.jpg', '/home/pi/Desktop/images/06012025/18/28/image_06012025_18_28_02_961425_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/26/image_06012025_18_26_02_662348_0002.jpg
/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0000.jpg
/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0001.jpg
/home/pi/Desktop/images/06012025/18/27/image_06012025_18_27_02_769212_0003.jpg
/home/pi/Desktop/images/06012025/18/28/image_06012025_18_28_02_961425_0002.jpg
/home/pi/Desktop/images/06012025/18/28/image_06012025_18_28_02_961425_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":["1327011577","1327011573","1327011567","1327011570","1327011575","1327011580"],"photo_ids_order":["1327011567","1327011570","1327011573","1327011575","1327011577","1327011580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e235e538608f30b07e76cd4355b4925.jpg","text":"TemporaryFile(/tmp/multipartBody2303111731537076359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_28_02_961425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6c75fac3e40f4985d7ea138e8b8d913.jpg","text":"TemporaryFile(/tmp/multipartBody4455725721685317780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_27_02_769212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e274bdf953b0727af6fcc2dd71f77ec.jpg","text":"TemporaryFile(/tmp/multipartBody162939470722896969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_26_02_662348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ecbfb86ce94f38ef02fdf9bef3ab7c3.jpg","text":"TemporaryFile(/tmp/multipartBody5976998993014640942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_27_02_769212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20b43948d0991c068cffa12ddafde517.jpg","text":"TemporaryFile(/tmp/multipartBody3792489691420626231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_27_02_769212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8662dc6f4112581582e2a395f36a192c.jpg","text":"TemporaryFile(/tmp/multipartBody1876796755217597757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185477108,"filename":"image_06012025_18_28_02_961425_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011573","file1":"1327011570","file0":"1327011567","file4":"1327011577","file5":"1327011580","file3":"1327011575"},"map_files_photo_id_array":[{"photo_id":"1327011580","filename":"file5"},{"photo_id":"1327011573","filename":"file2"},{"photo_id":"1327011577","filename":"file4"},{"photo_id":"1327011570","filename":"file1"},{"photo_id":"1327011567","filename":"file0"},{"photo_id":"1327011575","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011577":["hashtag1","hashtag2"]},{"1327011573":["hashtag1","hashtag2"]},{"1327011567":["hashtag1","hashtag2"]},{"1327011570":["hashtag1","hashtag2"]},{"1327011575":["hashtag1","hashtag2"]},{"1327011580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011577, 1327011573, 1327011567, 1327011570, 1327011575, 1327011580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.596161127090454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:44:21.916726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0000.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0001.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0002.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0003.jpg', '/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0000.jpg', '/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0000.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0001.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0002.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0003.jpg
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0000.jpg
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_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.857001781463623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:44:41.824055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0000.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0001.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0002.jpg', '/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0003.jpg', '/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0000.jpg', '/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0000.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0001.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0002.jpg
/home/pi/Desktop/images/06012025/18/29/image_06012025_18_29_02_164846_0003.jpg
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0000.jpg
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_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":["1327011823","1327011783","1327011825","1327011827","1327011790","1327011787"],"photo_ids_order":["1327011783","1327011787","1327011790","1327011823","1327011825","1327011827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b64c678a8b146af67a3b7f5e42ea8e51.jpg","text":"TemporaryFile(/tmp/multipartBody1674906599380811507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_29_02_164846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36a42239bba0709098a383aadaa4d202.jpg","text":"TemporaryFile(/tmp/multipartBody2722476517317640843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_29_02_164846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18dc0325b33762502c9e5973ffc2ab79.jpg","text":"TemporaryFile(/tmp/multipartBody3536822733480131883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_30_02_408584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f40366b5233b27e956d5d9db881b6ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4245281027590608470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_30_02_408584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/61616b91e31a521e4274e1a99bfb49fb.jpg","text":"TemporaryFile(/tmp/multipartBody6365322073979114662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_29_02_164846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/660d3363afd3385a54118d499f64fb8a.jpg","text":"TemporaryFile(/tmp/multipartBody291064815291099503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185557070,"filename":"image_06012025_18_29_02_164846_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011790","file1":"1327011787","file0":"1327011783","file4":"1327011825","file5":"1327011827","file3":"1327011823"},"map_files_photo_id_array":[{"photo_id":"1327011827","filename":"file5"},{"photo_id":"1327011790","filename":"file2"},{"photo_id":"1327011825","filename":"file4"},{"photo_id":"1327011787","filename":"file1"},{"photo_id":"1327011783","filename":"file0"},{"photo_id":"1327011823","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011823":["hashtag1","hashtag2"]},{"1327011783":["hashtag1","hashtag2"]},{"1327011825":["hashtag1","hashtag2"]},{"1327011827":["hashtag1","hashtag2"]},{"1327011790":["hashtag1","hashtag2"]},{"1327011787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011823, 1327011783, 1327011825, 1327011827, 1327011790, 1327011787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60704469680786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:45:42.028221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0002.jpg', '/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0003.jpg', '/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0000.jpg', '/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0001.jpg', '/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0002.jpg', '/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0002.jpg
/home/pi/Desktop/images/06012025/18/30/image_06012025_18_30_02_408584_0003.jpg
/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0000.jpg
/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0001.jpg
/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_0002.jpg
/home/pi/Desktop/images/06012025/18/31/image_06012025_18_31_02_567356_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":["1327011844","1327011847","1327011849","1327011851","1327011854","1327011842"],"photo_ids_order":["1327011842","1327011844","1327011847","1327011849","1327011851","1327011854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/448072459cc12da21472e962eab05c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1303779369647017223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_30_02_408584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da616c0ff21c68b7d97a0fc57b54bca9.jpg","text":"TemporaryFile(/tmp/multipartBody5147066474379288886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_31_02_567356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edd1e8fb9e52b80df842f0dc57cfe8ca.jpg","text":"TemporaryFile(/tmp/multipartBody1302108453507855411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_31_02_567356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a20b8d46c475626a70fc07da7f8837dc.jpg","text":"TemporaryFile(/tmp/multipartBody7374376055450087811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_31_02_567356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18b635fa7e7a1d2d44f49b43cddfdb71.jpg","text":"TemporaryFile(/tmp/multipartBody1044342289256688500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_31_02_567356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87a66f4afa5647b329026415400ae921.jpg","text":"TemporaryFile(/tmp/multipartBody7659156150406424091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185617126,"filename":"image_06012025_18_30_02_408584_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011847","file1":"1327011844","file0":"1327011842","file4":"1327011851","file5":"1327011854","file3":"1327011849"},"map_files_photo_id_array":[{"photo_id":"1327011854","filename":"file5"},{"photo_id":"1327011847","filename":"file2"},{"photo_id":"1327011851","filename":"file4"},{"photo_id":"1327011844","filename":"file1"},{"photo_id":"1327011842","filename":"file0"},{"photo_id":"1327011849","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011844":["hashtag1","hashtag2"]},{"1327011847":["hashtag1","hashtag2"]},{"1327011849":["hashtag1","hashtag2"]},{"1327011851":["hashtag1","hashtag2"]},{"1327011854":["hashtag1","hashtag2"]},{"1327011842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011844, 1327011847, 1327011849, 1327011851, 1327011854, 1327011842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.701858043670654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:46:42.299863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0000.jpg', '/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0001.jpg', '/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0002.jpg', '/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0003.jpg', '/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_0000.jpg', '/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0000.jpg
/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0001.jpg
/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0002.jpg
/home/pi/Desktop/images/06012025/18/32/image_06012025_18_32_02_688943_0003.jpg
/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_0000.jpg
/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_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":["1327011889","1327011904","1327011907","1327011885","1327011896","1327011902"],"photo_ids_order":["1327011885","1327011889","1327011896","1327011902","1327011904","1327011907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4228649fa4c417267b75129f0b84df2.jpg","text":"TemporaryFile(/tmp/multipartBody7733286634068770625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_32_02_688943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db76d23c928e8f8c7fd59f11d3e7fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody8219129974854666510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_33_02_936424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4fdd7cbaa1f9e2ff246037da0330c44.jpg","text":"TemporaryFile(/tmp/multipartBody98810689056335792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_33_02_936424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5db14651b1955d778a7b28878ffcdb1e.jpg","text":"TemporaryFile(/tmp/multipartBody990984994932343997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_32_02_688943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e7167c3a2b4ee2eecf29c7132f33a51.jpg","text":"TemporaryFile(/tmp/multipartBody3132512224527933628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_32_02_688943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e06566cbfd86e94e584a82a15c9df8a0.jpg","text":"TemporaryFile(/tmp/multipartBody4254867942066770929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185677393,"filename":"image_06012025_18_32_02_688943_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011896","file1":"1327011889","file0":"1327011885","file4":"1327011904","file5":"1327011907","file3":"1327011902"},"map_files_photo_id_array":[{"photo_id":"1327011907","filename":"file5"},{"photo_id":"1327011896","filename":"file2"},{"photo_id":"1327011904","filename":"file4"},{"photo_id":"1327011889","filename":"file1"},{"photo_id":"1327011885","filename":"file0"},{"photo_id":"1327011902","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011889":["hashtag1","hashtag2"]},{"1327011904":["hashtag1","hashtag2"]},{"1327011907":["hashtag1","hashtag2"]},{"1327011885":["hashtag1","hashtag2"]},{"1327011896":["hashtag1","hashtag2"]},{"1327011902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011889, 1327011904, 1327011907, 1327011885, 1327011896, 1327011902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.039557456970215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:47:42.499690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_0002.jpg', '/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0001.jpg', '/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0002.jpg', '/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0003.jpg', '/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_0000.jpg', '/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/33/image_06012025_18_33_02_936424_0002.jpg
/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0001.jpg
/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0002.jpg
/home/pi/Desktop/images/06012025/18/34/image_06012025_18_34_03_038894_0003.jpg
/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_0000.jpg
/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_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":["1327011961","1327011955","1327011957","1327011921","1327011924","1327011926"],"photo_ids_order":["1327011921","1327011924","1327011926","1327011955","1327011957","1327011961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6eda666f2daeae31e2e249d5d80fed32.jpg","text":"TemporaryFile(/tmp/multipartBody1760270360465544222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_35_02_167727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60f32de4f8d2c6273f2cd55ac78b9473.jpg","text":"TemporaryFile(/tmp/multipartBody3625600968039920493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_34_03_038894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37b580832cc3069a8ab6ea5219c6885a.jpg","text":"TemporaryFile(/tmp/multipartBody1443677426744172372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_35_02_167727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd34f44914e00115b1e31ec0fe058acf.jpg","text":"TemporaryFile(/tmp/multipartBody7423097953170468047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_33_02_936424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7740694dadab158c5807edeb6701c02c.jpg","text":"TemporaryFile(/tmp/multipartBody7825957086306980288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_34_03_038894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e49c4772835bc32a502901b9eccce4c.jpg","text":"TemporaryFile(/tmp/multipartBody4933552385067623885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185737298,"filename":"image_06012025_18_34_03_038894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327011926","file1":"1327011924","file0":"1327011921","file4":"1327011957","file5":"1327011961","file3":"1327011955"},"map_files_photo_id_array":[{"photo_id":"1327011961","filename":"file5"},{"photo_id":"1327011926","filename":"file2"},{"photo_id":"1327011957","filename":"file4"},{"photo_id":"1327011924","filename":"file1"},{"photo_id":"1327011921","filename":"file0"},{"photo_id":"1327011955","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327011961":["hashtag1","hashtag2"]},{"1327011955":["hashtag1","hashtag2"]},{"1327011957":["hashtag1","hashtag2"]},{"1327011921":["hashtag1","hashtag2"]},{"1327011924":["hashtag1","hashtag2"]},{"1327011926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327011961, 1327011955, 1327011957, 1327011921, 1327011924, 1327011926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81494617462158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:48:42.632707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_0003.jpg', '/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0000.jpg', '/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0001.jpg', '/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0002.jpg', '/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0003.jpg', '/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/35/image_06012025_18_35_02_167727_0003.jpg
/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0000.jpg
/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0001.jpg
/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0002.jpg
/home/pi/Desktop/images/06012025/18/36/image_06012025_18_36_02_372640_0003.jpg
/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_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":["1327012135","1327012131","1327012137","1327012142","1327012130","1327012133"],"photo_ids_order":["1327012130","1327012131","1327012133","1327012135","1327012137","1327012142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc1f5f84f1f717e3640b09ab37cc165f.jpg","text":"TemporaryFile(/tmp/multipartBody5537689144998112840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_36_02_372640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e60956b6dc5821800448937dea672ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6512982991359393591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_36_02_372640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/174ec5a00a6ea02048394ce4fc6affdd.jpg","text":"TemporaryFile(/tmp/multipartBody4818009115011936443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_36_02_372640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce3501b2cfa5d838c3a0bf7c8f2346c4.jpg","text":"TemporaryFile(/tmp/multipartBody6761146587796146320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_37_02_523362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b3afc58717de9ca1e029cecd2e1b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody6064761313557357862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_35_02_167727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a3918640cd714e4bb647f59566a36a4.jpg","text":"TemporaryFile(/tmp/multipartBody5495049182134531363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185797778,"filename":"image_06012025_18_36_02_372640_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012133","file1":"1327012131","file0":"1327012130","file4":"1327012137","file5":"1327012142","file3":"1327012135"},"map_files_photo_id_array":[{"photo_id":"1327012142","filename":"file5"},{"photo_id":"1327012133","filename":"file2"},{"photo_id":"1327012137","filename":"file4"},{"photo_id":"1327012131","filename":"file1"},{"photo_id":"1327012130","filename":"file0"},{"photo_id":"1327012135","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012135":["hashtag1","hashtag2"]},{"1327012131":["hashtag1","hashtag2"]},{"1327012137":["hashtag1","hashtag2"]},{"1327012142":["hashtag1","hashtag2"]},{"1327012130":["hashtag1","hashtag2"]},{"1327012133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012135, 1327012131, 1327012137, 1327012142, 1327012130, 1327012133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.34434962272644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:49:41.819961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0001.jpg', '/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0002.jpg', '/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0003.jpg', '/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0000.jpg', '/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0001.jpg', '/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0001.jpg
/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0002.jpg
/home/pi/Desktop/images/06012025/18/37/image_06012025_18_37_02_523362_0003.jpg
/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0000.jpg
/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0001.jpg
/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_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":["1327012170","1327012172","1327012169","1327012160","1327012178","1327012174"],"photo_ids_order":["1327012160","1327012169","1327012170","1327012172","1327012174","1327012178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6d2b31dca5eb089acbe4ccd5c43f76e.jpg","text":"TemporaryFile(/tmp/multipartBody7963018712980091068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_37_02_523362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e310824a29bdf0666345a60c5a878245.jpg","text":"TemporaryFile(/tmp/multipartBody2490939798789924422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_38_03_005072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71519d8cce28b76333e3dacf7cc5df2e.jpg","text":"TemporaryFile(/tmp/multipartBody8209442070902893152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_37_02_523362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9c934f7d07237f203d928724b863e47d.jpg","text":"TemporaryFile(/tmp/multipartBody4088541810027251933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_37_02_523362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf7cdb79f73c3e6ea7ba461dcae65e29.jpg","text":"TemporaryFile(/tmp/multipartBody1027402637938920150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_38_03_005072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b91a666b6e44fed208360262979f1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5808347279338926160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185857006,"filename":"image_06012025_18_38_03_005072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012170","file1":"1327012169","file0":"1327012160","file4":"1327012174","file5":"1327012178","file3":"1327012172"},"map_files_photo_id_array":[{"photo_id":"1327012178","filename":"file5"},{"photo_id":"1327012170","filename":"file2"},{"photo_id":"1327012174","filename":"file4"},{"photo_id":"1327012169","filename":"file1"},{"photo_id":"1327012160","filename":"file0"},{"photo_id":"1327012172","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012170":["hashtag1","hashtag2"]},{"1327012172":["hashtag1","hashtag2"]},{"1327012169":["hashtag1","hashtag2"]},{"1327012160":["hashtag1","hashtag2"]},{"1327012178":["hashtag1","hashtag2"]},{"1327012174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012170, 1327012172, 1327012169, 1327012160, 1327012178, 1327012174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.016332387924194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:50:41.937393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0003.jpg', '/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0000.jpg', '/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0001.jpg', '/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0002.jpg', '/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0003.jpg', '/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/38/image_06012025_18_38_03_005072_0003.jpg
/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0000.jpg
/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0001.jpg
/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0002.jpg
/home/pi/Desktop/images/06012025/18/39/image_06012025_18_39_03_071975_0003.jpg
/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_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":["1327012207","1327012197","1327012212","1327012200","1327012202","1327012198"],"photo_ids_order":["1327012197","1327012198","1327012200","1327012202","1327012207","1327012212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7f8022a8c623ba112a99c95fec9835b4.jpg","text":"TemporaryFile(/tmp/multipartBody5540058643137988538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_39_03_071975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/323c58c55a79c499108aaefbfb3ec4da.jpg","text":"TemporaryFile(/tmp/multipartBody1206726931113763712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_38_03_005072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3fc6ce9cf28628a2db5ad060dcdf112f.jpg","text":"TemporaryFile(/tmp/multipartBody5960046823189529323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_40_02_245353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc6ab21cde994eb543b42bc18b248ee7.jpg","text":"TemporaryFile(/tmp/multipartBody9198317296987896921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_39_03_071975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d67641fed6506f19d7e6642c0808a69.jpg","text":"TemporaryFile(/tmp/multipartBody7739017589313867866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_39_03_071975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/493b3c9ccdaea83de48316802e42812b.jpg","text":"TemporaryFile(/tmp/multipartBody5532130129835407016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185917095,"filename":"image_06012025_18_39_03_071975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012200","file1":"1327012198","file0":"1327012197","file4":"1327012207","file5":"1327012212","file3":"1327012202"},"map_files_photo_id_array":[{"photo_id":"1327012212","filename":"file5"},{"photo_id":"1327012200","filename":"file2"},{"photo_id":"1327012207","filename":"file4"},{"photo_id":"1327012198","filename":"file1"},{"photo_id":"1327012197","filename":"file0"},{"photo_id":"1327012202","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012207":["hashtag1","hashtag2"]},{"1327012197":["hashtag1","hashtag2"]},{"1327012212":["hashtag1","hashtag2"]},{"1327012200":["hashtag1","hashtag2"]},{"1327012202":["hashtag1","hashtag2"]},{"1327012198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012207, 1327012197, 1327012212, 1327012200, 1327012202, 1327012198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.89474964141846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:51:42.237622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0001.jpg', '/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0002.jpg', '/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0003.jpg', '/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0000.jpg', '/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0001.jpg', '/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0001.jpg
/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0002.jpg
/home/pi/Desktop/images/06012025/18/40/image_06012025_18_40_02_245353_0003.jpg
/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0000.jpg
/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0001.jpg
/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_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":["1327012435","1327012287","1327012368","1327012425","1327012421","1327012288"],"photo_ids_order":["1327012287","1327012288","1327012368","1327012421","1327012425","1327012435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ece7c8b82bc8d177645c9062e77356a0.jpg","text":"TemporaryFile(/tmp/multipartBody2802849484167110523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_41_02_521260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/369269768c29fd50d7ad7353241acf32.jpg","text":"TemporaryFile(/tmp/multipartBody8890418005229093565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_40_02_245353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a37e0ad0149024ecd293efa787f93f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1659216046453990757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_40_02_245353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56204efa0011e257a56fd99161228c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1287824748801778843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_41_02_521260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76afbabd2ce98681c980bf4b922dc023.jpg","text":"TemporaryFile(/tmp/multipartBody9209161175231623248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_41_02_521260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6097d180ed12ee4dc66aca5f07deba70.jpg","text":"TemporaryFile(/tmp/multipartBody426607069483133260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736185977298,"filename":"image_06012025_18_40_02_245353_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012368","file1":"1327012288","file0":"1327012287","file4":"1327012425","file5":"1327012435","file3":"1327012421"},"map_files_photo_id_array":[{"photo_id":"1327012435","filename":"file5"},{"photo_id":"1327012368","filename":"file2"},{"photo_id":"1327012425","filename":"file4"},{"photo_id":"1327012288","filename":"file1"},{"photo_id":"1327012287","filename":"file0"},{"photo_id":"1327012421","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012435":["hashtag1","hashtag2"]},{"1327012287":["hashtag1","hashtag2"]},{"1327012368":["hashtag1","hashtag2"]},{"1327012425":["hashtag1","hashtag2"]},{"1327012421":["hashtag1","hashtag2"]},{"1327012288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012435, 1327012287, 1327012368, 1327012425, 1327012421, 1327012288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.323689699172974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 18:52:42.393892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0003.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0000.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0001.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0002.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0003.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0003.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0000.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0001.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0002.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0003.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0000.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.746999740600586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 18:53:03.264469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0003.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0000.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0001.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0002.jpg', '/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0003.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/41/image_06012025_18_41_02_521260_0003.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0000.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0001.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0002.jpg
/home/pi/Desktop/images/06012025/18/42/image_06012025_18_42_02_680647_0003.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_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":["1327012504","1327012507","1327012455","1327012502","1327012459","1327012450"],"photo_ids_order":["1327012450","1327012455","1327012459","1327012502","1327012504","1327012507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/81dc67777d163770674c68a1f1a17535.jpg","text":"TemporaryFile(/tmp/multipartBody2902987714934162907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_42_02_680647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/655ddf44562db7d9bc6f1d2d7f931a75.jpg","text":"TemporaryFile(/tmp/multipartBody405695173151909520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_43_02_904066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cfbe67cfe1e2251dd53b2d5838c2525c.jpg","text":"TemporaryFile(/tmp/multipartBody5473046082097808320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_42_02_680647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7b695dfe2f65f781506821cb6cc42f7.jpg","text":"TemporaryFile(/tmp/multipartBody8047925604987056893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_42_02_680647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b16093584628a7b2f3c4ae9cdd40af9c.jpg","text":"TemporaryFile(/tmp/multipartBody1188029288595778521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_42_02_680647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/118fdfe01444fbe7a7fdde552f1155af.jpg","text":"TemporaryFile(/tmp/multipartBody7758774952363735091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186058475,"filename":"image_06012025_18_41_02_521260_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012459","file1":"1327012455","file0":"1327012450","file4":"1327012504","file5":"1327012507","file3":"1327012502"},"map_files_photo_id_array":[{"photo_id":"1327012507","filename":"file5"},{"photo_id":"1327012459","filename":"file2"},{"photo_id":"1327012504","filename":"file4"},{"photo_id":"1327012455","filename":"file1"},{"photo_id":"1327012450","filename":"file0"},{"photo_id":"1327012502","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012504":["hashtag1","hashtag2"]},{"1327012507":["hashtag1","hashtag2"]},{"1327012455":["hashtag1","hashtag2"]},{"1327012502":["hashtag1","hashtag2"]},{"1327012459":["hashtag1","hashtag2"]},{"1327012450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012504, 1327012507, 1327012455, 1327012502, 1327012459, 1327012450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.981773138046265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 18:54:02.264142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0001.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0002.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0003.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0000.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0001.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0001.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0002.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0003.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0000.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0001.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_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.71391749382019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:54:21.926909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0001.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0002.jpg', '/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0003.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0000.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0001.jpg', '/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0001.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0002.jpg
/home/pi/Desktop/images/06012025/18/43/image_06012025_18_43_02_904066_0003.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0000.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0001.jpg
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_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":["1327012531","1327012530","1327012524","1327012532","1327012526","1327012529"],"photo_ids_order":["1327012524","1327012526","1327012529","1327012530","1327012531","1327012532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d503a7bb3485737359fca15f5ee8a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8279944498089062198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_44_03_040378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8be08eb28cb12c34e66722588b0d5298.jpg","text":"TemporaryFile(/tmp/multipartBody8119209525214637272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_44_03_040378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5ffa9fcd348f453b513f4bbe7c4bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody2372046857255294281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_43_02_904066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0ee2d86dcec25cb2f71930cdee010a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4619359881988039371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_44_03_040378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e972bc4763c400dda622c9098ec6c750.jpg","text":"TemporaryFile(/tmp/multipartBody1914780455598885383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_43_02_904066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d8e24570588b6d881f5c28af45e119ce.jpg","text":"TemporaryFile(/tmp/multipartBody284998769594033450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186137001,"filename":"image_06012025_18_43_02_904066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012529","file1":"1327012526","file0":"1327012524","file4":"1327012531","file5":"1327012532","file3":"1327012530"},"map_files_photo_id_array":[{"photo_id":"1327012532","filename":"file5"},{"photo_id":"1327012529","filename":"file2"},{"photo_id":"1327012531","filename":"file4"},{"photo_id":"1327012526","filename":"file1"},{"photo_id":"1327012524","filename":"file0"},{"photo_id":"1327012530","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012531":["hashtag1","hashtag2"]},{"1327012530":["hashtag1","hashtag2"]},{"1327012524":["hashtag1","hashtag2"]},{"1327012532":["hashtag1","hashtag2"]},{"1327012526":["hashtag1","hashtag2"]},{"1327012529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012531, 1327012530, 1327012524, 1327012532, 1327012526, 1327012529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7280170917511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:55:22.007192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0003.jpg', '/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0000.jpg', '/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0001.jpg', '/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0002.jpg', '/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0003.jpg', '/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/44/image_06012025_18_44_03_040378_0003.jpg
/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0000.jpg
/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0001.jpg
/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0002.jpg
/home/pi/Desktop/images/06012025/18/45/image_06012025_18_45_02_214721_0003.jpg
/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_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":["1327012552","1327012578","1327012575","1327012565","1327012568","1327012567"],"photo_ids_order":["1327012552","1327012565","1327012567","1327012568","1327012575","1327012578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d34f1769c87ce4873940bdda6d19a59.jpg","text":"TemporaryFile(/tmp/multipartBody2408955262468265021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_44_03_040378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46ce720ddc0f80249b05af1a9133ff24.jpg","text":"TemporaryFile(/tmp/multipartBody6570087912829437681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_46_02_427110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09d72ee8c5e4c9a0c427ab536ca0295a.jpg","text":"TemporaryFile(/tmp/multipartBody117974527693639495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_45_02_214721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/978bc194ab773e962dbc46fd5159f575.jpg","text":"TemporaryFile(/tmp/multipartBody1623349741240554361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_45_02_214721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a899d020222816c2078786ea1b6f978.jpg","text":"TemporaryFile(/tmp/multipartBody5735327900278377559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_45_02_214721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30ee00bef6a0bbcc6f9c6ff08dc456f6.jpg","text":"TemporaryFile(/tmp/multipartBody201560997555011147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186197080,"filename":"image_06012025_18_45_02_214721_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012567","file1":"1327012565","file0":"1327012552","file4":"1327012575","file5":"1327012578","file3":"1327012568"},"map_files_photo_id_array":[{"photo_id":"1327012578","filename":"file5"},{"photo_id":"1327012567","filename":"file2"},{"photo_id":"1327012575","filename":"file4"},{"photo_id":"1327012565","filename":"file1"},{"photo_id":"1327012552","filename":"file0"},{"photo_id":"1327012568","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012552":["hashtag1","hashtag2"]},{"1327012578":["hashtag1","hashtag2"]},{"1327012575":["hashtag1","hashtag2"]},{"1327012565":["hashtag1","hashtag2"]},{"1327012568":["hashtag1","hashtag2"]},{"1327012567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012552, 1327012578, 1327012575, 1327012565, 1327012568, 1327012567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.833510398864746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:56:22.222339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0001.jpg', '/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0002.jpg', '/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0003.jpg', '/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0000.jpg', '/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0001.jpg', '/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0001.jpg
/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0002.jpg
/home/pi/Desktop/images/06012025/18/46/image_06012025_18_46_02_427110_0003.jpg
/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0000.jpg
/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0001.jpg
/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_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":["1327012671","1327012665","1327012638","1327012667","1327012604","1327012669"],"photo_ids_order":["1327012604","1327012638","1327012665","1327012667","1327012669","1327012671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d47d7bf4566a13ccb61f42fd377afa16.jpg","text":"TemporaryFile(/tmp/multipartBody202113799047277033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_47_02_640444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93865f1694ae0a2ed7e3911d046ac975.jpg","text":"TemporaryFile(/tmp/multipartBody6782912822626575205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_46_02_427110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce5048a0df70aaa222cdf0e3a7fd289c.jpg","text":"TemporaryFile(/tmp/multipartBody7727772469571310245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_46_02_427110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f31b1465bddba8d8c864fc7cf1de6369.jpg","text":"TemporaryFile(/tmp/multipartBody7238674483253281739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_47_02_640444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/465b98f47a8b76a161dbfe91c733b2bb.jpg","text":"TemporaryFile(/tmp/multipartBody6590254481929475611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_46_02_427110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d645e043396a6c3a0024ec1ab770a5f1.jpg","text":"TemporaryFile(/tmp/multipartBody4821882518203076113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186257178,"filename":"image_06012025_18_47_02_640444_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012665","file1":"1327012638","file0":"1327012604","file4":"1327012669","file5":"1327012671","file3":"1327012667"},"map_files_photo_id_array":[{"photo_id":"1327012671","filename":"file5"},{"photo_id":"1327012665","filename":"file2"},{"photo_id":"1327012669","filename":"file4"},{"photo_id":"1327012638","filename":"file1"},{"photo_id":"1327012604","filename":"file0"},{"photo_id":"1327012667","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327012671":["hashtag1","hashtag2"]},{"1327012665":["hashtag1","hashtag2"]},{"1327012638":["hashtag1","hashtag2"]},{"1327012667":["hashtag1","hashtag2"]},{"1327012604":["hashtag1","hashtag2"]},{"1327012669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327012671, 1327012665, 1327012638, 1327012667, 1327012604, 1327012669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.04484438896179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 18:57:22.531373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0003.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0000.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0001.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0002.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0003.jpg', '/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0003.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0000.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0001.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0002.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0003.jpg
/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_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-06 18:59:02.412966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0003.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0000.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0001.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0002.jpg', '/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0003.jpg', '/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/47/image_06012025_18_47_02_640444_0003.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0000.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0001.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0002.jpg
/home/pi/Desktop/images/06012025/18/48/image_06012025_18_48_02_853155_0003.jpg
/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_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":["1327013216","1327012736","1327013338","1327012846","1327012747","1327012741"],"photo_ids_order":["1327012736","1327012741","1327012747","1327012846","1327013216","1327013338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/addac4890d98334af521b2404860b73a.jpg","text":"TemporaryFile(/tmp/multipartBody9009988770339267664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_48_02_853155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5da068444ff8a5979abe7b8beea43e18.jpg","text":"TemporaryFile(/tmp/multipartBody1267556275996246734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_47_02_640444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b62f4dd3804e78556755addd7021678.jpg","text":"TemporaryFile(/tmp/multipartBody1289484345338166201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_49_02_959852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c1390ad4ba67406bff24ca29c5d249e.jpg","text":"TemporaryFile(/tmp/multipartBody3467455331196620268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_48_02_853155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/37e97ed254c14166ce1b91d720991930.jpg","text":"TemporaryFile(/tmp/multipartBody3118741532093793992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_48_02_853155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/741809e44e0fde92c20cc41774bb1a19.jpg","text":"TemporaryFile(/tmp/multipartBody861569792582640018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186417640,"filename":"image_06012025_18_48_02_853155_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327012747","file1":"1327012741","file0":"1327012736","file4":"1327013216","file5":"1327013338","file3":"1327012846"},"map_files_photo_id_array":[{"photo_id":"1327013338","filename":"file5"},{"photo_id":"1327012747","filename":"file2"},{"photo_id":"1327013216","filename":"file4"},{"photo_id":"1327012741","filename":"file1"},{"photo_id":"1327012736","filename":"file0"},{"photo_id":"1327012846","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327013216":["hashtag1","hashtag2"]},{"1327012736":["hashtag1","hashtag2"]},{"1327013338":["hashtag1","hashtag2"]},{"1327012846":["hashtag1","hashtag2"]},{"1327012747":["hashtag1","hashtag2"]},{"1327012741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327013216, 1327012736, 1327013338, 1327012846, 1327012747, 1327012741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61254119873047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:00:02.355447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0001.jpg', '/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0002.jpg', '/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0003.jpg', '/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0000.jpg', '/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0001.jpg', '/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0001.jpg
/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0002.jpg
/home/pi/Desktop/images/06012025/18/49/image_06012025_18_49_02_959852_0003.jpg
/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0000.jpg
/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0001.jpg
/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_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":["1327014011","1327013549","1327014271","1327013534","1327013641","1327013496"],"photo_ids_order":["1327013496","1327013534","1327013549","1327013641","1327014011","1327014271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5da36636bf20c91240c29ecea9b7445f.jpg","text":"TemporaryFile(/tmp/multipartBody3255364004933391930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_50_02_176445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f6177d8c8ada337bd55c941b8a6f1968.jpg","text":"TemporaryFile(/tmp/multipartBody513466183892770395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_49_02_959852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66b7ac49a3405481d9cd5ec56363c816.jpg","text":"TemporaryFile(/tmp/multipartBody8753834341411667621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_50_02_176445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1da91450cf7698af933d87cd2414b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6217248222228251283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_49_02_959852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad2f3fdeb383ff239ffbddd7507182d8.jpg","text":"TemporaryFile(/tmp/multipartBody3339639518840392024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_50_02_176445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f14308efd62c29f51b7b2d3d3ecbbc04.jpg","text":"TemporaryFile(/tmp/multipartBody3142413960065682373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186477470,"filename":"image_06012025_18_49_02_959852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327013549","file1":"1327013534","file0":"1327013496","file4":"1327014011","file5":"1327014271","file3":"1327013641"},"map_files_photo_id_array":[{"photo_id":"1327014271","filename":"file5"},{"photo_id":"1327013549","filename":"file2"},{"photo_id":"1327014011","filename":"file4"},{"photo_id":"1327013534","filename":"file1"},{"photo_id":"1327013496","filename":"file0"},{"photo_id":"1327013641","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327014011":["hashtag1","hashtag2"]},{"1327013549":["hashtag1","hashtag2"]},{"1327014271":["hashtag1","hashtag2"]},{"1327013534":["hashtag1","hashtag2"]},{"1327013641":["hashtag1","hashtag2"]},{"1327013496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327014011, 1327013549, 1327014271, 1327013534, 1327013641, 1327013496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.449706077575684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:01:02.639613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0003.jpg', '/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0000.jpg', '/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0001.jpg', '/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0002.jpg', '/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0003.jpg', '/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/50/image_06012025_18_50_02_176445_0003.jpg
/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0000.jpg
/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0001.jpg
/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0002.jpg
/home/pi/Desktop/images/06012025/18/51/image_06012025_18_51_02_364056_0003.jpg
/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_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":["1327015658","1327015586","1327015388","1327015342","1327015509","1327015314"],"photo_ids_order":["1327015314","1327015342","1327015388","1327015509","1327015586","1327015658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87ab7709d3e8fac2385b3a6b87222a30.jpg","text":"TemporaryFile(/tmp/multipartBody61230150936053811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_52_02_602384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f5d3f6bdc1ff6f9d8b0a7446fa8c68d.jpg","text":"TemporaryFile(/tmp/multipartBody2930393113061975979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_51_02_364056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6321e54169fb7bf254d81a7bde48bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7510175227587044795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_51_02_364056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52014332644e3821dca75a1a10c9c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody5959893532218267881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_51_02_364056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1cbd8746db7f633c3897b2c8f0788e77.jpg","text":"TemporaryFile(/tmp/multipartBody2440994153873994936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_51_02_364056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71885dbd01fdf616db3e32fea50baacb.jpg","text":"TemporaryFile(/tmp/multipartBody3013776878304218347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186537712,"filename":"image_06012025_18_50_02_176445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327015388","file1":"1327015342","file0":"1327015314","file4":"1327015586","file5":"1327015658","file3":"1327015509"},"map_files_photo_id_array":[{"photo_id":"1327015658","filename":"file5"},{"photo_id":"1327015388","filename":"file2"},{"photo_id":"1327015586","filename":"file4"},{"photo_id":"1327015342","filename":"file1"},{"photo_id":"1327015314","filename":"file0"},{"photo_id":"1327015509","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327015658":["hashtag1","hashtag2"]},{"1327015586":["hashtag1","hashtag2"]},{"1327015388":["hashtag1","hashtag2"]},{"1327015342":["hashtag1","hashtag2"]},{"1327015509":["hashtag1","hashtag2"]},{"1327015314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327015658, 1327015586, 1327015388, 1327015342, 1327015509, 1327015314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.84873580932617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:02:02.695249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_0001.jpg', '/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_0003.jpg', '/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0000.jpg', '/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0001.jpg', '/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0002.jpg', '/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_0001.jpg
/home/pi/Desktop/images/06012025/18/52/image_06012025_18_52_02_602384_0003.jpg
/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0000.jpg
/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0001.jpg
/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_0002.jpg
/home/pi/Desktop/images/06012025/18/53/image_06012025_18_53_02_738991_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":["1327015951","1327015939","1327015768","1327015942","1327015953","1327015956"],"photo_ids_order":["1327015768","1327015939","1327015942","1327015951","1327015953","1327015956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5a94691b85e53f0b9a0135efbb1d84f.jpg","text":"TemporaryFile(/tmp/multipartBody539175857341053985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_53_02_738991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2735a796b41e626e4129b66600bad950.jpg","text":"TemporaryFile(/tmp/multipartBody546983183174370863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_52_02_602384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a44ccd15bdbd83424eb7d04095c02244.jpg","text":"TemporaryFile(/tmp/multipartBody256439496100193205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_52_02_602384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76e7cd47f332ca46863863ecb0dae80c.jpg","text":"TemporaryFile(/tmp/multipartBody3621567059220251510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_53_02_738991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/adc3a333fa5ed08a3a4d0fb83812a1be.jpg","text":"TemporaryFile(/tmp/multipartBody6701814336659738238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_53_02_738991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c143e2374ca33c126effd9ff7904a068.jpg","text":"TemporaryFile(/tmp/multipartBody4460217329187660727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186597806,"filename":"image_06012025_18_53_02_738991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327015942","file1":"1327015939","file0":"1327015768","file4":"1327015953","file5":"1327015956","file3":"1327015951"},"map_files_photo_id_array":[{"photo_id":"1327015956","filename":"file5"},{"photo_id":"1327015942","filename":"file2"},{"photo_id":"1327015953","filename":"file4"},{"photo_id":"1327015939","filename":"file1"},{"photo_id":"1327015768","filename":"file0"},{"photo_id":"1327015951","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327015951":["hashtag1","hashtag2"]},{"1327015939":["hashtag1","hashtag2"]},{"1327015768":["hashtag1","hashtag2"]},{"1327015942":["hashtag1","hashtag2"]},{"1327015953":["hashtag1","hashtag2"]},{"1327015956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327015951, 1327015939, 1327015768, 1327015942, 1327015953, 1327015956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25921654701233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:03:03.060119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0000.jpg', '/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0001.jpg', '/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0002.jpg', '/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0003.jpg', '/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0000.jpg', '/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0000.jpg
/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0001.jpg
/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0002.jpg
/home/pi/Desktop/images/06012025/18/54/image_06012025_18_54_03_009395_0003.jpg
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0000.jpg
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_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":["1327017292","1327016980","1327016962","1327016970","1327017296","1327016966"],"photo_ids_order":["1327016962","1327016966","1327016970","1327016980","1327017292","1327017296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d8efebed465613214bc5fad4efabadf.jpg","text":"TemporaryFile(/tmp/multipartBody5264038216104395847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_55_02_266558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/545a0a1ace527618cee04e91fdfc122f.jpg","text":"TemporaryFile(/tmp/multipartBody8173725819552473534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_54_03_009395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71a3e0b91e60abfe1baef1725d138ac8.jpg","text":"TemporaryFile(/tmp/multipartBody9212807171173597226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_54_03_009395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ffd9cefae68b49d7015a7c8c92f830c8.jpg","text":"TemporaryFile(/tmp/multipartBody8576599990479004236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_54_03_009395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2bd4e03de9d8d6145101d49017e8c35b.jpg","text":"TemporaryFile(/tmp/multipartBody5094847873955845562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_55_02_266558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/353af3627aee94d70d9d4a2bcbc74beb.jpg","text":"TemporaryFile(/tmp/multipartBody4575847464658792731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186658144,"filename":"image_06012025_18_54_03_009395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327016970","file1":"1327016966","file0":"1327016962","file4":"1327017292","file5":"1327017296","file3":"1327016980"},"map_files_photo_id_array":[{"photo_id":"1327017296","filename":"file5"},{"photo_id":"1327016970","filename":"file2"},{"photo_id":"1327017292","filename":"file4"},{"photo_id":"1327016966","filename":"file1"},{"photo_id":"1327016962","filename":"file0"},{"photo_id":"1327016980","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327017292":["hashtag1","hashtag2"]},{"1327016980":["hashtag1","hashtag2"]},{"1327016962":["hashtag1","hashtag2"]},{"1327016970":["hashtag1","hashtag2"]},{"1327017296":["hashtag1","hashtag2"]},{"1327016966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327017292, 1327016980, 1327016962, 1327016970, 1327017296, 1327016966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74661135673523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:04:03.162895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0002.jpg', '/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0003.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0000.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0001.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0002.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0002.jpg
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0003.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0000.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0001.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0002.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_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.706440925598145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:04:22.677383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0002.jpg', '/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0003.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0000.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0001.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0002.jpg', '/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0002.jpg
/home/pi/Desktop/images/06012025/18/55/image_06012025_18_55_02_266558_0003.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0000.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0001.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_0002.jpg
/home/pi/Desktop/images/06012025/18/56/image_06012025_18_56_02_364435_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":["1327017622","1327017747","1327017807","1327017624","1327017770","1327017592"],"photo_ids_order":["1327017592","1327017622","1327017624","1327017747","1327017770","1327017807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14538324067b534bcaeb476de55f246e.jpg","text":"TemporaryFile(/tmp/multipartBody6990561843771356338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_55_02_266558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/190906ffda705e9491f1dc5464dc002b.jpg","text":"TemporaryFile(/tmp/multipartBody7373369375758939195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_56_02_364435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95e164c3edd0bcf9837441fab86bbadb.jpg","text":"TemporaryFile(/tmp/multipartBody298595254657133954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_56_02_364435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7820688662e4b1aab87f6415ac94d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7700745177386995340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_56_02_364435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35eeec491550ffa9be3b8934cd6eebac.jpg","text":"TemporaryFile(/tmp/multipartBody6843255990107317911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_56_02_364435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/825af1d55323b835f6885fb1abfbefe9.jpg","text":"TemporaryFile(/tmp/multipartBody8961876137741763538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186737743,"filename":"image_06012025_18_55_02_266558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327017624","file1":"1327017622","file0":"1327017592","file4":"1327017770","file5":"1327017807","file3":"1327017747"},"map_files_photo_id_array":[{"photo_id":"1327017807","filename":"file5"},{"photo_id":"1327017624","filename":"file2"},{"photo_id":"1327017770","filename":"file4"},{"photo_id":"1327017622","filename":"file1"},{"photo_id":"1327017592","filename":"file0"},{"photo_id":"1327017747","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327017622":["hashtag1","hashtag2"]},{"1327017747":["hashtag1","hashtag2"]},{"1327017807":["hashtag1","hashtag2"]},{"1327017624":["hashtag1","hashtag2"]},{"1327017770":["hashtag1","hashtag2"]},{"1327017592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327017622, 1327017747, 1327017807, 1327017624, 1327017770, 1327017592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63611650466919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:05:21.988775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0000.jpg', '/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0001.jpg', '/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0002.jpg', '/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0003.jpg', '/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0000.jpg', '/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0000.jpg
/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0001.jpg
/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0002.jpg
/home/pi/Desktop/images/06012025/18/57/image_06012025_18_57_02_570728_0003.jpg
/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0000.jpg
/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_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":["1327017868","1327018039","1327017862","1327017901","1327017899","1327017865"],"photo_ids_order":["1327017862","1327017865","1327017868","1327017899","1327017901","1327018039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39508b23facdd133c9f1197ff44c4a73.jpg","text":"TemporaryFile(/tmp/multipartBody2645032822105741327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_57_02_570728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e03400c6d55fabbba2720c3722142b3.jpg","text":"TemporaryFile(/tmp/multipartBody9149749704527469270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_58_02_902699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b2553cf01ecf9cb3822c2fc9ecbfe92.jpg","text":"TemporaryFile(/tmp/multipartBody660532582138755358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_57_02_570728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca1f357819fc59b9df6d602dd32d9754.jpg","text":"TemporaryFile(/tmp/multipartBody3947912857423769985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_58_02_902699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85e265f789967393cf3db90955704f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1913876808969521427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_57_02_570728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f944456c3cba30419bf01dff30f63e5.jpg","text":"TemporaryFile(/tmp/multipartBody2540131625287382766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186796867,"filename":"image_06012025_18_57_02_570728_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327017868","file1":"1327017865","file0":"1327017862","file4":"1327017901","file5":"1327018039","file3":"1327017899"},"map_files_photo_id_array":[{"photo_id":"1327018039","filename":"file5"},{"photo_id":"1327017868","filename":"file2"},{"photo_id":"1327017901","filename":"file4"},{"photo_id":"1327017865","filename":"file1"},{"photo_id":"1327017862","filename":"file0"},{"photo_id":"1327017899","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327017868":["hashtag1","hashtag2"]},{"1327018039":["hashtag1","hashtag2"]},{"1327017862":["hashtag1","hashtag2"]},{"1327017901":["hashtag1","hashtag2"]},{"1327017899":["hashtag1","hashtag2"]},{"1327017865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327017868, 1327018039, 1327017862, 1327017901, 1327017899, 1327017865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.973124742507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:06:22.170632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0002.jpg', '/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0003.jpg', '/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0001.jpg', '/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0002.jpg', '/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0003.jpg', '/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0002.jpg
/home/pi/Desktop/images/06012025/18/58/image_06012025_18_58_02_902699_0003.jpg
/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0001.jpg
/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0002.jpg
/home/pi/Desktop/images/06012025/18/59/image_06012025_18_59_02_976768_0003.jpg
/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_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":["1327018173","1327018179","1327018314","1327018175","1327018334","1327018336"],"photo_ids_order":["1327018173","1327018175","1327018179","1327018314","1327018334","1327018336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35ff871ca748096b192ffb7f9cd72e13.jpg","text":"TemporaryFile(/tmp/multipartBody4045214950224546297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_18_58_02_902699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ded45fb60c920122166ae00a6c3a1140.jpg","text":"TemporaryFile(/tmp/multipartBody6902371533614757605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_18_59_02_976768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/891c47cb00028cca1f45b77a42c48c31.jpg","text":"TemporaryFile(/tmp/multipartBody6157352221890431499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_18_59_02_976768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d2f535fb3da52eafe7ba85bc2a98ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7723585770801056458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_18_58_02_902699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3232164620cc9277b2538bf488c4ccd4.jpg","text":"TemporaryFile(/tmp/multipartBody9087358584899038161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_18_59_02_976768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f0e547ac00c6f055606671a0421ec48.jpg","text":"TemporaryFile(/tmp/multipartBody2484125025418075103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186857383,"filename":"image_06012025_19_00_02_230591_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327018179","file1":"1327018175","file0":"1327018173","file4":"1327018334","file5":"1327018336","file3":"1327018314"},"map_files_photo_id_array":[{"photo_id":"1327018336","filename":"file5"},{"photo_id":"1327018179","filename":"file2"},{"photo_id":"1327018334","filename":"file4"},{"photo_id":"1327018175","filename":"file1"},{"photo_id":"1327018173","filename":"file0"},{"photo_id":"1327018314","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327018173":["hashtag1","hashtag2"]},{"1327018179":["hashtag1","hashtag2"]},{"1327018314":["hashtag1","hashtag2"]},{"1327018175":["hashtag1","hashtag2"]},{"1327018334":["hashtag1","hashtag2"]},{"1327018336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327018173, 1327018179, 1327018314, 1327018175, 1327018334, 1327018336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.896125078201294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:07:22.296433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0001.jpg', '/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0002.jpg', '/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0003.jpg', '/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0000.jpg', '/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0001.jpg', '/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0001.jpg
/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0002.jpg
/home/pi/Desktop/images/06012025/19/00/image_06012025_19_00_02_230591_0003.jpg
/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0000.jpg
/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0001.jpg
/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_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":["1327018837","1327018824","1327019033","1327018838","1327018826","1327018573"],"photo_ids_order":["1327018573","1327018824","1327018826","1327018837","1327018838","1327019033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/569d1af4d74306b8aa81e36a2d7413d3.jpg","text":"TemporaryFile(/tmp/multipartBody2073091227562779500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_01_02_264189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20d05a76ece30d909bbf15ab4b959001.jpg","text":"TemporaryFile(/tmp/multipartBody5645903496134917615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_00_02_230591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbf19fccdb60302f6f62d3d290f394bf.jpg","text":"TemporaryFile(/tmp/multipartBody8915950168157109168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_01_02_264189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43a8517f6080eb01bdd91997f0c1b5fc.jpg","text":"TemporaryFile(/tmp/multipartBody4394517946946817609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_01_02_264189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/121d5781b902a2522dfa17b7e8041f20.jpg","text":"TemporaryFile(/tmp/multipartBody8311486475024532059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_00_02_230591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d84eb9a2ca4eaadea002f4e9f2d6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5079115392000767491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186917241,"filename":"image_06012025_19_00_02_230591_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327018826","file1":"1327018824","file0":"1327018573","file4":"1327018838","file5":"1327019033","file3":"1327018837"},"map_files_photo_id_array":[{"photo_id":"1327019033","filename":"file5"},{"photo_id":"1327018826","filename":"file2"},{"photo_id":"1327018838","filename":"file4"},{"photo_id":"1327018824","filename":"file1"},{"photo_id":"1327018573","filename":"file0"},{"photo_id":"1327018837","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327018837":["hashtag1","hashtag2"]},{"1327018824":["hashtag1","hashtag2"]},{"1327019033":["hashtag1","hashtag2"]},{"1327018838":["hashtag1","hashtag2"]},{"1327018826":["hashtag1","hashtag2"]},{"1327018573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327018837, 1327018824, 1327019033, 1327018838, 1327018826, 1327018573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.80370235443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:08:22.438330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0003.jpg', '/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0000.jpg', '/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0003.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0000.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0001.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0003.jpg
/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0000.jpg
/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0003.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0000.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0001.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_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.483745813369751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:08:42.520597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0003.jpg', '/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0000.jpg', '/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0003.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0000.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0001.jpg', '/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/01/image_06012025_19_01_02_264189_0003.jpg
/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0000.jpg
/home/pi/Desktop/images/06012025/19/02/image_06012025_19_02_02_510096_0003.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0000.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0001.jpg
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_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":["1327019355","1327019363","1327019357","1327019366","1327019359","1327019361"],"photo_ids_order":["1327019355","1327019357","1327019359","1327019361","1327019363","1327019366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/245ed8fc5f53b01335ca22d23a87d398.jpg","text":"TemporaryFile(/tmp/multipartBody298524536324607748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_01_02_264189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f850fe53b864fdd850880147b6e5e66.jpg","text":"TemporaryFile(/tmp/multipartBody2927569917687942633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_03_02_654925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5be174d7f5f6811dc691f66cc824d708.jpg","text":"TemporaryFile(/tmp/multipartBody8089602837000095907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_02_02_510096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8955f22660c8c33e2aa064aa4b9777a7.jpg","text":"TemporaryFile(/tmp/multipartBody9089922824295629120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_03_02_654925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0924c5904632f62f020d01f427bf8f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7434540770291279005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_02_02_510096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0acd3d3404011268e7bd2823993cd138.jpg","text":"TemporaryFile(/tmp/multipartBody7610608492863866449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736186997431,"filename":"image_06012025_19_03_02_654925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327019359","file1":"1327019357","file0":"1327019355","file4":"1327019363","file5":"1327019366","file3":"1327019361"},"map_files_photo_id_array":[{"photo_id":"1327019366","filename":"file5"},{"photo_id":"1327019359","filename":"file2"},{"photo_id":"1327019363","filename":"file4"},{"photo_id":"1327019357","filename":"file1"},{"photo_id":"1327019355","filename":"file0"},{"photo_id":"1327019361","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327019355":["hashtag1","hashtag2"]},{"1327019363":["hashtag1","hashtag2"]},{"1327019357":["hashtag1","hashtag2"]},{"1327019366":["hashtag1","hashtag2"]},{"1327019359":["hashtag1","hashtag2"]},{"1327019361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327019355, 1327019363, 1327019357, 1327019366, 1327019359, 1327019361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.131595849990845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:09:42.664774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0003.jpg', '/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0000.jpg', '/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0001.jpg', '/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0002.jpg', '/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0003.jpg', '/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/03/image_06012025_19_03_02_654925_0003.jpg
/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0000.jpg
/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0001.jpg
/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0002.jpg
/home/pi/Desktop/images/06012025/19/04/image_06012025_19_04_02_815150_0003.jpg
/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_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":["1327019610","1327019615","1327019612","1327019606","1327019608","1327019605"],"photo_ids_order":["1327019605","1327019606","1327019608","1327019610","1327019612","1327019615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f265b2b3c6f2a06d6c0831c9f0d04c78.jpg","text":"TemporaryFile(/tmp/multipartBody4068517194109286733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_04_02_815150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8076b7ac95c6a56419f9a55c3771991b.jpg","text":"TemporaryFile(/tmp/multipartBody6169756378190015735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_05_03_077297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/037f0513388e53b424566acbd737f59e.jpg","text":"TemporaryFile(/tmp/multipartBody5635868454562041788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_04_02_815150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/94464eaaf89658f339d80b17bf087e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5145195756959818313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_04_02_815150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63060c1d1dcdab4b23db0a12e3d2f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4126840824780270985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_04_02_815150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/347f6fe21269303ea451785d2a193641.jpg","text":"TemporaryFile(/tmp/multipartBody9182551247711131912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187057666,"filename":"image_06012025_19_03_02_654925_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327019608","file1":"1327019606","file0":"1327019605","file4":"1327019612","file5":"1327019615","file3":"1327019610"},"map_files_photo_id_array":[{"photo_id":"1327019615","filename":"file5"},{"photo_id":"1327019608","filename":"file2"},{"photo_id":"1327019612","filename":"file4"},{"photo_id":"1327019606","filename":"file1"},{"photo_id":"1327019605","filename":"file0"},{"photo_id":"1327019610","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327019610":["hashtag1","hashtag2"]},{"1327019615":["hashtag1","hashtag2"]},{"1327019612":["hashtag1","hashtag2"]},{"1327019606":["hashtag1","hashtag2"]},{"1327019608":["hashtag1","hashtag2"]},{"1327019605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327019610, 1327019615, 1327019612, 1327019606, 1327019608, 1327019605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.37255144119263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:10:41.829731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0001.jpg', '/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0002.jpg', '/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0003.jpg', '/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0000.jpg', '/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0001.jpg', '/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0001.jpg
/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0002.jpg
/home/pi/Desktop/images/06012025/19/05/image_06012025_19_05_03_077297_0003.jpg
/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0000.jpg
/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0001.jpg
/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_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":["1327019631","1327019634","1327019642","1327019636","1327019650","1327019629"],"photo_ids_order":["1327019629","1327019631","1327019634","1327019636","1327019642","1327019650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad842d14cfe8c70101efe78e71d3f3d2.jpg","text":"TemporaryFile(/tmp/multipartBody35612656218251854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_05_03_077297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3555201c6c9c821393c837a5069201b3.jpg","text":"TemporaryFile(/tmp/multipartBody7832235798322084395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_05_03_077297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d70b016a3a7eed6ecb16429d3e227dfe.jpg","text":"TemporaryFile(/tmp/multipartBody9017096825334257516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_06_02_322439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bde9f4563524bd9eeeff023fd17336cf.jpg","text":"TemporaryFile(/tmp/multipartBody2360294379644955686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_06_02_322439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/953394fbfdd51b1de910529c289f6e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3929387188250202133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_06_02_322439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b6a83b7efa5af6039ae51ef7d3d78c6.jpg","text":"TemporaryFile(/tmp/multipartBody5038784666879003082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187116844,"filename":"image_06012025_19_05_03_077297_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327019634","file1":"1327019631","file0":"1327019629","file4":"1327019642","file5":"1327019650","file3":"1327019636"},"map_files_photo_id_array":[{"photo_id":"1327019650","filename":"file5"},{"photo_id":"1327019634","filename":"file2"},{"photo_id":"1327019642","filename":"file4"},{"photo_id":"1327019631","filename":"file1"},{"photo_id":"1327019629","filename":"file0"},{"photo_id":"1327019636","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327019631":["hashtag1","hashtag2"]},{"1327019634":["hashtag1","hashtag2"]},{"1327019642":["hashtag1","hashtag2"]},{"1327019636":["hashtag1","hashtag2"]},{"1327019650":["hashtag1","hashtag2"]},{"1327019629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327019631, 1327019634, 1327019642, 1327019636, 1327019650, 1327019629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39257049560547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:11:42.015688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0003.jpg', '/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0000.jpg', '/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0001.jpg', '/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0002.jpg', '/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0003.jpg', '/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/06/image_06012025_19_06_02_322439_0003.jpg
/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0000.jpg
/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0001.jpg
/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0002.jpg
/home/pi/Desktop/images/06012025/19/07/image_06012025_19_07_02_532502_0003.jpg
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_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":["1327019763","1327019724","1327019718","1327019696","1327019690","1327019679"],"photo_ids_order":["1327019679","1327019690","1327019696","1327019718","1327019724","1327019763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b708b27511d89089d0b0264075287b8.jpg","text":"TemporaryFile(/tmp/multipartBody2030485624271842609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_08_02_629011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edf43c9058581761eeb4f9039dd147a5.jpg","text":"TemporaryFile(/tmp/multipartBody6569337546825897997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_07_02_532502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa927df9f0ddbc6b8fba9cfee8f6ec81.jpg","text":"TemporaryFile(/tmp/multipartBody1537164756043612262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_07_02_532502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5ef005caa1c8f2b2d0f412243ea7a04.jpg","text":"TemporaryFile(/tmp/multipartBody3392337757995467396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_07_02_532502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75725444b9f0c837ba7a4f5189dbfd05.jpg","text":"TemporaryFile(/tmp/multipartBody8645573641935030696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_07_02_532502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/834b8f444aac3667275dda626a964c68.jpg","text":"TemporaryFile(/tmp/multipartBody4460974869410728603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187177006,"filename":"image_06012025_19_06_02_322439_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327019696","file1":"1327019690","file0":"1327019679","file4":"1327019724","file5":"1327019763","file3":"1327019718"},"map_files_photo_id_array":[{"photo_id":"1327019763","filename":"file5"},{"photo_id":"1327019696","filename":"file2"},{"photo_id":"1327019724","filename":"file4"},{"photo_id":"1327019690","filename":"file1"},{"photo_id":"1327019679","filename":"file0"},{"photo_id":"1327019718","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327019763":["hashtag1","hashtag2"]},{"1327019724":["hashtag1","hashtag2"]},{"1327019718":["hashtag1","hashtag2"]},{"1327019696":["hashtag1","hashtag2"]},{"1327019690":["hashtag1","hashtag2"]},{"1327019679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327019763, 1327019724, 1327019718, 1327019696, 1327019690, 1327019679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74997901916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:12:42.123522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0001.jpg', '/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0002.jpg', '/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0003.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0000.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0001.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0001.jpg
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0002.jpg
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0003.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0000.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0001.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_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.615092277526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:13:02.981730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0001.jpg', '/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0002.jpg', '/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0003.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0000.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0001.jpg', '/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0001.jpg
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0002.jpg
/home/pi/Desktop/images/06012025/19/08/image_06012025_19_08_02_629011_0003.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0000.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0001.jpg
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_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":["1327019777","1327019786","1327019791","1327019788","1327019782","1327019793"],"photo_ids_order":["1327019777","1327019782","1327019786","1327019788","1327019791","1327019793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a23abc08deb60e4bf5b51d2738ff3b36.jpg","text":"TemporaryFile(/tmp/multipartBody1702413318218348625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_08_02_629011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5bc8892cbecd7f8ec9700594b67dd19.jpg","text":"TemporaryFile(/tmp/multipartBody1600707713317068443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_08_02_629011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e8babf7be6bb26acb8ebac4b5bcbc73.jpg","text":"TemporaryFile(/tmp/multipartBody1300761466382918602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_09_02_794925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73b2039df17260a475f5567a78fe17a0.jpg","text":"TemporaryFile(/tmp/multipartBody1687549964217113528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_09_02_794925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c29642cc3c0e3fbfeb6543e9134bb13.jpg","text":"TemporaryFile(/tmp/multipartBody7613996209211035613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_08_02_629011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2bd8303ff39d0a93f58542e8b2671879.jpg","text":"TemporaryFile(/tmp/multipartBody8163451684747268812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187258036,"filename":"image_06012025_19_09_02_794925_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327019786","file1":"1327019782","file0":"1327019777","file4":"1327019791","file5":"1327019793","file3":"1327019788"},"map_files_photo_id_array":[{"photo_id":"1327019793","filename":"file5"},{"photo_id":"1327019786","filename":"file2"},{"photo_id":"1327019791","filename":"file4"},{"photo_id":"1327019782","filename":"file1"},{"photo_id":"1327019777","filename":"file0"},{"photo_id":"1327019788","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327019777":["hashtag1","hashtag2"]},{"1327019786":["hashtag1","hashtag2"]},{"1327019791":["hashtag1","hashtag2"]},{"1327019788":["hashtag1","hashtag2"]},{"1327019782":["hashtag1","hashtag2"]},{"1327019793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327019777, 1327019786, 1327019791, 1327019788, 1327019782, 1327019793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.555371046066284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:14:02.941489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0003.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0000.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0001.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0002.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0003.jpg', '/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0003.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0000.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0001.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0002.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0003.jpg
/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_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.923985958099365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:14:22.475013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0003.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0000.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0001.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0002.jpg', '/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0003.jpg', '/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/09/image_06012025_19_09_02_794925_0003.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0000.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0001.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0002.jpg
/home/pi/Desktop/images/06012025/19/10/image_06012025_19_10_03_037891_0003.jpg
/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_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":["1327021296","1327021029","1327020450","1327021291","1327020685","1327021299"],"photo_ids_order":["1327020450","1327020685","1327021029","1327021291","1327021296","1327021299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/252e7c19b99cc405907e58b09e9633e8.jpg","text":"TemporaryFile(/tmp/multipartBody1603764883815547665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_10_03_037891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d59b92953a96e80ad2fb54bcbfbd48be.jpg","text":"TemporaryFile(/tmp/multipartBody1561312397197053930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_10_03_037891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f7d8f8080592deeaa66627ade8f5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody3608381277590967075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_09_02_794925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5882ed51492d5bcfc248ee7f15cff8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7659225142690020810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_10_03_037891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b599addf8330c7154c4e40c4adc6fd3a.jpg","text":"TemporaryFile(/tmp/multipartBody2518085988160629824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_10_03_037891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78883bdda8aa3a659597d6b56fcb7038.jpg","text":"TemporaryFile(/tmp/multipartBody471676902518563844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187337748,"filename":"image_06012025_19_11_02_171606_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327021029","file1":"1327020685","file0":"1327020450","file4":"1327021296","file5":"1327021299","file3":"1327021291"},"map_files_photo_id_array":[{"photo_id":"1327021299","filename":"file5"},{"photo_id":"1327021029","filename":"file2"},{"photo_id":"1327021296","filename":"file4"},{"photo_id":"1327020685","filename":"file1"},{"photo_id":"1327020450","filename":"file0"},{"photo_id":"1327021291","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327021296":["hashtag1","hashtag2"]},{"1327021029":["hashtag1","hashtag2"]},{"1327020450":["hashtag1","hashtag2"]},{"1327021291":["hashtag1","hashtag2"]},{"1327020685":["hashtag1","hashtag2"]},{"1327021299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327021296, 1327021029, 1327020450, 1327021291, 1327020685, 1327021299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82353687286377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:15:22.658565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0001.jpg', '/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0002.jpg', '/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0003.jpg', '/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_0000.jpg', '/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_0001.jpg', '/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0001.jpg
/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0002.jpg
/home/pi/Desktop/images/06012025/19/11/image_06012025_19_11_02_171606_0003.jpg
/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_0000.jpg
/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_0001.jpg
/home/pi/Desktop/images/06012025/19/12/image_06012025_19_12_02_322467_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":["1327021320","1327021326","1327021615","1327021324","1327021717","1327021365"],"photo_ids_order":["1327021320","1327021324","1327021326","1327021365","1327021615","1327021717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/88b8b911dd15e545bb854c7571e075d9.jpg","text":"TemporaryFile(/tmp/multipartBody462097581843144727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_11_02_171606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/334fcba37d4253c213593065774845f4.jpg","text":"TemporaryFile(/tmp/multipartBody5912088585319124636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_11_02_171606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcced10fce2175b6ea233c9ae54eed46.jpg","text":"TemporaryFile(/tmp/multipartBody4968332323272376641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_12_02_322467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/934cb5d53ab65d30e745bdd169178789.jpg","text":"TemporaryFile(/tmp/multipartBody7412574602331086275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_11_02_171606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/162660da9c091fe9e60219eba831b8ea.jpg","text":"TemporaryFile(/tmp/multipartBody7890361879610531390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_12_02_322467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39873dc6e2f425447d19cefce7007734.jpg","text":"TemporaryFile(/tmp/multipartBody5935688616404675209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187397617,"filename":"image_06012025_19_12_02_322467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327021326","file1":"1327021324","file0":"1327021320","file4":"1327021615","file5":"1327021717","file3":"1327021365"},"map_files_photo_id_array":[{"photo_id":"1327021717","filename":"file5"},{"photo_id":"1327021326","filename":"file2"},{"photo_id":"1327021615","filename":"file4"},{"photo_id":"1327021324","filename":"file1"},{"photo_id":"1327021320","filename":"file0"},{"photo_id":"1327021365","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327021320":["hashtag1","hashtag2"]},{"1327021326":["hashtag1","hashtag2"]},{"1327021615":["hashtag1","hashtag2"]},{"1327021324":["hashtag1","hashtag2"]},{"1327021717":["hashtag1","hashtag2"]},{"1327021365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327021320, 1327021326, 1327021615, 1327021324, 1327021717, 1327021365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65982437133789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:16:21.833773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0000.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0001.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0002.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0003.jpg', '/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0000.jpg', '/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0000.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0001.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0002.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0003.jpg
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0000.jpg
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_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.736879348754883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:16:41.909840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0000.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0001.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0002.jpg', '/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0003.jpg', '/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0000.jpg', '/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0000.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0001.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0002.jpg
/home/pi/Desktop/images/06012025/19/13/image_06012025_19_13_02_464320_0003.jpg
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0000.jpg
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_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":["1327022025","1327022000","1327022003","1327021981","1327021984","1327021966"],"photo_ids_order":["1327021966","1327021981","1327021984","1327022000","1327022003","1327022025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b5763bf0bcf1514cc3dad789173137f.jpg","text":"TemporaryFile(/tmp/multipartBody911013282517966623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_14_02_651077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f657720dd827c806ab370d71fbae26a8.jpg","text":"TemporaryFile(/tmp/multipartBody9162202328103910605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_13_02_464320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/abfd173b5859fe285a6ed586cb8826bd.jpg","text":"TemporaryFile(/tmp/multipartBody575187709515557489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_14_02_651077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/92c0327f77a9569c45ee6e4b4e4717e0.jpg","text":"TemporaryFile(/tmp/multipartBody9153228257474445972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_13_02_464320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/093414d50d40001cf52f5baeaa772dde.jpg","text":"TemporaryFile(/tmp/multipartBody6551070957964355063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_13_02_464320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f7cabc3717143e595b93e976306ca0b.jpg","text":"TemporaryFile(/tmp/multipartBody7347051123560839383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187477348,"filename":"image_06012025_19_13_02_464320_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327021984","file1":"1327021981","file0":"1327021966","file4":"1327022003","file5":"1327022025","file3":"1327022000"},"map_files_photo_id_array":[{"photo_id":"1327022025","filename":"file5"},{"photo_id":"1327021984","filename":"file2"},{"photo_id":"1327022003","filename":"file4"},{"photo_id":"1327021981","filename":"file1"},{"photo_id":"1327021966","filename":"file0"},{"photo_id":"1327022000","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022025":["hashtag1","hashtag2"]},{"1327022000":["hashtag1","hashtag2"]},{"1327022003":["hashtag1","hashtag2"]},{"1327021981":["hashtag1","hashtag2"]},{"1327021984":["hashtag1","hashtag2"]},{"1327021966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022025, 1327022000, 1327022003, 1327021981, 1327021984, 1327021966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.19445323944092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:17:42.012850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0002.jpg', '/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0003.jpg', '/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0000.jpg', '/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0001.jpg', '/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0002.jpg', '/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0002.jpg
/home/pi/Desktop/images/06012025/19/14/image_06012025_19_14_02_651077_0003.jpg
/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0000.jpg
/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0001.jpg
/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_0002.jpg
/home/pi/Desktop/images/06012025/19/15/image_06012025_19_15_02_826671_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":["1327022360","1327022354","1327022363","1327022357","1327022371","1327022365"],"photo_ids_order":["1327022354","1327022357","1327022360","1327022363","1327022365","1327022371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e962b6a8043e09417f2592865cdaaac5.jpg","text":"TemporaryFile(/tmp/multipartBody944216971654336698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_15_02_826671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f70bb265fb0432b523fd23ac47a9d7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4763988969764875516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_14_02_651077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/884570ff2fc866e65b36502948650883.jpg","text":"TemporaryFile(/tmp/multipartBody7466679122648521805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_15_02_826671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f8b6962e7925a4e47fa27e33c74b904.jpg","text":"TemporaryFile(/tmp/multipartBody5152047189981583934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_14_02_651077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/605a0c95c7abca10223c67c611869387.jpg","text":"TemporaryFile(/tmp/multipartBody9084768871173639469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_15_02_826671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f93027b09c396fa72d8b415714dbc133.jpg","text":"TemporaryFile(/tmp/multipartBody7657545969283557717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187536793,"filename":"image_06012025_19_15_02_826671_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022360","file1":"1327022357","file0":"1327022354","file4":"1327022365","file5":"1327022371","file3":"1327022363"},"map_files_photo_id_array":[{"photo_id":"1327022371","filename":"file5"},{"photo_id":"1327022360","filename":"file2"},{"photo_id":"1327022365","filename":"file4"},{"photo_id":"1327022357","filename":"file1"},{"photo_id":"1327022354","filename":"file0"},{"photo_id":"1327022363","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022360":["hashtag1","hashtag2"]},{"1327022354":["hashtag1","hashtag2"]},{"1327022363":["hashtag1","hashtag2"]},{"1327022357":["hashtag1","hashtag2"]},{"1327022371":["hashtag1","hashtag2"]},{"1327022365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022360, 1327022354, 1327022363, 1327022357, 1327022371, 1327022365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87793040275574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:18:42.156007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0000.jpg', '/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0001.jpg', '/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0002.jpg', '/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0003.jpg', '/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0000.jpg', '/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0000.jpg
/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0001.jpg
/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0002.jpg
/home/pi/Desktop/images/06012025/19/16/image_06012025_19_16_02_990076_0003.jpg
/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0000.jpg
/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_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":["1327022415","1327022392","1327022386","1327022422","1327022388","1327022406"],"photo_ids_order":["1327022386","1327022388","1327022392","1327022406","1327022415","1327022422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aace57065532fd5862cb3795d3812fca.jpg","text":"TemporaryFile(/tmp/multipartBody9136673481943045245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_17_02_203106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db844e41c8454172610fdf3c7e8210ed.jpg","text":"TemporaryFile(/tmp/multipartBody2594136992829679484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_16_02_990076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fba6f29ed2548d49e97bd6de25e5295.jpg","text":"TemporaryFile(/tmp/multipartBody6765802701544737768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_16_02_990076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/325f4e1cc68ee6622b396f925848ec61.jpg","text":"TemporaryFile(/tmp/multipartBody9145753724346860097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_17_02_203106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e02f9169e2db3b52095c3fb8564dce42.jpg","text":"TemporaryFile(/tmp/multipartBody3661253883147545284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_16_02_990076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8554619884ffd27c326d305e74caa951.jpg","text":"TemporaryFile(/tmp/multipartBody9123390209559165379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187597043,"filename":"image_06012025_19_16_02_990076_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022392","file1":"1327022388","file0":"1327022386","file4":"1327022415","file5":"1327022422","file3":"1327022406"},"map_files_photo_id_array":[{"photo_id":"1327022422","filename":"file5"},{"photo_id":"1327022392","filename":"file2"},{"photo_id":"1327022415","filename":"file4"},{"photo_id":"1327022388","filename":"file1"},{"photo_id":"1327022386","filename":"file0"},{"photo_id":"1327022406","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022415":["hashtag1","hashtag2"]},{"1327022392":["hashtag1","hashtag2"]},{"1327022386":["hashtag1","hashtag2"]},{"1327022422":["hashtag1","hashtag2"]},{"1327022388":["hashtag1","hashtag2"]},{"1327022406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022415, 1327022392, 1327022386, 1327022422, 1327022388, 1327022406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52423286437988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:19:42.283984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0002.jpg', '/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0003.jpg', '/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0000.jpg', '/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0001.jpg', '/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0002.jpg', '/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0002.jpg
/home/pi/Desktop/images/06012025/19/17/image_06012025_19_17_02_203106_0003.jpg
/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0000.jpg
/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0001.jpg
/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_0002.jpg
/home/pi/Desktop/images/06012025/19/18/image_06012025_19_18_02_399470_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":["1327022613","1327022615","1327022624","1327022612","1327022620","1327022617"],"photo_ids_order":["1327022612","1327022613","1327022615","1327022617","1327022620","1327022624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa89160f5bf134395134501a8fae691b.jpg","text":"TemporaryFile(/tmp/multipartBody2190857507969697694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_17_02_203106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/255c8f1e7ee7ce3a7f17bd85e74b168f.jpg","text":"TemporaryFile(/tmp/multipartBody2470880028547916996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_18_02_399470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1b8158bdcfed5a4ddba6cfc29f22e28.jpg","text":"TemporaryFile(/tmp/multipartBody5188323305124994666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_18_02_399470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9252d80d3b227af094f2e1734642c452.jpg","text":"TemporaryFile(/tmp/multipartBody2420801052016640164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_17_02_203106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6767ab2a8cc2b09f6fc2281e2eb827b0.jpg","text":"TemporaryFile(/tmp/multipartBody6719020141067091364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_18_02_399470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b984e6fe595fb5d34b0b55143a8dd0c3.jpg","text":"TemporaryFile(/tmp/multipartBody17900585194849628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187657416,"filename":"image_06012025_19_18_02_399470_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022615","file1":"1327022613","file0":"1327022612","file4":"1327022620","file5":"1327022624","file3":"1327022617"},"map_files_photo_id_array":[{"photo_id":"1327022624","filename":"file5"},{"photo_id":"1327022615","filename":"file2"},{"photo_id":"1327022620","filename":"file4"},{"photo_id":"1327022613","filename":"file1"},{"photo_id":"1327022612","filename":"file0"},{"photo_id":"1327022617","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022613":["hashtag1","hashtag2"]},{"1327022615":["hashtag1","hashtag2"]},{"1327022624":["hashtag1","hashtag2"]},{"1327022612":["hashtag1","hashtag2"]},{"1327022620":["hashtag1","hashtag2"]},{"1327022617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022613, 1327022615, 1327022624, 1327022612, 1327022620, 1327022617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72940015792847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:20:42.571275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0000.jpg', '/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0001.jpg', '/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0002.jpg', '/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0003.jpg', '/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0000.jpg', '/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0000.jpg
/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0001.jpg
/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0002.jpg
/home/pi/Desktop/images/06012025/19/19/image_06012025_19_19_02_487288_0003.jpg
/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0000.jpg
/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_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":["1327022693","1327022702","1327022689","1327022686","1327022685","1327022697"],"photo_ids_order":["1327022685","1327022686","1327022689","1327022693","1327022697","1327022702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9443a6624e56d9b1974c80fedc420181.jpg","text":"TemporaryFile(/tmp/multipartBody7624639675335247551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_19_02_487288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c93cc1b439a5bff4780c77ffd7554d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4735193404465916695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_20_02_655394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00a2d8a92e34d3ac87293800c7a6a450.jpg","text":"TemporaryFile(/tmp/multipartBody7560995453630550182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_19_02_487288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5487545b18736aae781d4111b4c706bf.jpg","text":"TemporaryFile(/tmp/multipartBody6192625334992810083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_19_02_487288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b1c0d6dd3a1e28b228cf440ad2e6eedf.jpg","text":"TemporaryFile(/tmp/multipartBody8217624589119537152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_19_02_487288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab2c0e21d0c966604727db03ca92d529.jpg","text":"TemporaryFile(/tmp/multipartBody5471726794846055621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187717918,"filename":"image_06012025_19_20_02_655394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022689","file1":"1327022686","file0":"1327022685","file4":"1327022697","file5":"1327022702","file3":"1327022693"},"map_files_photo_id_array":[{"photo_id":"1327022702","filename":"file5"},{"photo_id":"1327022689","filename":"file2"},{"photo_id":"1327022697","filename":"file4"},{"photo_id":"1327022686","filename":"file1"},{"photo_id":"1327022685","filename":"file0"},{"photo_id":"1327022693","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022693":["hashtag1","hashtag2"]},{"1327022702":["hashtag1","hashtag2"]},{"1327022689":["hashtag1","hashtag2"]},{"1327022686":["hashtag1","hashtag2"]},{"1327022685":["hashtag1","hashtag2"]},{"1327022697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022693, 1327022702, 1327022689, 1327022686, 1327022685, 1327022697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12117791175842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:21:42.735863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0002.jpg', '/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0003.jpg', '/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0000.jpg', '/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0001.jpg', '/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0002.jpg
/home/pi/Desktop/images/06012025/19/20/image_06012025_19_20_02_655394_0003.jpg
/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0000.jpg
/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0001.jpg
/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327022727","1327022726","1327022735","1327022737","1327022739"],"photo_ids_order":["1327022726","1327022727","1327022735","1327022737","1327022739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/76375b3731db717ecb1a0689cc22b8d6.jpg","text":"TemporaryFile(/tmp/multipartBody5200675013982428709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187775327,"filename":"image_06012025_19_20_02_655394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91ccc38c2b767179beeb0d9bd9ca33f5.jpg","text":"TemporaryFile(/tmp/multipartBody7716137845529806046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187775327,"filename":"image_06012025_19_20_02_655394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67551082afcf86c07806fb7c16061912.jpg","text":"TemporaryFile(/tmp/multipartBody2641891037996297871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187775327,"filename":"image_06012025_19_21_02_771459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58032b75edeeac61fd3a2ef4c7fbd307.jpg","text":"TemporaryFile(/tmp/multipartBody2127335788927944372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187775327,"filename":"image_06012025_19_21_02_771459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ff081b1faec99581c539c586325dfda.jpg","text":"TemporaryFile(/tmp/multipartBody5935563721813672649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187775327,"filename":"image_06012025_19_21_02_771459_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022735","file1":"1327022727","file0":"1327022726","file4":"1327022739","file3":"1327022737"},"map_files_photo_id_array":[{"photo_id":"1327022735","filename":"file2"},{"photo_id":"1327022739","filename":"file4"},{"photo_id":"1327022727","filename":"file1"},{"photo_id":"1327022726","filename":"file0"},{"photo_id":"1327022737","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022727":["hashtag1","hashtag2"]},{"1327022726":["hashtag1","hashtag2"]},{"1327022735":["hashtag1","hashtag2"]},{"1327022737":["hashtag1","hashtag2"]},{"1327022739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022727, 1327022726, 1327022735, 1327022737, 1327022739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.203392028808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 19:22:32.826562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0003.jpg', '/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0000.jpg', '/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0001.jpg', '/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/21/image_06012025_19_21_02_771459_0003.jpg
/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0000.jpg
/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0001.jpg
/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327022861","1327022864","1327022863","1327022865"],"photo_ids_order":["1327022861","1327022863","1327022864","1327022865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e266eb2a0613d581e7ff90b41215b13.jpg","text":"TemporaryFile(/tmp/multipartBody5272512493700235874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187823177,"filename":"image_06012025_19_21_02_771459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2b14ddada228e8300a448061c192aec.jpg","text":"TemporaryFile(/tmp/multipartBody8927665185451365575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187823177,"filename":"image_06012025_19_22_03_031448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86fcbc216adb2d1c252fcf9503e7669e.jpg","text":"TemporaryFile(/tmp/multipartBody8838140923217982380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187823177,"filename":"image_06012025_19_22_03_031448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/391f08ca45940273c2129ef2c7b821e7.jpg","text":"TemporaryFile(/tmp/multipartBody6971672284003645508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187823177,"filename":"image_06012025_19_22_03_031448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022864","file1":"1327022863","file0":"1327022861","file3":"1327022865"},"map_files_photo_id_array":[{"photo_id":"1327022864","filename":"file2"},{"photo_id":"1327022863","filename":"file1"},{"photo_id":"1327022861","filename":"file0"},{"photo_id":"1327022865","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022861":["hashtag1","hashtag2"]},{"1327022864":["hashtag1","hashtag2"]},{"1327022863":["hashtag1","hashtag2"]},{"1327022865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022861, 1327022864, 1327022863, 1327022865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75363755226135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:23:22.011783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0003.jpg', '/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0000.jpg', '/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0001.jpg', '/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/22/image_06012025_19_22_03_031448_0003.jpg
/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0000.jpg
/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0001.jpg
/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_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":["1327022925","1327022919","1327022930","1327022929"],"photo_ids_order":["1327022919","1327022925","1327022929","1327022930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50e3f467ffb297f43092e5136548f87e.jpg","text":"TemporaryFile(/tmp/multipartBody3846858463081058026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187872341,"filename":"image_06012025_19_23_03_171554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/959c7ad06681ef680503f181712ebe4d.jpg","text":"TemporaryFile(/tmp/multipartBody1042327629280110684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187872341,"filename":"image_06012025_19_22_03_031448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6c96e7275d8cd5234440d386652d47a.jpg","text":"TemporaryFile(/tmp/multipartBody5180863398943778084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187872341,"filename":"image_06012025_19_23_03_171554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4cfceb554cff2916af35ea1fdeb3ec63.jpg","text":"TemporaryFile(/tmp/multipartBody1704352046511539741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187872341,"filename":"image_06012025_19_23_03_171554_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022929","file1":"1327022925","file0":"1327022919","file3":"1327022930"},"map_files_photo_id_array":[{"photo_id":"1327022929","filename":"file2"},{"photo_id":"1327022925","filename":"file1"},{"photo_id":"1327022919","filename":"file0"},{"photo_id":"1327022930","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022925":["hashtag1","hashtag2"]},{"1327022919":["hashtag1","hashtag2"]},{"1327022930":["hashtag1","hashtag2"]},{"1327022929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022925, 1327022919, 1327022930, 1327022929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.65376806259155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:24:22.192285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0003.jpg', '/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0000.jpg', '/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0003.jpg
/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0000.jpg
/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_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.423246622085571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 19:24:32.123149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0003.jpg', '/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0000.jpg', '/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/23/image_06012025_19_23_03_171554_0003.jpg
/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0000.jpg
/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_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":["1327022962","1327022959","1327022964"],"photo_ids_order":["1327022959","1327022962","1327022964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4216a3fc8922c4658e9b0082f396ae14.jpg","text":"TemporaryFile(/tmp/multipartBody8389093832353263371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187939949,"filename":"image_06012025_19_24_02_360944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f72220818e5eea14141a1dfdf713544.jpg","text":"TemporaryFile(/tmp/multipartBody1689551146618236429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187939949,"filename":"image_06012025_19_23_03_171554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53a78b32f7df0e1eb1a42ce5748c5b69.jpg","text":"TemporaryFile(/tmp/multipartBody1946559077769996418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187939949,"filename":"image_06012025_19_24_02_360944_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022964","file1":"1327022962","file0":"1327022959"},"map_files_photo_id_array":[{"photo_id":"1327022964","filename":"file2"},{"photo_id":"1327022962","filename":"file1"},{"photo_id":"1327022959","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022962":["hashtag1","hashtag2"]},{"1327022959":["hashtag1","hashtag2"]},{"1327022964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022962, 1327022959, 1327022964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.73245930671692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:25:22.349328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0003.jpg', '/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0000.jpg', '/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0001.jpg', '/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/24/image_06012025_19_24_02_360944_0003.jpg
/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0000.jpg
/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0001.jpg
/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_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":["1327022978","1327023017","1327022976","1327022973"],"photo_ids_order":["1327022973","1327022976","1327022978","1327023017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/753fcef880dca1aaac2f41186cc8416a.jpg","text":"TemporaryFile(/tmp/multipartBody2275777152487361823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187992542,"filename":"image_06012025_19_25_02_500664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79bf25c72c670ae85ffeb5e767290d11.jpg","text":"TemporaryFile(/tmp/multipartBody6867748158712815995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187992542,"filename":"image_06012025_19_25_02_500664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3169a7422d60e4b0a6f5a874ef5d861e.jpg","text":"TemporaryFile(/tmp/multipartBody639143110613073634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187992542,"filename":"image_06012025_19_25_02_500664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/baef15222da72ec12c47d88f579f06f3.jpg","text":"TemporaryFile(/tmp/multipartBody2719287573205632598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736187992542,"filename":"image_06012025_19_24_02_360944_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327022978","file1":"1327022976","file0":"1327022973","file3":"1327023017"},"map_files_photo_id_array":[{"photo_id":"1327022978","filename":"file2"},{"photo_id":"1327022976","filename":"file1"},{"photo_id":"1327022973","filename":"file0"},{"photo_id":"1327023017","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327022978":["hashtag1","hashtag2"]},{"1327023017":["hashtag1","hashtag2"]},{"1327022976":["hashtag1","hashtag2"]},{"1327022973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327022978, 1327023017, 1327022976, 1327022973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46296691894531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:26:22.498562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0003.jpg', '/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_0000.jpg', '/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/25/image_06012025_19_25_02_500664_0003.jpg
/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_0000.jpg
/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_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":["1327023104","1327023099","1327023102"],"photo_ids_order":["1327023099","1327023102","1327023104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a64a74bd12b999d18382e1ecae240672.jpg","text":"TemporaryFile(/tmp/multipartBody7289184927797256026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188050334,"filename":"image_06012025_19_26_02_681184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfaffacca1036d01b3cc33b306b3e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody5486011515771004709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188050334,"filename":"image_06012025_19_25_02_500664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/355d8b949b52e233f8d5d30bf94c5cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2529639593076322962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188050334,"filename":"image_06012025_19_26_02_681184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023104","file1":"1327023102","file0":"1327023099"},"map_files_photo_id_array":[{"photo_id":"1327023104","filename":"file2"},{"photo_id":"1327023102","filename":"file1"},{"photo_id":"1327023099","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023104":["hashtag1","hashtag2"]},{"1327023099":["hashtag1","hashtag2"]},{"1327023102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023104, 1327023099, 1327023102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.576671600341797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:27:03.277712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:27:22.724046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_0002.jpg', '/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0000.jpg', '/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0001.jpg', '/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/26/image_06012025_19_26_02_681184_0002.jpg
/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0000.jpg
/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0001.jpg
/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_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":["1327023125","1327023121","1327023123","1327023117"],"photo_ids_order":["1327023117","1327023121","1327023123","1327023125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27e78f16ec99c29c56f6b1cf760094d2.jpg","text":"TemporaryFile(/tmp/multipartBody6205361281387780577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188112983,"filename":"image_06012025_19_27_02_859167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/033874bafcb4df166323a55b0172e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody5365979895309518678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188112983,"filename":"image_06012025_19_27_02_859167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1af92407cd9ce6fc9adee6ecc74f58d8.jpg","text":"TemporaryFile(/tmp/multipartBody8982754314231523951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188112983,"filename":"image_06012025_19_27_02_859167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12d268fbd2a17d41bfd9ed8d94bb1352.jpg","text":"TemporaryFile(/tmp/multipartBody3930929572183888303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188112983,"filename":"image_06012025_19_26_02_681184_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023123","file1":"1327023121","file0":"1327023117","file3":"1327023125"},"map_files_photo_id_array":[{"photo_id":"1327023123","filename":"file2"},{"photo_id":"1327023121","filename":"file1"},{"photo_id":"1327023117","filename":"file0"},{"photo_id":"1327023125","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023125":["hashtag1","hashtag2"]},{"1327023121":["hashtag1","hashtag2"]},{"1327023123":["hashtag1","hashtag2"]},{"1327023117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023125, 1327023121, 1327023123, 1327023117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.866090297698975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:28:21.903197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0003.jpg', '/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0000.jpg', '/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0001.jpg', '/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/27/image_06012025_19_27_02_859167_0003.jpg
/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0000.jpg
/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0001.jpg
/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023140","1327023146","1327023144","1327023135"],"photo_ids_order":["1327023135","1327023140","1327023144","1327023146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9bf203316694caafc6484885a27e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody2648274888297202737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188172076,"filename":"image_06012025_19_28_02_979738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02cff7d956b99f79715038989d5721cd.jpg","text":"TemporaryFile(/tmp/multipartBody4243832695178295271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188172076,"filename":"image_06012025_19_28_02_979738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9778e37cc4dc8e3783274dcf08564349.jpg","text":"TemporaryFile(/tmp/multipartBody3781189082813743591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188172076,"filename":"image_06012025_19_28_02_979738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98608bd21a1f437c14cfb7ad20874f5b.jpg","text":"TemporaryFile(/tmp/multipartBody2846054358882790434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188172076,"filename":"image_06012025_19_27_02_859167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023144","file1":"1327023140","file0":"1327023135","file3":"1327023146"},"map_files_photo_id_array":[{"photo_id":"1327023144","filename":"file2"},{"photo_id":"1327023140","filename":"file1"},{"photo_id":"1327023135","filename":"file0"},{"photo_id":"1327023146","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023140":["hashtag1","hashtag2"]},{"1327023146":["hashtag1","hashtag2"]},{"1327023144":["hashtag1","hashtag2"]},{"1327023135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023140, 1327023146, 1327023144, 1327023135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71314477920532 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-06 19:29:22.164447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0003.jpg', '/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0000.jpg', '/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0001.jpg', '/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/28/image_06012025_19_28_02_979738_0003.jpg
/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0000.jpg
/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0001.jpg
/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023236","1327023215","1327023219","1327023240"],"photo_ids_order":["1327023215","1327023219","1327023236","1327023240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e970008d6bff59a6af93970c427da2fa.jpg","text":"TemporaryFile(/tmp/multipartBody5857422128987144789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188232420,"filename":"image_06012025_19_29_02_230921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfb3d4afc892d137a005530540a831e7.jpg","text":"TemporaryFile(/tmp/multipartBody8279782754015022526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188232420,"filename":"image_06012025_19_28_02_979738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5425fd0f2e9a348c1f5318bba11823d4.jpg","text":"TemporaryFile(/tmp/multipartBody4701085953171268206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188232420,"filename":"image_06012025_19_29_02_230921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eea084bb2524cbd41f1d3316d569eebb.jpg","text":"TemporaryFile(/tmp/multipartBody1179521991251070606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188232420,"filename":"image_06012025_19_29_02_230921_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023236","file1":"1327023219","file0":"1327023215","file3":"1327023240"},"map_files_photo_id_array":[{"photo_id":"1327023236","filename":"file2"},{"photo_id":"1327023219","filename":"file1"},{"photo_id":"1327023215","filename":"file0"},{"photo_id":"1327023240","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023236":["hashtag1","hashtag2"]},{"1327023215":["hashtag1","hashtag2"]},{"1327023219":["hashtag1","hashtag2"]},{"1327023240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023236, 1327023215, 1327023219, 1327023240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.420517444610596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:30:02.714171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:30:22.250091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0003.jpg', '/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0000.jpg', '/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0001.jpg', '/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/29/image_06012025_19_29_02_230921_0003.jpg
/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0000.jpg
/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0001.jpg
/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023269","1327023263","1327023274","1327023279"],"photo_ids_order":["1327023263","1327023269","1327023274","1327023279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11a83660494587cb45947215a720d6de.jpg","text":"TemporaryFile(/tmp/multipartBody1300116123850548433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188292311,"filename":"image_06012025_19_30_02_538595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66f37604362252080adff1c05337fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody2157052597905143083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188292311,"filename":"image_06012025_19_29_02_230921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04e2844fed86d2d1e8dde1da7780217a.jpg","text":"TemporaryFile(/tmp/multipartBody911465065768014565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188292311,"filename":"image_06012025_19_30_02_538595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f21be038804e55eee8ce5aff52ad883b.jpg","text":"TemporaryFile(/tmp/multipartBody2380020384112968520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188292311,"filename":"image_06012025_19_30_02_538595_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023274","file1":"1327023269","file0":"1327023263","file3":"1327023279"},"map_files_photo_id_array":[{"photo_id":"1327023274","filename":"file2"},{"photo_id":"1327023269","filename":"file1"},{"photo_id":"1327023263","filename":"file0"},{"photo_id":"1327023279","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023269":["hashtag1","hashtag2"]},{"1327023263":["hashtag1","hashtag2"]},{"1327023274":["hashtag1","hashtag2"]},{"1327023279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023269, 1327023263, 1327023274, 1327023279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.836095571517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:31:03.037014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:31:22.459785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0003.jpg', '/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0000.jpg', '/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0001.jpg', '/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/30/image_06012025_19_30_02_538595_0003.jpg
/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0000.jpg
/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0001.jpg
/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_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":["1327023295","1327023306","1327023299","1327023303"],"photo_ids_order":["1327023295","1327023299","1327023303","1327023306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fb77537d03ff7f9343fa85a43788e25.jpg","text":"TemporaryFile(/tmp/multipartBody2148969268107223646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188352674,"filename":"image_06012025_19_30_02_538595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/685dc84d22236c1036ed58b9ccebde82.jpg","text":"TemporaryFile(/tmp/multipartBody3339270145566415542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188352674,"filename":"image_06012025_19_31_02_709739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efed3ab0ce880d61339ea78425ee8083.jpg","text":"TemporaryFile(/tmp/multipartBody4467709577670337072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188352674,"filename":"image_06012025_19_31_02_709739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efc857a54e88600f40d6be3a99870041.jpg","text":"TemporaryFile(/tmp/multipartBody4319482688248160214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188352674,"filename":"image_06012025_19_31_02_709739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023303","file1":"1327023299","file0":"1327023295","file3":"1327023306"},"map_files_photo_id_array":[{"photo_id":"1327023303","filename":"file2"},{"photo_id":"1327023299","filename":"file1"},{"photo_id":"1327023295","filename":"file0"},{"photo_id":"1327023306","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023295":["hashtag1","hashtag2"]},{"1327023306":["hashtag1","hashtag2"]},{"1327023299":["hashtag1","hashtag2"]},{"1327023303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023295, 1327023306, 1327023299, 1327023303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.20480680465698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:32:22.681916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0003.jpg', '/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0000.jpg', '/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0001.jpg', '/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/31/image_06012025_19_31_02_709739_0003.jpg
/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0000.jpg
/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0001.jpg
/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023350","1327023344","1327023354","1327023357"],"photo_ids_order":["1327023344","1327023350","1327023354","1327023357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b43a5946c0fe1a13a49eb3a86c061eac.jpg","text":"TemporaryFile(/tmp/multipartBody697948796280398725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188412782,"filename":"image_06012025_19_32_02_819138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/581a65f432b3ce9c907ea925bd3612f2.jpg","text":"TemporaryFile(/tmp/multipartBody319623493926680271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188412782,"filename":"image_06012025_19_31_02_709739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/316bd629bb780186bef5fc03300c83a7.jpg","text":"TemporaryFile(/tmp/multipartBody6363827420437987345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188412782,"filename":"image_06012025_19_32_02_819138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ba4ffe5ab022e978057d6d6c6359101.jpg","text":"TemporaryFile(/tmp/multipartBody8759326978289115154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188412782,"filename":"image_06012025_19_32_02_819138_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023354","file1":"1327023350","file0":"1327023344","file3":"1327023357"},"map_files_photo_id_array":[{"photo_id":"1327023354","filename":"file2"},{"photo_id":"1327023350","filename":"file1"},{"photo_id":"1327023344","filename":"file0"},{"photo_id":"1327023357","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023350":["hashtag1","hashtag2"]},{"1327023344":["hashtag1","hashtag2"]},{"1327023354":["hashtag1","hashtag2"]},{"1327023357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023350, 1327023344, 1327023354, 1327023357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98714518547058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:33:02.481102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:33:21.788437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0003.jpg', '/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0000.jpg', '/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0001.jpg', '/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/32/image_06012025_19_32_02_819138_0003.jpg
/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0000.jpg
/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0001.jpg
/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_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":["1327023422","1327023417","1327023432","1327023411"],"photo_ids_order":["1327023411","1327023417","1327023422","1327023432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e561f14282648911da8e0ed2172ad01.jpg","text":"TemporaryFile(/tmp/multipartBody2381843583039177648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188472038,"filename":"image_06012025_19_33_03_102194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1b05f9b2fbb46752c83d1bb64ae6c83.jpg","text":"TemporaryFile(/tmp/multipartBody8765087754872758001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188472038,"filename":"image_06012025_19_33_03_102194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/221a018d851dafa8a4a57a7426db774a.jpg","text":"TemporaryFile(/tmp/multipartBody1686398722595385665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188472038,"filename":"image_06012025_19_33_03_102194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9284da3a2105ee005cef0d7938f27bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3297514019309420888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188472038,"filename":"image_06012025_19_32_02_819138_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023422","file1":"1327023417","file0":"1327023411","file3":"1327023432"},"map_files_photo_id_array":[{"photo_id":"1327023422","filename":"file2"},{"photo_id":"1327023417","filename":"file1"},{"photo_id":"1327023411","filename":"file0"},{"photo_id":"1327023432","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023422":["hashtag1","hashtag2"]},{"1327023417":["hashtag1","hashtag2"]},{"1327023432":["hashtag1","hashtag2"]},{"1327023411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023422, 1327023417, 1327023432, 1327023411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94344520568848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:34:22.000285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0003.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0000.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0001.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0003.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0000.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0001.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_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.868001699447632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:34:41.952257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0003.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0000.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0001.jpg', '/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/33/image_06012025_19_33_03_102194_0003.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0000.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0001.jpg
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_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":["1327023478","1327023480","1327023482","1327023485"],"photo_ids_order":["1327023478","1327023480","1327023482","1327023485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64cc99c8ef55d441a2a1f0a5efa82ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2474552496776242958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188552235,"filename":"image_06012025_19_33_03_102194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1925d9a8c9bd3f9af7cd11cf4d180f6a.jpg","text":"TemporaryFile(/tmp/multipartBody158096609080435204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188552235,"filename":"image_06012025_19_34_02_114885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91f28b2c0695c0bc4540ed76da1496c0.jpg","text":"TemporaryFile(/tmp/multipartBody4988991880575499803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188552235,"filename":"image_06012025_19_34_02_114885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02b9152c92f2eb6132953d21d2f981b7.jpg","text":"TemporaryFile(/tmp/multipartBody3375718489382237254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188552235,"filename":"image_06012025_19_34_02_114885_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023482","file1":"1327023480","file0":"1327023478","file3":"1327023485"},"map_files_photo_id_array":[{"photo_id":"1327023482","filename":"file2"},{"photo_id":"1327023480","filename":"file1"},{"photo_id":"1327023478","filename":"file0"},{"photo_id":"1327023485","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023478":["hashtag1","hashtag2"]},{"1327023480":["hashtag1","hashtag2"]},{"1327023482":["hashtag1","hashtag2"]},{"1327023485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023478, 1327023480, 1327023482, 1327023485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83657789230347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:35:22.214386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0003.jpg', '/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0000.jpg', '/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0001.jpg', '/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/34/image_06012025_19_34_02_114885_0003.jpg
/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0000.jpg
/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0001.jpg
/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023806","1327023815","1327023817","1327023720"],"photo_ids_order":["1327023720","1327023806","1327023815","1327023817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c04ddeb4903b4604ba031eeb3f123fe.jpg","text":"TemporaryFile(/tmp/multipartBody5899447904130899049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188592369,"filename":"image_06012025_19_35_02_344296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6776bb364bb11a86e85ac23263077065.jpg","text":"TemporaryFile(/tmp/multipartBody1361454408238421421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188592369,"filename":"image_06012025_19_35_02_344296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f75749816de7e8c29064f01dff869a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7336909115627751190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188592369,"filename":"image_06012025_19_35_02_344296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a555eafbb8b0c8a5d11172450534a07.jpg","text":"TemporaryFile(/tmp/multipartBody8002185539300511560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188592369,"filename":"image_06012025_19_34_02_114885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023815","file1":"1327023806","file0":"1327023720","file3":"1327023817"},"map_files_photo_id_array":[{"photo_id":"1327023815","filename":"file2"},{"photo_id":"1327023806","filename":"file1"},{"photo_id":"1327023720","filename":"file0"},{"photo_id":"1327023817","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023806":["hashtag1","hashtag2"]},{"1327023815":["hashtag1","hashtag2"]},{"1327023817":["hashtag1","hashtag2"]},{"1327023720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023806, 1327023815, 1327023817, 1327023720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.431910276412964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:36:02.874381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:36:22.329968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0003.jpg', '/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0000.jpg', '/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0001.jpg', '/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/35/image_06012025_19_35_02_344296_0003.jpg
/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0000.jpg
/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0001.jpg
/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_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":["1327023842","1327023883","1327023879","1327023873"],"photo_ids_order":["1327023842","1327023873","1327023879","1327023883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f47bf1edbb169f04ac8e94dc8761073c.jpg","text":"TemporaryFile(/tmp/multipartBody812405290810919861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188652517,"filename":"image_06012025_19_35_02_344296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ccb64db0d98bb3991d07970312d6780.jpg","text":"TemporaryFile(/tmp/multipartBody3627769917199083140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188652517,"filename":"image_06012025_19_36_02_534551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb23f39444b6cbac8a50a34ef74321e4.jpg","text":"TemporaryFile(/tmp/multipartBody2445312231891405579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188652517,"filename":"image_06012025_19_36_02_534551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcdf4ededee3cb592a4aa05c93305cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5806844528521714023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188652517,"filename":"image_06012025_19_36_02_534551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023879","file1":"1327023873","file0":"1327023842","file3":"1327023883"},"map_files_photo_id_array":[{"photo_id":"1327023879","filename":"file2"},{"photo_id":"1327023873","filename":"file1"},{"photo_id":"1327023842","filename":"file0"},{"photo_id":"1327023883","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023842":["hashtag1","hashtag2"]},{"1327023883":["hashtag1","hashtag2"]},{"1327023879":["hashtag1","hashtag2"]},{"1327023873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023842, 1327023883, 1327023879, 1327023873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.69167923927307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:37:22.573516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0003.jpg', '/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0000.jpg', '/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0001.jpg', '/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/36/image_06012025_19_36_02_534551_0003.jpg
/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0000.jpg
/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0001.jpg
/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023931","1327023928","1327023933","1327023936"],"photo_ids_order":["1327023928","1327023931","1327023933","1327023936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d6b2cb6cdb63c3be59f0f707d5ee4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7217129464515628697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188712894,"filename":"image_06012025_19_37_02_783482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33b7bc8765aa9c7c3ab736b1beb5cf8e.jpg","text":"TemporaryFile(/tmp/multipartBody5640910585712767126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188712894,"filename":"image_06012025_19_36_02_534551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f830f4f4acca5c13e676273a27ea7991.jpg","text":"TemporaryFile(/tmp/multipartBody2495114408270880950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188712894,"filename":"image_06012025_19_37_02_783482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/117cc7c82a7e168b3e2c344c867cd127.jpg","text":"TemporaryFile(/tmp/multipartBody5893640637341965470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188712894,"filename":"image_06012025_19_37_02_783482_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023933","file1":"1327023931","file0":"1327023928","file3":"1327023936"},"map_files_photo_id_array":[{"photo_id":"1327023933","filename":"file2"},{"photo_id":"1327023931","filename":"file1"},{"photo_id":"1327023928","filename":"file0"},{"photo_id":"1327023936","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023931":["hashtag1","hashtag2"]},{"1327023928":["hashtag1","hashtag2"]},{"1327023933":["hashtag1","hashtag2"]},{"1327023936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023931, 1327023928, 1327023933, 1327023936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11530900001526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:38:02.152967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:38:21.740665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0003.jpg', '/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0000.jpg', '/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0001.jpg', '/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/37/image_06012025_19_37_02_783482_0003.jpg
/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0000.jpg
/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0001.jpg
/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023955","1327023949","1327023945","1327023948"],"photo_ids_order":["1327023945","1327023948","1327023949","1327023955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e840cbb261ef700664637f71e5515690.jpg","text":"TemporaryFile(/tmp/multipartBody5036493210507048402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188772020,"filename":"image_06012025_19_38_03_014172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3500304359abc6ce966435c4befe61b.jpg","text":"TemporaryFile(/tmp/multipartBody1759586915144683024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188772020,"filename":"image_06012025_19_38_03_014172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/209e516daaf31a0009f403237873ac78.jpg","text":"TemporaryFile(/tmp/multipartBody7169639433302293224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188772020,"filename":"image_06012025_19_37_02_783482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/089304ef1051561d7cbc2d1dab9963ff.jpg","text":"TemporaryFile(/tmp/multipartBody3726202252737134224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188772020,"filename":"image_06012025_19_38_03_014172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023949","file1":"1327023948","file0":"1327023945","file3":"1327023955"},"map_files_photo_id_array":[{"photo_id":"1327023949","filename":"file2"},{"photo_id":"1327023948","filename":"file1"},{"photo_id":"1327023945","filename":"file0"},{"photo_id":"1327023955","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023955":["hashtag1","hashtag2"]},{"1327023949":["hashtag1","hashtag2"]},{"1327023945":["hashtag1","hashtag2"]},{"1327023948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023955, 1327023949, 1327023945, 1327023948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.293914556503296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:39:02.409778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:39:21.967874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0003.jpg', '/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0000.jpg', '/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0001.jpg', '/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/38/image_06012025_19_38_03_014172_0003.jpg
/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0000.jpg
/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0001.jpg
/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327023994","1327023990","1327023992","1327023986"],"photo_ids_order":["1327023986","1327023990","1327023992","1327023994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/baa8a2e9c71ff01d8cabe15886100471.jpg","text":"TemporaryFile(/tmp/multipartBody5594292583656267776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188832204,"filename":"image_06012025_19_39_02_094058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80b574070eadc174eb171b685b6a8c57.jpg","text":"TemporaryFile(/tmp/multipartBody8419547623929073010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188832204,"filename":"image_06012025_19_39_02_094058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b775eeb359a6bb7394b433475c66eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3381639326263661805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188832204,"filename":"image_06012025_19_39_02_094058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12ab3f244d092198e5f362e652d34200.jpg","text":"TemporaryFile(/tmp/multipartBody6440869446573803450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188832204,"filename":"image_06012025_19_38_03_014172_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327023992","file1":"1327023990","file0":"1327023986","file3":"1327023994"},"map_files_photo_id_array":[{"photo_id":"1327023992","filename":"file2"},{"photo_id":"1327023990","filename":"file1"},{"photo_id":"1327023986","filename":"file0"},{"photo_id":"1327023994","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327023994":["hashtag1","hashtag2"]},{"1327023990":["hashtag1","hashtag2"]},{"1327023992":["hashtag1","hashtag2"]},{"1327023986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327023994, 1327023990, 1327023992, 1327023986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13688588142395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:40:02.543645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:40:22.141281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0003.jpg', '/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0000.jpg', '/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0001.jpg', '/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/39/image_06012025_19_39_02_094058_0003.jpg
/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0000.jpg
/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0001.jpg
/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_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":["1327024112","1327024168","1327024070","1327024157"],"photo_ids_order":["1327024070","1327024112","1327024157","1327024168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89cbce626743d4fdb037c112c5729920.jpg","text":"TemporaryFile(/tmp/multipartBody5514072864881815853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188892304,"filename":"image_06012025_19_40_02_270654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/412d1ff4627b91e38975bc8bb4176694.jpg","text":"TemporaryFile(/tmp/multipartBody4066283359038479273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188892304,"filename":"image_06012025_19_40_02_270654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14fbcc988b33ce722e6999b2e8c10188.jpg","text":"TemporaryFile(/tmp/multipartBody4052048094704922178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188892304,"filename":"image_06012025_19_39_02_094058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e14d5fd6eb70c6c9041810591ebaff5b.jpg","text":"TemporaryFile(/tmp/multipartBody7045798392346838630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188892304,"filename":"image_06012025_19_40_02_270654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024157","file1":"1327024112","file0":"1327024070","file3":"1327024168"},"map_files_photo_id_array":[{"photo_id":"1327024157","filename":"file2"},{"photo_id":"1327024112","filename":"file1"},{"photo_id":"1327024070","filename":"file0"},{"photo_id":"1327024168","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024112":["hashtag1","hashtag2"]},{"1327024168":["hashtag1","hashtag2"]},{"1327024070":["hashtag1","hashtag2"]},{"1327024157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024112, 1327024168, 1327024070, 1327024157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.42440366744995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:41:22.314541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0003.jpg', '/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0000.jpg', '/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0001.jpg', '/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/40/image_06012025_19_40_02_270654_0003.jpg
/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0000.jpg
/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0001.jpg
/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_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":["1327024322","1327024318","1327024317","1327024325"],"photo_ids_order":["1327024317","1327024318","1327024322","1327024325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71cf22041ff6ec0986e199031ea698f5.jpg","text":"TemporaryFile(/tmp/multipartBody4845319393797114872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188952467,"filename":"image_06012025_19_41_02_451365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5d0aac6a21861e696b1e17d51b344de.jpg","text":"TemporaryFile(/tmp/multipartBody3304769197098603144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188952467,"filename":"image_06012025_19_41_02_451365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca0282d63e444d4722d97ff60d8d1a45.jpg","text":"TemporaryFile(/tmp/multipartBody7502512863688422481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188952467,"filename":"image_06012025_19_40_02_270654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86813dfd576d559416a27659943be34b.jpg","text":"TemporaryFile(/tmp/multipartBody1440815918306252373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736188952467,"filename":"image_06012025_19_41_02_451365_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024322","file1":"1327024318","file0":"1327024317","file3":"1327024325"},"map_files_photo_id_array":[{"photo_id":"1327024322","filename":"file2"},{"photo_id":"1327024318","filename":"file1"},{"photo_id":"1327024317","filename":"file0"},{"photo_id":"1327024325","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024322":["hashtag1","hashtag2"]},{"1327024318":["hashtag1","hashtag2"]},{"1327024317":["hashtag1","hashtag2"]},{"1327024325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024322, 1327024318, 1327024317, 1327024325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.340532541275024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:42:22.527193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0003.jpg', '/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0000.jpg', '/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0001.jpg', '/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/41/image_06012025_19_41_02_451365_0003.jpg
/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0000.jpg
/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0001.jpg
/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024366","1327024368","1327024376","1327024370"],"photo_ids_order":["1327024366","1327024368","1327024370","1327024376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bb8db3c7f42bcae0bb70bbb756c3a374.jpg","text":"TemporaryFile(/tmp/multipartBody3063310449460909929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189012534,"filename":"image_06012025_19_41_02_451365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e75131d891f6a919049776d184a07f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1396832847493923041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189012534,"filename":"image_06012025_19_42_02_695410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b8fde86f3fe6e8ae7b946121b3a2582.jpg","text":"TemporaryFile(/tmp/multipartBody7761996482254792776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189012534,"filename":"image_06012025_19_42_02_695410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4a63a4c62657acd5afb77876bacb08b.jpg","text":"TemporaryFile(/tmp/multipartBody1371311438461263840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189012534,"filename":"image_06012025_19_42_02_695410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024370","file1":"1327024368","file0":"1327024366","file3":"1327024376"},"map_files_photo_id_array":[{"photo_id":"1327024370","filename":"file2"},{"photo_id":"1327024368","filename":"file1"},{"photo_id":"1327024366","filename":"file0"},{"photo_id":"1327024376","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024366":["hashtag1","hashtag2"]},{"1327024368":["hashtag1","hashtag2"]},{"1327024376":["hashtag1","hashtag2"]},{"1327024370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024366, 1327024368, 1327024376, 1327024370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.896512508392334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:43:03.133439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:43:22.622229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0003.jpg', '/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0000.jpg', '/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0001.jpg', '/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/42/image_06012025_19_42_02_695410_0003.jpg
/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0000.jpg
/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0001.jpg
/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024390","1327024392","1327024394","1327024397"],"photo_ids_order":["1327024390","1327024392","1327024394","1327024397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a0257f48447947fd9923a2ea1ac1743.jpg","text":"TemporaryFile(/tmp/multipartBody6692861502993080508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189072842,"filename":"image_06012025_19_42_02_695410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3eb55e971bb77d1837c5042928a5be16.jpg","text":"TemporaryFile(/tmp/multipartBody7761084563657361945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189072842,"filename":"image_06012025_19_43_02_763056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dca8baceb38c4613073bb9bba24f8132.jpg","text":"TemporaryFile(/tmp/multipartBody1090334169012944434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189072842,"filename":"image_06012025_19_43_02_763056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c311ad439157504e6d39d14a45ae0b69.jpg","text":"TemporaryFile(/tmp/multipartBody477858236338144358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189072842,"filename":"image_06012025_19_43_02_763056_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024394","file1":"1327024392","file0":"1327024390","file3":"1327024397"},"map_files_photo_id_array":[{"photo_id":"1327024394","filename":"file2"},{"photo_id":"1327024392","filename":"file1"},{"photo_id":"1327024390","filename":"file0"},{"photo_id":"1327024397","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024390":["hashtag1","hashtag2"]},{"1327024392":["hashtag1","hashtag2"]},{"1327024394":["hashtag1","hashtag2"]},{"1327024397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024390, 1327024392, 1327024394, 1327024397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.555421352386475 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-06 19:44:21.827289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0003.jpg', '/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0000.jpg', '/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0001.jpg', '/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/43/image_06012025_19_43_02_763056_0003.jpg
/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0000.jpg
/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0001.jpg
/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024549","1327024551","1327024554","1327024536"],"photo_ids_order":["1327024536","1327024549","1327024551","1327024554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f927fbb69bece675ddbf539c7e22ecee.jpg","text":"TemporaryFile(/tmp/multipartBody2566592389029872945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189131960,"filename":"image_06012025_19_44_02_974156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7836cac38a7b3210b39ab83172406f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6573504848916026872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189131960,"filename":"image_06012025_19_44_02_974156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/facecf222ba94ac29f87be482cd3d494.jpg","text":"TemporaryFile(/tmp/multipartBody1899451735662591259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189131960,"filename":"image_06012025_19_44_02_974156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c483db29a3b5965cc29468f96cdf84fd.jpg","text":"TemporaryFile(/tmp/multipartBody1431786881538114536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189131960,"filename":"image_06012025_19_43_02_763056_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024551","file1":"1327024549","file0":"1327024536","file3":"1327024554"},"map_files_photo_id_array":[{"photo_id":"1327024551","filename":"file2"},{"photo_id":"1327024549","filename":"file1"},{"photo_id":"1327024536","filename":"file0"},{"photo_id":"1327024554","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024549":["hashtag1","hashtag2"]},{"1327024551":["hashtag1","hashtag2"]},{"1327024554":["hashtag1","hashtag2"]},{"1327024536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024549, 1327024551, 1327024554, 1327024536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93887710571289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:45:02.662774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:45:22.058776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0003.jpg', '/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/44/image_06012025_19_44_02_974156_0003.jpg
/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_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":["1327024621","1327024617"],"photo_ids_order":["1327024617","1327024621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4434daa45e7365eaad462af1d2a1852.jpg","text":"TemporaryFile(/tmp/multipartBody6451741047501877370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189187366,"filename":"image_06012025_19_45_02_230833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62e14378f97433605f52b3afc0f1868a.jpg","text":"TemporaryFile(/tmp/multipartBody1759202408959646626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189187366,"filename":"image_06012025_19_44_02_974156_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327024621","file0":"1327024617"},"map_files_photo_id_array":[{"photo_id":"1327024621","filename":"file1"},{"photo_id":"1327024617","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024621":["hashtag1","hashtag2"]},{"1327024617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024621, 1327024617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.833828926086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 19:45:52.120930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:46:02.708582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:46:22.351696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_0003.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0000.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0001.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_0003.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0000.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0001.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_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.656563997268677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 19:46:42.340054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_0003.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0000.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0001.jpg', '/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/45/image_06012025_19_45_02_230833_0003.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0000.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0001.jpg
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_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":["1327024696","1327024699","1327024698","1327024701"],"photo_ids_order":["1327024696","1327024698","1327024699","1327024701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af28124fbd97590d9ee91a2799882388.jpg","text":"TemporaryFile(/tmp/multipartBody560860238452520298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189272414,"filename":"image_06012025_19_45_02_230833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c13c586f475d6c4890cbcf81302bead9.jpg","text":"TemporaryFile(/tmp/multipartBody5162616952961366750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189272414,"filename":"image_06012025_19_46_02_498949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ed05206e28284a05a263e2a49283cc9.jpg","text":"TemporaryFile(/tmp/multipartBody9103064812796286553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189272414,"filename":"image_06012025_19_46_02_498949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48b2a5069e000676c96683f5c83d34eb.jpg","text":"TemporaryFile(/tmp/multipartBody4677508983739227723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189272414,"filename":"image_06012025_19_46_02_498949_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024699","file1":"1327024698","file0":"1327024696","file3":"1327024701"},"map_files_photo_id_array":[{"photo_id":"1327024699","filename":"file2"},{"photo_id":"1327024698","filename":"file1"},{"photo_id":"1327024696","filename":"file0"},{"photo_id":"1327024701","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024696":["hashtag1","hashtag2"]},{"1327024699":["hashtag1","hashtag2"]},{"1327024698":["hashtag1","hashtag2"]},{"1327024701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024696, 1327024699, 1327024698, 1327024701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.637850761413574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:47:22.550347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0003.jpg', '/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0000.jpg', '/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0001.jpg', '/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/46/image_06012025_19_46_02_498949_0003.jpg
/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0000.jpg
/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0001.jpg
/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024747","1327024749","1327024751","1327024742"],"photo_ids_order":["1327024742","1327024747","1327024749","1327024751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d9b63a500f0771810f3d1bea749cda7.jpg","text":"TemporaryFile(/tmp/multipartBody3404030641399131135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189312680,"filename":"image_06012025_19_47_02_681731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a55cd2cb505ece0a9a447137c17f6684.jpg","text":"TemporaryFile(/tmp/multipartBody8018549799070729432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189312680,"filename":"image_06012025_19_47_02_681731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d31c6a949157ce9c6a59a0d5ff50a92.jpg","text":"TemporaryFile(/tmp/multipartBody7214411124728093613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189312680,"filename":"image_06012025_19_47_02_681731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/322bc0e936e42644a107263b22fe89cb.jpg","text":"TemporaryFile(/tmp/multipartBody4609620027543472456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189312680,"filename":"image_06012025_19_46_02_498949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024749","file1":"1327024747","file0":"1327024742","file3":"1327024751"},"map_files_photo_id_array":[{"photo_id":"1327024749","filename":"file2"},{"photo_id":"1327024747","filename":"file1"},{"photo_id":"1327024742","filename":"file0"},{"photo_id":"1327024751","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024747":["hashtag1","hashtag2"]},{"1327024749":["hashtag1","hashtag2"]},{"1327024751":["hashtag1","hashtag2"]},{"1327024742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024747, 1327024749, 1327024751, 1327024742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09574770927429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:48:02.968519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:48:22.612950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0003.jpg', '/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0000.jpg', '/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0001.jpg', '/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/47/image_06012025_19_47_02_681731_0003.jpg
/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0000.jpg
/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0001.jpg
/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024811","1327024795","1327024808","1327024821"],"photo_ids_order":["1327024795","1327024808","1327024811","1327024821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a91f2ddec27e465de2dae7350618c217.jpg","text":"TemporaryFile(/tmp/multipartBody4095876510301361916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189372930,"filename":"image_06012025_19_48_02_881722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1969bad093dfe1e5e687af559eb585c7.jpg","text":"TemporaryFile(/tmp/multipartBody3514050422064480278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189372930,"filename":"image_06012025_19_47_02_681731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3785e53d80886593fe233054892b1b27.jpg","text":"TemporaryFile(/tmp/multipartBody8185045289130578857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189372930,"filename":"image_06012025_19_48_02_881722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/607dc528e95ebabf723944c616761364.jpg","text":"TemporaryFile(/tmp/multipartBody5391544391911146136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189372930,"filename":"image_06012025_19_48_02_881722_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024811","file1":"1327024808","file0":"1327024795","file3":"1327024821"},"map_files_photo_id_array":[{"photo_id":"1327024811","filename":"file2"},{"photo_id":"1327024808","filename":"file1"},{"photo_id":"1327024795","filename":"file0"},{"photo_id":"1327024821","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024811":["hashtag1","hashtag2"]},{"1327024795":["hashtag1","hashtag2"]},{"1327024808":["hashtag1","hashtag2"]},{"1327024821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024811, 1327024795, 1327024808, 1327024821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48019337654114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:49:02.514974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:49:21.898520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0003.jpg', '/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0000.jpg', '/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0001.jpg', '/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/48/image_06012025_19_48_02_881722_0003.jpg
/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0000.jpg
/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0001.jpg
/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_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":["1327024919","1327024930","1327024921","1327024853"],"photo_ids_order":["1327024853","1327024919","1327024921","1327024930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/83f9b647ce2333a44f13eb2be3235ccc.jpg","text":"TemporaryFile(/tmp/multipartBody781184617749940274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189432014,"filename":"image_06012025_19_49_03_056627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93c1c425a250fefa963410cc6b557766.jpg","text":"TemporaryFile(/tmp/multipartBody3445286127018249218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189432014,"filename":"image_06012025_19_49_03_056627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fc71b11406f4c1944939d067876f35f.jpg","text":"TemporaryFile(/tmp/multipartBody805220188763233248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189432014,"filename":"image_06012025_19_49_03_056627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b981567a79fb7250e0fcf9896271dbe7.jpg","text":"TemporaryFile(/tmp/multipartBody674082590581144940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189432014,"filename":"image_06012025_19_48_02_881722_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024921","file1":"1327024919","file0":"1327024853","file3":"1327024930"},"map_files_photo_id_array":[{"photo_id":"1327024921","filename":"file2"},{"photo_id":"1327024919","filename":"file1"},{"photo_id":"1327024853","filename":"file0"},{"photo_id":"1327024930","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024919":["hashtag1","hashtag2"]},{"1327024930":["hashtag1","hashtag2"]},{"1327024921":["hashtag1","hashtag2"]},{"1327024853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024919, 1327024930, 1327024921, 1327024853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.724578619003296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:50:22.095902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0003.jpg', '/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0000.jpg', '/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0001.jpg', '/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/49/image_06012025_19_49_03_056627_0003.jpg
/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0000.jpg
/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0001.jpg
/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327024956","1327024959","1327024952","1327024949"],"photo_ids_order":["1327024949","1327024952","1327024956","1327024959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1903937e9cefb3a2dc98a41919f731b1.jpg","text":"TemporaryFile(/tmp/multipartBody8959381924897608729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189492190,"filename":"image_06012025_19_50_02_233955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28f3a6196c0c07197b685a7fd87bd29a.jpg","text":"TemporaryFile(/tmp/multipartBody4099068590892006377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189492190,"filename":"image_06012025_19_50_02_233955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a6ba61f015982d4c73ab92e60bdea0f.jpg","text":"TemporaryFile(/tmp/multipartBody6218919512956577822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189492190,"filename":"image_06012025_19_50_02_233955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/641616eb927e483907c804931ef7d63a.jpg","text":"TemporaryFile(/tmp/multipartBody244394676306863874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189492190,"filename":"image_06012025_19_49_03_056627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327024956","file1":"1327024952","file0":"1327024949","file3":"1327024959"},"map_files_photo_id_array":[{"photo_id":"1327024956","filename":"file2"},{"photo_id":"1327024952","filename":"file1"},{"photo_id":"1327024949","filename":"file0"},{"photo_id":"1327024959","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327024956":["hashtag1","hashtag2"]},{"1327024959":["hashtag1","hashtag2"]},{"1327024952":["hashtag1","hashtag2"]},{"1327024949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327024956, 1327024959, 1327024952, 1327024949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.421987533569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:51:02.815637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:51:22.398788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0003.jpg', '/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0000.jpg', '/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0001.jpg', '/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/50/image_06012025_19_50_02_233955_0003.jpg
/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0000.jpg
/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0001.jpg
/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_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":["1327025035","1327025029","1327025033","1327025036"],"photo_ids_order":["1327025029","1327025033","1327025035","1327025036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3997bed8f72ce70d061342cd6de9e1be.jpg","text":"TemporaryFile(/tmp/multipartBody4761876732507450781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189552597,"filename":"image_06012025_19_51_02_495333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f61309256c47a69c719d9c220fd9b9ea.jpg","text":"TemporaryFile(/tmp/multipartBody8190939078725199228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189552597,"filename":"image_06012025_19_50_02_233955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30938350eae1c29506d75178745329ea.jpg","text":"TemporaryFile(/tmp/multipartBody3675089035947014090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189552597,"filename":"image_06012025_19_51_02_495333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f16e0cc00360517a550074dcfce32db0.jpg","text":"TemporaryFile(/tmp/multipartBody9078314787663175574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189552597,"filename":"image_06012025_19_51_02_495333_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025035","file1":"1327025033","file0":"1327025029","file3":"1327025036"},"map_files_photo_id_array":[{"photo_id":"1327025035","filename":"file2"},{"photo_id":"1327025033","filename":"file1"},{"photo_id":"1327025029","filename":"file0"},{"photo_id":"1327025036","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025035":["hashtag1","hashtag2"]},{"1327025029":["hashtag1","hashtag2"]},{"1327025033":["hashtag1","hashtag2"]},{"1327025036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025035, 1327025029, 1327025033, 1327025036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.605412006378174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:52:22.481413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0003.jpg', '/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0000.jpg', '/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0001.jpg', '/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/51/image_06012025_19_51_02_495333_0003.jpg
/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0000.jpg
/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0001.jpg
/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327025046","1327025049","1327025057","1327025098"],"photo_ids_order":["1327025046","1327025049","1327025057","1327025098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48aef96a64ea38f3e8100e5dfa0e7648.jpg","text":"TemporaryFile(/tmp/multipartBody6774842004980108247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189612636,"filename":"image_06012025_19_51_02_495333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed7cf16babd483c2398343fa3b0f0dc9.jpg","text":"TemporaryFile(/tmp/multipartBody1928937721132565194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189612636,"filename":"image_06012025_19_52_02_728489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6177cad0a00d22bb4d0b6aa18686f483.jpg","text":"TemporaryFile(/tmp/multipartBody1673742799412841161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189612636,"filename":"image_06012025_19_52_02_728489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53ce927c90a64bc563fec61c146a4a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8329777016084606103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189612636,"filename":"image_06012025_19_52_02_728489_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025057","file1":"1327025049","file0":"1327025046","file3":"1327025098"},"map_files_photo_id_array":[{"photo_id":"1327025057","filename":"file2"},{"photo_id":"1327025049","filename":"file1"},{"photo_id":"1327025046","filename":"file0"},{"photo_id":"1327025098","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025046":["hashtag1","hashtag2"]},{"1327025049":["hashtag1","hashtag2"]},{"1327025057":["hashtag1","hashtag2"]},{"1327025098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025046, 1327025049, 1327025057, 1327025098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.137401819229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:53:03.246077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:53:22.571916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0003.jpg', '/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_0000.jpg', '/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/52/image_06012025_19_52_02_728489_0003.jpg
/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_0000.jpg
/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_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":["1327025163","1327025166","1327025169"],"photo_ids_order":["1327025163","1327025166","1327025169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c1cfbf2e87d745fd23bcc3fbf9efd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7884009477905959087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189670193,"filename":"image_06012025_19_52_02_728489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2558d52ea7a753e9c5585e4d32b71fce.jpg","text":"TemporaryFile(/tmp/multipartBody6932039838043242045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189670193,"filename":"image_06012025_19_53_02_805609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c780e8788834bfe368e0b491453d8821.jpg","text":"TemporaryFile(/tmp/multipartBody4889743781182978311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189670193,"filename":"image_06012025_19_53_02_805609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025169","file1":"1327025166","file0":"1327025163"},"map_files_photo_id_array":[{"photo_id":"1327025169","filename":"file2"},{"photo_id":"1327025166","filename":"file1"},{"photo_id":"1327025163","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025163":["hashtag1","hashtag2"]},{"1327025166":["hashtag1","hashtag2"]},{"1327025169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025163, 1327025166, 1327025169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.625575065612793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:54:02.247261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:54:21.879342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_0002.jpg', '/home/pi/Desktop/images/06012025/19/54/image_06012025_19_54_03_123931_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/53/image_06012025_19_53_02_805609_0002.jpg
/home/pi/Desktop/images/06012025/19/54/image_06012025_19_54_03_123931_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":["1327025295","1327025291"],"photo_ids_order":["1327025291","1327025295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b518cd6a8e4a35e028b245dfa9b3f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody729987522997198607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189727154,"filename":"image_06012025_19_54_03_123931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ecb0f1235548c9a89d258c38323eb6d.jpg","text":"TemporaryFile(/tmp/multipartBody864069255540102723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189727154,"filename":"image_06012025_19_53_02_805609_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327025295","file0":"1327025291"},"map_files_photo_id_array":[{"photo_id":"1327025295","filename":"file1"},{"photo_id":"1327025291","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025295":["hashtag1","hashtag2"]},{"1327025291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025295, 1327025291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.81980562210083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 19:54:51.830719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:55:02.633658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:55:21.986386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/54/image_06012025_19_54_03_123931_0002.jpg', '/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_0000.jpg', '/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/54/image_06012025_19_54_03_123931_0002.jpg
/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_0000.jpg
/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_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":["1327025352","1327025348","1327025350"],"photo_ids_order":["1327025348","1327025350","1327025352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/329c9426363e5bafc8b0685bad4a75d4.jpg","text":"TemporaryFile(/tmp/multipartBody2783503850223601106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189789768,"filename":"image_06012025_19_55_02_193366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/986efdcd49dc0fc56a28176e0f128ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1355176832681013098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189789768,"filename":"image_06012025_19_54_03_123931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5cca7d0ef90145daad7d054bf5d3a0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5349453156228383898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189789768,"filename":"image_06012025_19_55_02_193366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025352","file1":"1327025350","file0":"1327025348"},"map_files_photo_id_array":[{"photo_id":"1327025352","filename":"file2"},{"photo_id":"1327025350","filename":"file1"},{"photo_id":"1327025348","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025352":["hashtag1","hashtag2"]},{"1327025348":["hashtag1","hashtag2"]},{"1327025350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025352, 1327025348, 1327025350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.89183497428894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:56:02.635942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:56:22.159199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_0002.jpg', '/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_0000.jpg', '/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/55/image_06012025_19_55_02_193366_0002.jpg
/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_0000.jpg
/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_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":["1327025446","1327025454","1327025456"],"photo_ids_order":["1327025446","1327025454","1327025456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9ddfd616c470a876d9114b8e0e10865.jpg","text":"TemporaryFile(/tmp/multipartBody943379334966489182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189849777,"filename":"image_06012025_19_55_02_193366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e870324aa73e849d5506788d7d8b380.jpg","text":"TemporaryFile(/tmp/multipartBody9177063520895253939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189849777,"filename":"image_06012025_19_56_02_346341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1edcbe03049d0ee2c6bb70153cb071e.jpg","text":"TemporaryFile(/tmp/multipartBody4272517597773990595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189849777,"filename":"image_06012025_19_56_02_346341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025456","file1":"1327025454","file0":"1327025446"},"map_files_photo_id_array":[{"photo_id":"1327025456","filename":"file2"},{"photo_id":"1327025454","filename":"file1"},{"photo_id":"1327025446","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025446":["hashtag1","hashtag2"]},{"1327025454":["hashtag1","hashtag2"]},{"1327025456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025446, 1327025454, 1327025456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.659679651260376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:57:03.191598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 19:57:22.394094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_0002.jpg', '/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0000.jpg', '/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0001.jpg', '/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/56/image_06012025_19_56_02_346341_0002.jpg
/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0000.jpg
/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0001.jpg
/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327025490","1327025481","1327025478","1327025486"],"photo_ids_order":["1327025478","1327025481","1327025486","1327025490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51c35a6d293c63f3fae634dbf5198ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4074707998506046684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189912163,"filename":"image_06012025_19_57_02_557286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fef85d80f77ad8ddec06b16cf736831e.jpg","text":"TemporaryFile(/tmp/multipartBody4732341775743277736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189912163,"filename":"image_06012025_19_57_02_557286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2934d8836d7e4eba0c5fb39ce3618529.jpg","text":"TemporaryFile(/tmp/multipartBody4293281569917508721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189912163,"filename":"image_06012025_19_56_02_346341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e2bfd4a0ab0891e2ad5981abd48035c.jpg","text":"TemporaryFile(/tmp/multipartBody6410060728461589405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736189912163,"filename":"image_06012025_19_57_02_557286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327025486","file1":"1327025481","file0":"1327025478","file3":"1327025490"},"map_files_photo_id_array":[{"photo_id":"1327025486","filename":"file2"},{"photo_id":"1327025481","filename":"file1"},{"photo_id":"1327025478","filename":"file0"},{"photo_id":"1327025490","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327025490":["hashtag1","hashtag2"]},{"1327025481":["hashtag1","hashtag2"]},{"1327025478":["hashtag1","hashtag2"]},{"1327025486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327025490, 1327025481, 1327025478, 1327025486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68048906326294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 19:59:02.461763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0003.jpg', '/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0000.jpg', '/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0001.jpg', '/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/57/image_06012025_19_57_02_557286_0003.jpg
/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0000.jpg
/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0001.jpg
/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327026771","1327026852","1327026737","1327026985"],"photo_ids_order":["1327026737","1327026771","1327026852","1327026985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6b13c9fcef47be8dedf02b93a054907.jpg","text":"TemporaryFile(/tmp/multipartBody232985564546453604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190012479,"filename":"image_06012025_19_58_02_906937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b6a1a323ca664db36d861aedd2dd3f1.jpg","text":"TemporaryFile(/tmp/multipartBody499191333385124361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190012479,"filename":"image_06012025_19_58_02_906937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/065ed58ff2fa9b743331ae17eaad10ac.jpg","text":"TemporaryFile(/tmp/multipartBody7791628527284263835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190012479,"filename":"image_06012025_19_57_02_557286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5451456404174a78270816b316503ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5003324912570822939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190012479,"filename":"image_06012025_19_58_02_906937_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327026852","file1":"1327026771","file0":"1327026737","file3":"1327026985"},"map_files_photo_id_array":[{"photo_id":"1327026852","filename":"file2"},{"photo_id":"1327026771","filename":"file1"},{"photo_id":"1327026737","filename":"file0"},{"photo_id":"1327026985","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327026771":["hashtag1","hashtag2"]},{"1327026852":["hashtag1","hashtag2"]},{"1327026737":["hashtag1","hashtag2"]},{"1327026985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327026771, 1327026852, 1327026737, 1327026985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.305527687072754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 19:59:51.923212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0003.jpg', '/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0000.jpg', '/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0001.jpg', '/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/58/image_06012025_19_58_02_906937_0003.jpg
/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0000.jpg
/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0001.jpg
/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327027364","1327027156","1327027258","1327027086"],"photo_ids_order":["1327027086","1327027156","1327027258","1327027364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf049813acd98e4adaea1432705869b4.jpg","text":"TemporaryFile(/tmp/multipartBody7539934685616399480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190061786,"filename":"image_06012025_19_59_03_130997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f62a0cd853ccb192e52f5793271f3385.jpg","text":"TemporaryFile(/tmp/multipartBody473172677899285414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190061786,"filename":"image_06012025_19_59_03_130997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d3190abeb4f23e1a16a7c62557a3896.jpg","text":"TemporaryFile(/tmp/multipartBody1734697203422436320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190061786,"filename":"image_06012025_19_59_03_130997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6deac90b00ed7d8d107db741d3312883.jpg","text":"TemporaryFile(/tmp/multipartBody7449926363475950960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190061786,"filename":"image_06012025_19_58_02_906937_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327027258","file1":"1327027156","file0":"1327027086","file3":"1327027364"},"map_files_photo_id_array":[{"photo_id":"1327027258","filename":"file2"},{"photo_id":"1327027156","filename":"file1"},{"photo_id":"1327027086","filename":"file0"},{"photo_id":"1327027364","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327027364":["hashtag1","hashtag2"]},{"1327027156":["hashtag1","hashtag2"]},{"1327027258":["hashtag1","hashtag2"]},{"1327027086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327027364, 1327027156, 1327027258, 1327027086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.180867195129395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 20:00:42.140449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0003.jpg', '/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0000.jpg', '/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0001.jpg', '/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/19/59/image_06012025_19_59_03_130997_0003.jpg
/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0000.jpg
/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0001.jpg
/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_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":["1327027812","1327027808","1327027810","1327027816"],"photo_ids_order":["1327027808","1327027810","1327027812","1327027816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be01fb6532f2389a7f95c712eea19e83.jpg","text":"TemporaryFile(/tmp/multipartBody47736135974187162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190112213,"filename":"image_06012025_20_00_02_334282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34cd1bb474650126a1852fd8d9b1b221.jpg","text":"TemporaryFile(/tmp/multipartBody5286173020104694651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190112213,"filename":"image_06012025_19_59_03_130997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b428d08f36e2795c007ce3dcde8880c0.jpg","text":"TemporaryFile(/tmp/multipartBody4347334590602697079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190112213,"filename":"image_06012025_20_00_02_334282_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5134aeaf6f134e655a364fe36008cacb.jpg","text":"TemporaryFile(/tmp/multipartBody1232418641649429778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190112213,"filename":"image_06012025_20_00_02_334282_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327027812","file1":"1327027810","file0":"1327027808","file3":"1327027816"},"map_files_photo_id_array":[{"photo_id":"1327027812","filename":"file2"},{"photo_id":"1327027810","filename":"file1"},{"photo_id":"1327027808","filename":"file0"},{"photo_id":"1327027816","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327027812":["hashtag1","hashtag2"]},{"1327027808":["hashtag1","hashtag2"]},{"1327027810":["hashtag1","hashtag2"]},{"1327027816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327027812, 1327027808, 1327027810, 1327027816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.388787269592285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:01:22.391335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0003.jpg', '/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0000.jpg', '/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0001.jpg', '/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/00/image_06012025_20_00_02_334282_0003.jpg
/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0000.jpg
/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0001.jpg
/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028126","1327028213","1327028135","1327028229"],"photo_ids_order":["1327028126","1327028135","1327028213","1327028229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9ccd40cad71160f27d32462664c5d595.jpg","text":"TemporaryFile(/tmp/multipartBody5994088104473099945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190152403,"filename":"image_06012025_20_00_02_334282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2855a72f8526c6d0c541e13622959ff0.jpg","text":"TemporaryFile(/tmp/multipartBody672588759320315915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190152403,"filename":"image_06012025_20_01_02_519486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/59f00044a6d955d53f5341be4aedf363.jpg","text":"TemporaryFile(/tmp/multipartBody2183588607795579434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190152403,"filename":"image_06012025_20_01_02_519486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c8d37e58a53dc8b2cbf6eb6add88ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6894777822083921777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190152403,"filename":"image_06012025_20_01_02_519486_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028213","file1":"1327028135","file0":"1327028126","file3":"1327028229"},"map_files_photo_id_array":[{"photo_id":"1327028213","filename":"file2"},{"photo_id":"1327028135","filename":"file1"},{"photo_id":"1327028126","filename":"file0"},{"photo_id":"1327028229","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028126":["hashtag1","hashtag2"]},{"1327028213":["hashtag1","hashtag2"]},{"1327028135":["hashtag1","hashtag2"]},{"1327028229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028126, 1327028213, 1327028135, 1327028229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.160831928253174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:02:02.886007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:02:22.593255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0003.jpg', '/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0000.jpg', '/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0001.jpg', '/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/01/image_06012025_20_01_02_519486_0003.jpg
/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0000.jpg
/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0001.jpg
/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_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":["1327028249","1327028252","1327028269","1327028256"],"photo_ids_order":["1327028249","1327028252","1327028256","1327028269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/312aa2d90f1d90134a17c7ea31ed95bb.jpg","text":"TemporaryFile(/tmp/multipartBody4988933275801844548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190212576,"filename":"image_06012025_20_01_02_519486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec16c5d6d113ea63d21c208050a03451.jpg","text":"TemporaryFile(/tmp/multipartBody5461392679307279592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190212576,"filename":"image_06012025_20_02_02_740784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f259f88b2197593f6ed2666b236649f.jpg","text":"TemporaryFile(/tmp/multipartBody5335397672833439430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190212576,"filename":"image_06012025_20_02_02_740784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e0b2d6e1479c82663b382d0c03d8e97.jpg","text":"TemporaryFile(/tmp/multipartBody36644936751442874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190212576,"filename":"image_06012025_20_02_02_740784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028256","file1":"1327028252","file0":"1327028249","file3":"1327028269"},"map_files_photo_id_array":[{"photo_id":"1327028256","filename":"file2"},{"photo_id":"1327028252","filename":"file1"},{"photo_id":"1327028249","filename":"file0"},{"photo_id":"1327028269","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028249":["hashtag1","hashtag2"]},{"1327028252":["hashtag1","hashtag2"]},{"1327028269":["hashtag1","hashtag2"]},{"1327028256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028249, 1327028252, 1327028269, 1327028256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36579728126526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:03:22.793592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0003.jpg', '/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_0000.jpg', '/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/02/image_06012025_20_02_02_740784_0003.jpg
/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_0000.jpg
/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_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":["1327028292","1327028295","1327028331"],"photo_ids_order":["1327028292","1327028295","1327028331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/319eb4a17aae95131fb9c2dddcfa5ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2996396780818984938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190270506,"filename":"image_06012025_20_02_02_740784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/803286c71104d0d5bf3f139d780e7ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3403450394552746412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190270506,"filename":"image_06012025_20_03_02_923039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b872fa5e92d2336c34bd992ff291ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody305446181533938862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190270506,"filename":"image_06012025_20_03_02_923039_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028331","file1":"1327028295","file0":"1327028292"},"map_files_photo_id_array":[{"photo_id":"1327028331","filename":"file2"},{"photo_id":"1327028295","filename":"file1"},{"photo_id":"1327028292","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028292":["hashtag1","hashtag2"]},{"1327028295":["hashtag1","hashtag2"]},{"1327028331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028292, 1327028295, 1327028331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.561059951782227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:04:02.321640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:04:21.936937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_0003.jpg', '/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0000.jpg', '/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0001.jpg', '/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/03/image_06012025_20_03_02_923039_0003.jpg
/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0000.jpg
/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0001.jpg
/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028390","1327028360","1327028353","1327028356"],"photo_ids_order":["1327028353","1327028356","1327028360","1327028390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5aaf2219357c0a0e12ffce555a9e5883.jpg","text":"TemporaryFile(/tmp/multipartBody6430061338704483925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190332038,"filename":"image_06012025_20_04_03_163745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7bdc1c11ed3580d4b5d64f620094d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7890916252287176536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190332038,"filename":"image_06012025_20_04_03_163745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d00f62380e997ac0a5349faca9005c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7183106171361653631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190332038,"filename":"image_06012025_20_03_02_923039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df62119dc2872dca75b8741f36230d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1458991979416732453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190332038,"filename":"image_06012025_20_04_03_163745_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028360","file1":"1327028356","file0":"1327028353","file3":"1327028390"},"map_files_photo_id_array":[{"photo_id":"1327028360","filename":"file2"},{"photo_id":"1327028356","filename":"file1"},{"photo_id":"1327028353","filename":"file0"},{"photo_id":"1327028390","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028390":["hashtag1","hashtag2"]},{"1327028360":["hashtag1","hashtag2"]},{"1327028353":["hashtag1","hashtag2"]},{"1327028356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028390, 1327028360, 1327028353, 1327028356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17266321182251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:05:02.739293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:05:22.009831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0003.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0000.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0001.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0003.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0000.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0001.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_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.684748649597168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 20:05:42.072711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0003.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0000.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0001.jpg', '/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/04/image_06012025_20_04_03_163745_0003.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0000.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0001.jpg
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028453","1327028452","1327028455","1327028457"],"photo_ids_order":["1327028452","1327028453","1327028455","1327028457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aef53041a633fa9387519d13b9adb879.jpg","text":"TemporaryFile(/tmp/multipartBody2624214794982310378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190412174,"filename":"image_06012025_20_05_02_335755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7106a7d413082f17b7726707c7969bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1677625510481979277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190412174,"filename":"image_06012025_20_04_03_163745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a93a2c645ea6ae49efaad777be5213e.jpg","text":"TemporaryFile(/tmp/multipartBody4859786027327672701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190412174,"filename":"image_06012025_20_05_02_335755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d3dd2f5ca2cf0a265d9e0a41fdfe682.jpg","text":"TemporaryFile(/tmp/multipartBody4187755179307242388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190412174,"filename":"image_06012025_20_05_02_335755_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028455","file1":"1327028453","file0":"1327028452","file3":"1327028457"},"map_files_photo_id_array":[{"photo_id":"1327028455","filename":"file2"},{"photo_id":"1327028453","filename":"file1"},{"photo_id":"1327028452","filename":"file0"},{"photo_id":"1327028457","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028453":["hashtag1","hashtag2"]},{"1327028452":["hashtag1","hashtag2"]},{"1327028455":["hashtag1","hashtag2"]},{"1327028457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028453, 1327028452, 1327028455, 1327028457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.794700384140015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:06:32.253892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0003.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0000.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0001.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0003.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0000.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0001.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_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.833662033081055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:06:52.217880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0003.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0000.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0001.jpg', '/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/05/image_06012025_20_05_02_335755_0003.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0000.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0001.jpg
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_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":["1327028477","1327028471","1327028474","1327028487"],"photo_ids_order":["1327028471","1327028474","1327028477","1327028487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e724730925202ba3ea55a023b2e5f37.jpg","text":"TemporaryFile(/tmp/multipartBody4887146873846048122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190482498,"filename":"image_06012025_20_06_02_415493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68401754c3531bd9823669d0cd68baf0.jpg","text":"TemporaryFile(/tmp/multipartBody1548666717057079197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190482498,"filename":"image_06012025_20_05_02_335755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34eb89b2203a5ecca8fafcb736fcfc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8562492598972668952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190482498,"filename":"image_06012025_20_06_02_415493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3529369b49dfd26375252d36dc1efe3d.jpg","text":"TemporaryFile(/tmp/multipartBody4346879930910245974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190482498,"filename":"image_06012025_20_06_02_415493_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028477","file1":"1327028474","file0":"1327028471","file3":"1327028487"},"map_files_photo_id_array":[{"photo_id":"1327028477","filename":"file2"},{"photo_id":"1327028474","filename":"file1"},{"photo_id":"1327028471","filename":"file0"},{"photo_id":"1327028487","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028477":["hashtag1","hashtag2"]},{"1327028471":["hashtag1","hashtag2"]},{"1327028474":["hashtag1","hashtag2"]},{"1327028487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028477, 1327028471, 1327028474, 1327028487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35073137283325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:07:32.412621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0003.jpg', '/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0000.jpg', '/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0001.jpg', '/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/06/image_06012025_20_06_02_415493_0003.jpg
/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0000.jpg
/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0001.jpg
/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028508","1327028513","1327028525","1327028511"],"photo_ids_order":["1327028508","1327028511","1327028513","1327028525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9cd4814e7489658082c2eaf1b2b01f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6028312762556600976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190522678,"filename":"image_06012025_20_06_02_415493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b830c2c96e65ac8290ec7df272fb901.jpg","text":"TemporaryFile(/tmp/multipartBody5634608675087512054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190522678,"filename":"image_06012025_20_07_02_606956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e919a9810db92b21bafabe7a52789f1.jpg","text":"TemporaryFile(/tmp/multipartBody3796709298746922619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190522678,"filename":"image_06012025_20_07_02_606956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c616e1ddfa0532f74c3ba8adbbb783af.jpg","text":"TemporaryFile(/tmp/multipartBody696467619124621735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190522678,"filename":"image_06012025_20_07_02_606956_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028513","file1":"1327028511","file0":"1327028508","file3":"1327028525"},"map_files_photo_id_array":[{"photo_id":"1327028513","filename":"file2"},{"photo_id":"1327028511","filename":"file1"},{"photo_id":"1327028508","filename":"file0"},{"photo_id":"1327028525","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028508":["hashtag1","hashtag2"]},{"1327028513":["hashtag1","hashtag2"]},{"1327028525":["hashtag1","hashtag2"]},{"1327028511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028508, 1327028513, 1327028525, 1327028511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30630016326904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:08:22.641247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0003.jpg', '/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0000.jpg', '/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0001.jpg', '/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/07/image_06012025_20_07_02_606956_0003.jpg
/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0000.jpg
/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0001.jpg
/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_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":["1327028546","1327028542","1327028548","1327028544"],"photo_ids_order":["1327028542","1327028544","1327028546","1327028548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df0bc908765396c3ca652dad4b11599e.jpg","text":"TemporaryFile(/tmp/multipartBody4976197247560578497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190573106,"filename":"image_06012025_20_08_02_870026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5615fd1ee6c863326238a65d2fee6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4136270561237597838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190573106,"filename":"image_06012025_20_07_02_606956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79f084c6a1bd12ff69d1c86160a716ea.jpg","text":"TemporaryFile(/tmp/multipartBody7730656040363918505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190573106,"filename":"image_06012025_20_08_02_870026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39a0a856c944f877622563630094b664.jpg","text":"TemporaryFile(/tmp/multipartBody1861318907373601599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190573106,"filename":"image_06012025_20_08_02_870026_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028546","file1":"1327028544","file0":"1327028542","file3":"1327028548"},"map_files_photo_id_array":[{"photo_id":"1327028546","filename":"file2"},{"photo_id":"1327028544","filename":"file1"},{"photo_id":"1327028542","filename":"file0"},{"photo_id":"1327028548","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028546":["hashtag1","hashtag2"]},{"1327028542":["hashtag1","hashtag2"]},{"1327028548":["hashtag1","hashtag2"]},{"1327028544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028546, 1327028542, 1327028548, 1327028544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28129458427429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:09:21.838039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0003.jpg', '/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0000.jpg', '/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0001.jpg', '/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/08/image_06012025_20_08_02_870026_0003.jpg
/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0000.jpg
/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0001.jpg
/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028596","1327028598","1327028602","1327028592"],"photo_ids_order":["1327028592","1327028596","1327028598","1327028602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a39c3b988b3e7b608085aa3b34679c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2669665153134671516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190632017,"filename":"image_06012025_20_09_02_969376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4947cbfb49474b731936246742f2966d.jpg","text":"TemporaryFile(/tmp/multipartBody8696780347095373719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190632017,"filename":"image_06012025_20_09_02_969376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b83d55d2f68ed0b56629c214c39e843.jpg","text":"TemporaryFile(/tmp/multipartBody8925638125711342964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190632017,"filename":"image_06012025_20_09_02_969376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29b1dd5375f57631d5e0e040fe693c31.jpg","text":"TemporaryFile(/tmp/multipartBody6316330053491976891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190632017,"filename":"image_06012025_20_08_02_870026_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028598","file1":"1327028596","file0":"1327028592","file3":"1327028602"},"map_files_photo_id_array":[{"photo_id":"1327028598","filename":"file2"},{"photo_id":"1327028596","filename":"file1"},{"photo_id":"1327028592","filename":"file0"},{"photo_id":"1327028602","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028596":["hashtag1","hashtag2"]},{"1327028598":["hashtag1","hashtag2"]},{"1327028602":["hashtag1","hashtag2"]},{"1327028592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028596, 1327028598, 1327028602, 1327028592)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.64166283607483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:10:22.060080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0003.jpg', '/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0000.jpg', '/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0001.jpg', '/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/09/image_06012025_20_09_02_969376_0003.jpg
/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0000.jpg
/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0001.jpg
/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028662","1327028659","1327028679","1327028670"],"photo_ids_order":["1327028659","1327028662","1327028670","1327028679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/316d1a44188ac2ae990f37b0a3d6029a.jpg","text":"TemporaryFile(/tmp/multipartBody9175329865082271821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190692185,"filename":"image_06012025_20_10_02_275876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fd2ac55163aaa7a1fee4302296456203.jpg","text":"TemporaryFile(/tmp/multipartBody1670324223123196015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190692185,"filename":"image_06012025_20_09_02_969376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/395cc01493d25ea5be22703a8030f716.jpg","text":"TemporaryFile(/tmp/multipartBody7238067903844158733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190692185,"filename":"image_06012025_20_10_02_275876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2798b045daef75dd9a7c12ed480d6399.jpg","text":"TemporaryFile(/tmp/multipartBody2991195818750255309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190692185,"filename":"image_06012025_20_10_02_275876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028670","file1":"1327028662","file0":"1327028659","file3":"1327028679"},"map_files_photo_id_array":[{"photo_id":"1327028670","filename":"file2"},{"photo_id":"1327028662","filename":"file1"},{"photo_id":"1327028659","filename":"file0"},{"photo_id":"1327028679","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028662":["hashtag1","hashtag2"]},{"1327028659":["hashtag1","hashtag2"]},{"1327028679":["hashtag1","hashtag2"]},{"1327028670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028662, 1327028659, 1327028679, 1327028670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76035785675049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:11:02.751120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:11:22.186743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0003.jpg', '/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0000.jpg', '/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0001.jpg', '/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/10/image_06012025_20_10_02_275876_0003.jpg
/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0000.jpg
/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0001.jpg
/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028801","1327028796","1327028697","1327028799"],"photo_ids_order":["1327028697","1327028796","1327028799","1327028801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2934d93dc17babb1e51669887ecb8fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8655887614377609319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190752305,"filename":"image_06012025_20_11_02_372837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3850d5cf401bd7853661e01865d3fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody6237944724259135542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190752305,"filename":"image_06012025_20_11_02_372837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d9989d7269d0a9266c39adfca6054e4.jpg","text":"TemporaryFile(/tmp/multipartBody2075112911020602446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190752305,"filename":"image_06012025_20_10_02_275876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1aadec02e1bff0f9bb2bc1b13d87be42.jpg","text":"TemporaryFile(/tmp/multipartBody5240750711798302698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190752305,"filename":"image_06012025_20_11_02_372837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028799","file1":"1327028796","file0":"1327028697","file3":"1327028801"},"map_files_photo_id_array":[{"photo_id":"1327028799","filename":"file2"},{"photo_id":"1327028796","filename":"file1"},{"photo_id":"1327028697","filename":"file0"},{"photo_id":"1327028801","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028801":["hashtag1","hashtag2"]},{"1327028796":["hashtag1","hashtag2"]},{"1327028697":["hashtag1","hashtag2"]},{"1327028799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028801, 1327028796, 1327028697, 1327028799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25081825256348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:12:02.706341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:12:22.255609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0003.jpg', '/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0000.jpg', '/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0001.jpg', '/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/11/image_06012025_20_11_02_372837_0003.jpg
/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0000.jpg
/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0001.jpg
/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028869","1327028863","1327028865","1327028859"],"photo_ids_order":["1327028859","1327028863","1327028865","1327028869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9df1a7aa524fa6c60866a5e9c7e507d.jpg","text":"TemporaryFile(/tmp/multipartBody4183540898519185224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190812532,"filename":"image_06012025_20_12_02_542299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e9f1f78aea5494d3fcff7f584b438c0.jpg","text":"TemporaryFile(/tmp/multipartBody4196612957938348659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190812532,"filename":"image_06012025_20_12_02_542299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9211c44d46bf7faa520ce902412ce33b.jpg","text":"TemporaryFile(/tmp/multipartBody105119780408751575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190812532,"filename":"image_06012025_20_12_02_542299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d07592906271dc5ad637d42ad6fa272.jpg","text":"TemporaryFile(/tmp/multipartBody2406340591853336792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190812532,"filename":"image_06012025_20_11_02_372837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028865","file1":"1327028863","file0":"1327028859","file3":"1327028869"},"map_files_photo_id_array":[{"photo_id":"1327028865","filename":"file2"},{"photo_id":"1327028863","filename":"file1"},{"photo_id":"1327028859","filename":"file0"},{"photo_id":"1327028869","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028869":["hashtag1","hashtag2"]},{"1327028863":["hashtag1","hashtag2"]},{"1327028865":["hashtag1","hashtag2"]},{"1327028859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028869, 1327028863, 1327028865, 1327028859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39336562156677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:13:03.250463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:13:22.634996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0003.jpg', '/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0001.jpg', '/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/12/image_06012025_20_12_02_542299_0003.jpg
/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0001.jpg
/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028881","1327028889","1327028885"],"photo_ids_order":["1327028881","1327028885","1327028889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4c6130ed02f9055d234ec346fb72ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4185246203251118679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190870439,"filename":"image_06012025_20_12_02_542299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5613805b00560979b3763626fecdd4e9.jpg","text":"TemporaryFile(/tmp/multipartBody6987472401305257057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190870439,"filename":"image_06012025_20_13_02_649153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2279dc384fe0b409c0042c20b080343e.jpg","text":"TemporaryFile(/tmp/multipartBody8278978492792435123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190870439,"filename":"image_06012025_20_13_02_649153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028889","file1":"1327028885","file0":"1327028881"},"map_files_photo_id_array":[{"photo_id":"1327028889","filename":"file2"},{"photo_id":"1327028885","filename":"file1"},{"photo_id":"1327028881","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028881":["hashtag1","hashtag2"]},{"1327028889":["hashtag1","hashtag2"]},{"1327028885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028881, 1327028889, 1327028885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.706693410873413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:14:03.201596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:14:22.768613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0003.jpg', '/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0000.jpg', '/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0001.jpg', '/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/13/image_06012025_20_13_02_649153_0003.jpg
/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0000.jpg
/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0001.jpg
/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028932","1327028938","1327028917","1327028922"],"photo_ids_order":["1327028917","1327028922","1327028932","1327028938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa10e798a3069f2fce0ea912f7a66187.jpg","text":"TemporaryFile(/tmp/multipartBody4751258414338537417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190933128,"filename":"image_06012025_20_14_02_927283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/389b8ee05551be1b8d4e2fe2abdf98c2.jpg","text":"TemporaryFile(/tmp/multipartBody6862608419246641631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190933128,"filename":"image_06012025_20_14_02_927283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e1c43132c303c5faf947ae9147f4e24.jpg","text":"TemporaryFile(/tmp/multipartBody4149576606873159773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190933128,"filename":"image_06012025_20_13_02_649153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccfbb939275832644768e44635767505.jpg","text":"TemporaryFile(/tmp/multipartBody6067807977448655127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190933128,"filename":"image_06012025_20_14_02_927283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327028932","file1":"1327028922","file0":"1327028917","file3":"1327028938"},"map_files_photo_id_array":[{"photo_id":"1327028932","filename":"file2"},{"photo_id":"1327028922","filename":"file1"},{"photo_id":"1327028917","filename":"file0"},{"photo_id":"1327028938","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028932":["hashtag1","hashtag2"]},{"1327028938":["hashtag1","hashtag2"]},{"1327028917":["hashtag1","hashtag2"]},{"1327028922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028932, 1327028938, 1327028917, 1327028922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.480729818344116 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-06 20:15:21.856177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0003.jpg', '/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0000.jpg', '/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0001.jpg', '/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/14/image_06012025_20_14_02_927283_0003.jpg
/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0000.jpg
/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0001.jpg
/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327028981","1327029024","1327029027","1327029021"],"photo_ids_order":["1327028981","1327029021","1327029024","1327029027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6eb48c06af99dfeffdeb1bcfee9e500.jpg","text":"TemporaryFile(/tmp/multipartBody1457801566204995485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190992254,"filename":"image_06012025_20_14_02_927283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/267b29fb3e1dbd2b20a65a2655d947be.jpg","text":"TemporaryFile(/tmp/multipartBody6902729059608909205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190992254,"filename":"image_06012025_20_15_03_160115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eac982f98474f5909f67bb9e9823a670.jpg","text":"TemporaryFile(/tmp/multipartBody7580154623716203384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190992254,"filename":"image_06012025_20_15_03_160115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5631cc82548116b1feae9ee6a32e5d91.jpg","text":"TemporaryFile(/tmp/multipartBody1221851414051371343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736190992254,"filename":"image_06012025_20_15_03_160115_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029024","file1":"1327029021","file0":"1327028981","file3":"1327029027"},"map_files_photo_id_array":[{"photo_id":"1327029024","filename":"file2"},{"photo_id":"1327029021","filename":"file1"},{"photo_id":"1327028981","filename":"file0"},{"photo_id":"1327029027","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327028981":["hashtag1","hashtag2"]},{"1327029024":["hashtag1","hashtag2"]},{"1327029027":["hashtag1","hashtag2"]},{"1327029021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327028981, 1327029024, 1327029027, 1327029021)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.74593925476074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:16:22.083905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0003.jpg', '/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0000.jpg', '/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0001.jpg', '/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/15/image_06012025_20_15_03_160115_0003.jpg
/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0000.jpg
/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0001.jpg
/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_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":["1327029035","1327029040","1327029037","1327029053"],"photo_ids_order":["1327029035","1327029037","1327029040","1327029053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de96e7c90645e77a4ed66993c6bb2e43.jpg","text":"TemporaryFile(/tmp/multipartBody5643232776216468836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191052399,"filename":"image_06012025_20_15_03_160115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54b8636576fa94c3cfebdfe5e00cf95e.jpg","text":"TemporaryFile(/tmp/multipartBody5823590344458785691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191052399,"filename":"image_06012025_20_16_02_203917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fbd2500bb61ecf52ae8090ef7123c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6500323278349881933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191052399,"filename":"image_06012025_20_16_02_203917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/911ddb441987443d0e27347f184bfe0b.jpg","text":"TemporaryFile(/tmp/multipartBody5366647126535716245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191052399,"filename":"image_06012025_20_16_02_203917_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029040","file1":"1327029037","file0":"1327029035","file3":"1327029053"},"map_files_photo_id_array":[{"photo_id":"1327029040","filename":"file2"},{"photo_id":"1327029037","filename":"file1"},{"photo_id":"1327029035","filename":"file0"},{"photo_id":"1327029053","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029035":["hashtag1","hashtag2"]},{"1327029040":["hashtag1","hashtag2"]},{"1327029037":["hashtag1","hashtag2"]},{"1327029053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029035, 1327029040, 1327029037, 1327029053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.37362051010132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:17:22.360526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0003.jpg', '/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0000.jpg', '/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0001.jpg', '/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/16/image_06012025_20_16_02_203917_0003.jpg
/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0000.jpg
/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0001.jpg
/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_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":["1327029337","1327029316","1327029321","1327029324"],"photo_ids_order":["1327029316","1327029321","1327029324","1327029337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/460d496ce196f1d9a54912421f8e1c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7668900648695500100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191112573,"filename":"image_06012025_20_17_02_469497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03265eda61ebc99f08e22c301a2ed52b.jpg","text":"TemporaryFile(/tmp/multipartBody3740040565411257726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191112573,"filename":"image_06012025_20_16_02_203917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9194ac33d77474541acb1a6094902e6.jpg","text":"TemporaryFile(/tmp/multipartBody6069887707664302611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191112573,"filename":"image_06012025_20_17_02_469497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/12c5d6eeca6dbedcc36a7aab9ebdb318.jpg","text":"TemporaryFile(/tmp/multipartBody211397507257996577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191112573,"filename":"image_06012025_20_17_02_469497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029324","file1":"1327029321","file0":"1327029316","file3":"1327029337"},"map_files_photo_id_array":[{"photo_id":"1327029324","filename":"file2"},{"photo_id":"1327029321","filename":"file1"},{"photo_id":"1327029316","filename":"file0"},{"photo_id":"1327029337","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029337":["hashtag1","hashtag2"]},{"1327029316":["hashtag1","hashtag2"]},{"1327029321":["hashtag1","hashtag2"]},{"1327029324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029337, 1327029316, 1327029321, 1327029324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.558430194854736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:18:22.359906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0003.jpg', '/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0000.jpg', '/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0001.jpg', '/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/17/image_06012025_20_17_02_469497_0003.jpg
/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0000.jpg
/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0001.jpg
/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_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":["1327029465","1327029468","1327029462","1327029458"],"photo_ids_order":["1327029458","1327029462","1327029465","1327029468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d11b0a15746df922c1abd74b36156163.jpg","text":"TemporaryFile(/tmp/multipartBody8480986813554617805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191172387,"filename":"image_06012025_20_18_02_554476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/111226123a3a197eb6708348c1f77115.jpg","text":"TemporaryFile(/tmp/multipartBody4292041437385309872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191172387,"filename":"image_06012025_20_18_02_554476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a409e72c4b1601854b06138d4d8fe501.jpg","text":"TemporaryFile(/tmp/multipartBody3415067152698644448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191172387,"filename":"image_06012025_20_18_02_554476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b63c65cab9a930ff346d041aa0de6b0.jpg","text":"TemporaryFile(/tmp/multipartBody8891756736075911845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191172387,"filename":"image_06012025_20_17_02_469497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029465","file1":"1327029462","file0":"1327029458","file3":"1327029468"},"map_files_photo_id_array":[{"photo_id":"1327029465","filename":"file2"},{"photo_id":"1327029462","filename":"file1"},{"photo_id":"1327029458","filename":"file0"},{"photo_id":"1327029468","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029465":["hashtag1","hashtag2"]},{"1327029468":["hashtag1","hashtag2"]},{"1327029462":["hashtag1","hashtag2"]},{"1327029458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029465, 1327029468, 1327029462, 1327029458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.4096884727478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:19:22.661467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0003.jpg', '/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0000.jpg', '/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0001.jpg', '/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/18/image_06012025_20_18_02_554476_0003.jpg
/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0000.jpg
/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0001.jpg
/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327029538","1327029555","1327029543","1327029563"],"photo_ids_order":["1327029538","1327029543","1327029555","1327029563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3f52ff90740b150c864ab8552a654eee.jpg","text":"TemporaryFile(/tmp/multipartBody6532054126165885918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191232789,"filename":"image_06012025_20_18_02_554476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f1ee5ccff7be1fe111d38ac5fb1791b.jpg","text":"TemporaryFile(/tmp/multipartBody2720973590962324995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191232789,"filename":"image_06012025_20_19_02_814152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2395b0eb36bc884a9fb08ad895e423c.jpg","text":"TemporaryFile(/tmp/multipartBody80861837980051403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191232789,"filename":"image_06012025_20_19_02_814152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/454bea225527952c0c4e4be7d52e6919.jpg","text":"TemporaryFile(/tmp/multipartBody9060532572674633872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191232789,"filename":"image_06012025_20_19_02_814152_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029555","file1":"1327029543","file0":"1327029538","file3":"1327029563"},"map_files_photo_id_array":[{"photo_id":"1327029555","filename":"file2"},{"photo_id":"1327029543","filename":"file1"},{"photo_id":"1327029538","filename":"file0"},{"photo_id":"1327029563","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029538":["hashtag1","hashtag2"]},{"1327029555":["hashtag1","hashtag2"]},{"1327029543":["hashtag1","hashtag2"]},{"1327029563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029538, 1327029555, 1327029543, 1327029563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28261160850525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:20:02.139707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:20:21.707370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0003.jpg', '/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0000.jpg', '/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/19/image_06012025_20_19_02_814152_0003.jpg
/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0000.jpg
/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_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":["1327029607","1327029603","1327029590"],"photo_ids_order":["1327029590","1327029603","1327029607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e529638d09f5b591c2ac45eb31bad42f.jpg","text":"TemporaryFile(/tmp/multipartBody6486869435381262732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191289325,"filename":"image_06012025_20_20_02_939829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07b730b871be338df5d9fec1ac29cc35.jpg","text":"TemporaryFile(/tmp/multipartBody8650196690570476647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191289325,"filename":"image_06012025_20_20_02_939829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae2bc00850be36131824d1b0c32f6268.jpg","text":"TemporaryFile(/tmp/multipartBody181247540006977945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191289325,"filename":"image_06012025_20_19_02_814152_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029607","file1":"1327029603","file0":"1327029590"},"map_files_photo_id_array":[{"photo_id":"1327029607","filename":"file2"},{"photo_id":"1327029603","filename":"file1"},{"photo_id":"1327029590","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029607":["hashtag1","hashtag2"]},{"1327029603":["hashtag1","hashtag2"]},{"1327029590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029607, 1327029603, 1327029590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.035298585891724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:21:02.503453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:21:21.967902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0002.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0000.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0001.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0002.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0000.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0001.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_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.554834127426147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 20:21:41.920417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0002.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0000.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0001.jpg', '/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/20/image_06012025_20_20_02_939829_0002.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0000.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0001.jpg
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327029670","1327029672","1327029674","1327029668"],"photo_ids_order":["1327029668","1327029670","1327029672","1327029674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f8f3e3524eb6f4ee2b6faa913ada9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3209235603772428317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191371954,"filename":"image_06012025_20_21_02_172075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68b8c4cc00067eb6451f9fe0c3b91f11.jpg","text":"TemporaryFile(/tmp/multipartBody2715669888514693728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191371954,"filename":"image_06012025_20_21_02_172075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18e468dd40c120a5c29e25d4571cb8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7397056680362874832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191371954,"filename":"image_06012025_20_21_02_172075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b9636327509e2908a7e60357ffd78a05.jpg","text":"TemporaryFile(/tmp/multipartBody7804089089530974236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191371954,"filename":"image_06012025_20_20_02_939829_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029672","file1":"1327029670","file0":"1327029668","file3":"1327029674"},"map_files_photo_id_array":[{"photo_id":"1327029672","filename":"file2"},{"photo_id":"1327029670","filename":"file1"},{"photo_id":"1327029668","filename":"file0"},{"photo_id":"1327029674","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029670":["hashtag1","hashtag2"]},{"1327029672":["hashtag1","hashtag2"]},{"1327029674":["hashtag1","hashtag2"]},{"1327029668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029670, 1327029672, 1327029674, 1327029668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.336294174194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:22:32.092228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0003.jpg', '/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0000.jpg', '/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/21/image_06012025_20_21_02_172075_0003.jpg
/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0000.jpg
/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327029917","1327029759","1327029791"],"photo_ids_order":["1327029759","1327029791","1327029917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae6bc0b7f6a39348f8daf75300dd38b3.jpg","text":"TemporaryFile(/tmp/multipartBody4556890294907210155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191419679,"filename":"image_06012025_20_22_02_279247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8e3d31215780d1ae5e637951e69fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody9105238832644113406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191419679,"filename":"image_06012025_20_21_02_172075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a7210218693c144e7297eda4b33399f.jpg","text":"TemporaryFile(/tmp/multipartBody2164189422070574360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191419679,"filename":"image_06012025_20_22_02_279247_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029917","file1":"1327029791","file0":"1327029759"},"map_files_photo_id_array":[{"photo_id":"1327029917","filename":"file2"},{"photo_id":"1327029791","filename":"file1"},{"photo_id":"1327029759","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029917":["hashtag1","hashtag2"]},{"1327029759":["hashtag1","hashtag2"]},{"1327029791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029917, 1327029759, 1327029791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.563702821731567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:23:22.266586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0003.jpg', '/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0000.jpg', '/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0001.jpg', '/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/22/image_06012025_20_22_02_279247_0003.jpg
/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0000.jpg
/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0001.jpg
/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327029958","1327029954","1327029936","1327029950"],"photo_ids_order":["1327029936","1327029950","1327029954","1327029958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb44b9400dc3363f44d4832dc0ad670f.jpg","text":"TemporaryFile(/tmp/multipartBody5504872860237870389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191472197,"filename":"image_06012025_20_23_02_462360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75cf32f3ec57c5e82bd2ee3a58a2423d.jpg","text":"TemporaryFile(/tmp/multipartBody6639171263997038040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191472197,"filename":"image_06012025_20_23_02_462360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05693f8f2cc2f1a5d0eceadd2f2678de.jpg","text":"TemporaryFile(/tmp/multipartBody7946536309404050521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191472197,"filename":"image_06012025_20_22_02_279247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e9cfe8cf09678f2b42e855b44f08d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8394638971537971060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191472197,"filename":"image_06012025_20_23_02_462360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029954","file1":"1327029950","file0":"1327029936","file3":"1327029958"},"map_files_photo_id_array":[{"photo_id":"1327029954","filename":"file2"},{"photo_id":"1327029950","filename":"file1"},{"photo_id":"1327029936","filename":"file0"},{"photo_id":"1327029958","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029958":["hashtag1","hashtag2"]},{"1327029954":["hashtag1","hashtag2"]},{"1327029936":["hashtag1","hashtag2"]},{"1327029950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029958, 1327029954, 1327029936, 1327029950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.412169456481934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:24:02.927733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:24:22.431953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0003.jpg', '/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_0000.jpg', '/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/23/image_06012025_20_23_02_462360_0003.jpg
/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_0000.jpg
/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_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":["1327029984","1327029975","1327029980"],"photo_ids_order":["1327029975","1327029980","1327029984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4e18cd1bf46c39d03daed310ce54f43.jpg","text":"TemporaryFile(/tmp/multipartBody9042126764678278529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191529984,"filename":"image_06012025_20_24_02_659330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f297c754ea1a1adf92d45273230381c7.jpg","text":"TemporaryFile(/tmp/multipartBody8303831343097275419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191529984,"filename":"image_06012025_20_23_02_462360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82636673111e6a63846669c0712a2af6.jpg","text":"TemporaryFile(/tmp/multipartBody3331917542775325320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191529984,"filename":"image_06012025_20_24_02_659330_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327029984","file1":"1327029980","file0":"1327029975"},"map_files_photo_id_array":[{"photo_id":"1327029984","filename":"file2"},{"photo_id":"1327029980","filename":"file1"},{"photo_id":"1327029975","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327029984":["hashtag1","hashtag2"]},{"1327029975":["hashtag1","hashtag2"]},{"1327029980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327029984, 1327029975, 1327029980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.398805379867554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:25:03.273005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:25:22.564174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_0002.jpg', '/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0001.jpg', '/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/24/image_06012025_20_24_02_659330_0002.jpg
/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0001.jpg
/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030020","1327030016","1327030003"],"photo_ids_order":["1327030003","1327030016","1327030020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1712b0dff755f995a1c84f1a704806a1.jpg","text":"TemporaryFile(/tmp/multipartBody2336407426419511075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191590221,"filename":"image_06012025_20_25_02_817450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0445194fd10fbc377f5728413a02749c.jpg","text":"TemporaryFile(/tmp/multipartBody6715742621653766459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191590221,"filename":"image_06012025_20_25_02_817450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6eaa14edb916c755ea03d656f51dc582.jpg","text":"TemporaryFile(/tmp/multipartBody234805225972193005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191590221,"filename":"image_06012025_20_24_02_659330_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030020","file1":"1327030016","file0":"1327030003"},"map_files_photo_id_array":[{"photo_id":"1327030020","filename":"file2"},{"photo_id":"1327030016","filename":"file1"},{"photo_id":"1327030003","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030020":["hashtag1","hashtag2"]},{"1327030016":["hashtag1","hashtag2"]},{"1327030003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030020, 1327030016, 1327030003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.885993003845215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:26:02.232234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:26:21.819817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0003.jpg', '/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0000.jpg', '/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0001.jpg', '/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/25/image_06012025_20_25_02_817450_0003.jpg
/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0000.jpg
/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0001.jpg
/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030085","1327030087","1327030092","1327030089"],"photo_ids_order":["1327030085","1327030087","1327030089","1327030092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2376c9110f6733790fdda256b64224a.jpg","text":"TemporaryFile(/tmp/multipartBody4506899600558157969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191651618,"filename":"image_06012025_20_25_02_817450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8bf864b75bc269a54b1c4f8fada0e0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7744954290469581799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191651618,"filename":"image_06012025_20_26_03_050499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e982efad42f2f5de4656ecedb7bd583.jpg","text":"TemporaryFile(/tmp/multipartBody1005067706640049277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191651618,"filename":"image_06012025_20_26_03_050499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc13241285bd07c0093b1d44730e3b02.jpg","text":"TemporaryFile(/tmp/multipartBody6034867807803733102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191651618,"filename":"image_06012025_20_26_03_050499_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030089","file1":"1327030087","file0":"1327030085","file3":"1327030092"},"map_files_photo_id_array":[{"photo_id":"1327030089","filename":"file2"},{"photo_id":"1327030087","filename":"file1"},{"photo_id":"1327030085","filename":"file0"},{"photo_id":"1327030092","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030085":["hashtag1","hashtag2"]},{"1327030087":["hashtag1","hashtag2"]},{"1327030092":["hashtag1","hashtag2"]},{"1327030089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030085, 1327030087, 1327030092, 1327030089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44019150733948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:27:02.608980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:27:21.997858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0003.jpg', '/home/pi/Desktop/images/06012025/20/27/image_06012025_20_27_02_290523_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/26/image_06012025_20_26_03_050499_0003.jpg
/home/pi/Desktop/images/06012025/20/27/image_06012025_20_27_02_290523_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":["1327030124","1327030240"],"photo_ids_order":["1327030124","1327030240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/527c081fb26f950b33dd2fcdb79aa0dd.jpg","text":"TemporaryFile(/tmp/multipartBody896308751706901276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191707220,"filename":"image_06012025_20_26_03_050499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/47cb03d32c6fdfc7be90695553233df8.jpg","text":"TemporaryFile(/tmp/multipartBody7044375113822764605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191707220,"filename":"image_06012025_20_27_02_290523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327030240","file0":"1327030124"},"map_files_photo_id_array":[{"photo_id":"1327030240","filename":"file1"},{"photo_id":"1327030124","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030124":["hashtag1","hashtag2"]},{"1327030240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030124, 1327030240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.93273687362671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:27:52.087243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:28:02.744913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:28:22.235678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/27/image_06012025_20_27_02_290523_0001.jpg', '/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0001.jpg', '/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/27/image_06012025_20_27_02_290523_0001.jpg
/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0001.jpg
/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030262","1327030268","1327030266"],"photo_ids_order":["1327030262","1327030266","1327030268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/530e3a8a4a83bdb24682db54100922eb.jpg","text":"TemporaryFile(/tmp/multipartBody5392360385295377467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191769853,"filename":"image_06012025_20_27_02_290523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b6f587a265758761a07765c6d5d3ce12.jpg","text":"TemporaryFile(/tmp/multipartBody7905067241370445647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191769853,"filename":"image_06012025_20_28_02_416446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5ecd1dd9fd5a8770d13902b778f26c1.jpg","text":"TemporaryFile(/tmp/multipartBody8162937772459698152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191769853,"filename":"image_06012025_20_28_02_416446_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030268","file1":"1327030266","file0":"1327030262"},"map_files_photo_id_array":[{"photo_id":"1327030268","filename":"file2"},{"photo_id":"1327030266","filename":"file1"},{"photo_id":"1327030262","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030262":["hashtag1","hashtag2"]},{"1327030268":["hashtag1","hashtag2"]},{"1327030266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030262, 1327030268, 1327030266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.67181158065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:29:03.142128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:29:22.528835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0003.jpg', '/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_0000.jpg', '/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/28/image_06012025_20_28_02_416446_0003.jpg
/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_0000.jpg
/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_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":["1327030361","1327030367","1327030365"],"photo_ids_order":["1327030361","1327030365","1327030367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/364b7e52ce6fe6d4a8da36a872cd327b.jpg","text":"TemporaryFile(/tmp/multipartBody7103081177502035468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191830066,"filename":"image_06012025_20_28_02_416446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31b7936e177b84d05a68caceddda56b3.jpg","text":"TemporaryFile(/tmp/multipartBody4839038769437625592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191830066,"filename":"image_06012025_20_29_02_650310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4dc7bef6e68307a20c30da2fba61efb2.jpg","text":"TemporaryFile(/tmp/multipartBody8937563469607539434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191830066,"filename":"image_06012025_20_29_02_650310_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030367","file1":"1327030365","file0":"1327030361"},"map_files_photo_id_array":[{"photo_id":"1327030367","filename":"file2"},{"photo_id":"1327030365","filename":"file1"},{"photo_id":"1327030361","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030361":["hashtag1","hashtag2"]},{"1327030367":["hashtag1","hashtag2"]},{"1327030365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030361, 1327030367, 1327030365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.217326641082764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:30:03.187189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:30:22.708375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_0002.jpg', '/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0000.jpg', '/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0001.jpg', '/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/29/image_06012025_20_29_02_650310_0002.jpg
/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0000.jpg
/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0001.jpg
/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030454","1327030457","1327030459","1327030461"],"photo_ids_order":["1327030454","1327030457","1327030459","1327030461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7149cabe7d5fb8eb7bcb6aae30ec8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody471408308653943501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191892500,"filename":"image_06012025_20_29_02_650310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f305d33b78dbf6a91defb65290af2a3.jpg","text":"TemporaryFile(/tmp/multipartBody5503181054965619336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191892500,"filename":"image_06012025_20_30_02_842576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e93f7263f921b84bb65426f68cc215ee.jpg","text":"TemporaryFile(/tmp/multipartBody5614374033462773225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191892500,"filename":"image_06012025_20_30_02_842576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4017c3f2703da59da5d0e8ec04d94b10.jpg","text":"TemporaryFile(/tmp/multipartBody8206897014354241849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191892500,"filename":"image_06012025_20_30_02_842576_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030459","file1":"1327030457","file0":"1327030454","file3":"1327030461"},"map_files_photo_id_array":[{"photo_id":"1327030459","filename":"file2"},{"photo_id":"1327030457","filename":"file1"},{"photo_id":"1327030454","filename":"file0"},{"photo_id":"1327030461","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030454":["hashtag1","hashtag2"]},{"1327030457":["hashtag1","hashtag2"]},{"1327030459":["hashtag1","hashtag2"]},{"1327030461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030454, 1327030457, 1327030459, 1327030461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44321846961975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:31:02.517999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:31:22.014052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0003.jpg', '/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_0000.jpg', '/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/30/image_06012025_20_30_02_842576_0003.jpg
/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_0000.jpg
/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_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":["1327030602","1327030607","1327030605"],"photo_ids_order":["1327030602","1327030605","1327030607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d134d50afaff25347b8057ff65eb870.jpg","text":"TemporaryFile(/tmp/multipartBody65303357173692202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191949611,"filename":"image_06012025_20_30_02_842576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1240b24fbc44abbe5c19b8633b15442d.jpg","text":"TemporaryFile(/tmp/multipartBody1198574668884241278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191949611,"filename":"image_06012025_20_31_03_062090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45011c115057eeee2439d1d23ef721d4.jpg","text":"TemporaryFile(/tmp/multipartBody2352294055512329323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736191949611,"filename":"image_06012025_20_31_03_062090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030607","file1":"1327030605","file0":"1327030602"},"map_files_photo_id_array":[{"photo_id":"1327030607","filename":"file2"},{"photo_id":"1327030605","filename":"file1"},{"photo_id":"1327030602","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030602":["hashtag1","hashtag2"]},{"1327030607":["hashtag1","hashtag2"]},{"1327030605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030602, 1327030607, 1327030605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.788552284240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:32:02.428911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:32:22.028716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_0002.jpg', '/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0000.jpg', '/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0001.jpg', '/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/31/image_06012025_20_31_03_062090_0002.jpg
/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0000.jpg
/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0001.jpg
/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030679","1327030681","1327030671","1327030629"],"photo_ids_order":["1327030629","1327030671","1327030679","1327030681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6452cc07ced1805cacbd812239604cf4.jpg","text":"TemporaryFile(/tmp/multipartBody1971762281968070711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192011754,"filename":"image_06012025_20_32_02_340419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30e1dd89f1d4827406456f7eccf06f43.jpg","text":"TemporaryFile(/tmp/multipartBody606387113476383546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192011754,"filename":"image_06012025_20_32_02_340419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c0c464c01f38c51c336980281d79bf6.jpg","text":"TemporaryFile(/tmp/multipartBody456923405125142912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192011754,"filename":"image_06012025_20_32_02_340419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3ddfc917f1ee6dd213f03930033b457a.jpg","text":"TemporaryFile(/tmp/multipartBody1314599059621707456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192011754,"filename":"image_06012025_20_31_03_062090_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030679","file1":"1327030671","file0":"1327030629","file3":"1327030681"},"map_files_photo_id_array":[{"photo_id":"1327030679","filename":"file2"},{"photo_id":"1327030671","filename":"file1"},{"photo_id":"1327030629","filename":"file0"},{"photo_id":"1327030681","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030679":["hashtag1","hashtag2"]},{"1327030681":["hashtag1","hashtag2"]},{"1327030671":["hashtag1","hashtag2"]},{"1327030629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030679, 1327030681, 1327030671, 1327030629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.609121322631836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:33:02.783588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:33:22.151338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0003.jpg', '/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_0000.jpg', '/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/32/image_06012025_20_32_02_340419_0003.jpg
/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_0000.jpg
/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_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":["1327030733","1327030730","1327030727"],"photo_ids_order":["1327030727","1327030730","1327030733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c15d6c1f049f8c172b694a41a8c13b2.jpg","text":"TemporaryFile(/tmp/multipartBody3218250148912743591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192069635,"filename":"image_06012025_20_33_02_398459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7989aaa3cdf81108d26692135d773fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7150410335372991480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192069635,"filename":"image_06012025_20_33_02_398459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c786b9fa86202a7317683c3fcab18c6.jpg","text":"TemporaryFile(/tmp/multipartBody223456116081116725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192069635,"filename":"image_06012025_20_32_02_340419_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030733","file1":"1327030730","file0":"1327030727"},"map_files_photo_id_array":[{"photo_id":"1327030733","filename":"file2"},{"photo_id":"1327030730","filename":"file1"},{"photo_id":"1327030727","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030733":["hashtag1","hashtag2"]},{"1327030730":["hashtag1","hashtag2"]},{"1327030727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030733, 1327030730, 1327030727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.74406909942627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:34:02.867404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:34:22.386871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_0002.jpg', '/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0000.jpg', '/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/33/image_06012025_20_33_02_398459_0002.jpg
/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0000.jpg
/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030744","1327030747","1327030749"],"photo_ids_order":["1327030744","1327030747","1327030749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/42b768ba8313296c07bf5adcd7f42c37.jpg","text":"TemporaryFile(/tmp/multipartBody246982345078450674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192129906,"filename":"image_06012025_20_33_02_398459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/040f658b999ed45bc4b2477ec4910cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3321818335594228478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192129906,"filename":"image_06012025_20_34_02_544308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/07e170257d267ef47b648b48eb8e51b9.jpg","text":"TemporaryFile(/tmp/multipartBody5228649166552546813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192129906,"filename":"image_06012025_20_34_02_544308_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030749","file1":"1327030747","file0":"1327030744"},"map_files_photo_id_array":[{"photo_id":"1327030749","filename":"file2"},{"photo_id":"1327030747","filename":"file1"},{"photo_id":"1327030744","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030744":["hashtag1","hashtag2"]},{"1327030747":["hashtag1","hashtag2"]},{"1327030749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030744, 1327030747, 1327030749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.451743364334106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:35:03.155084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:35:22.545877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0003.jpg', '/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0001.jpg', '/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/34/image_06012025_20_34_02_544308_0003.jpg
/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0001.jpg
/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030778","1327030793","1327030775"],"photo_ids_order":["1327030775","1327030778","1327030793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da22b693212f45cf901336d5040478da.jpg","text":"TemporaryFile(/tmp/multipartBody2987425121777425104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192190145,"filename":"image_06012025_20_35_02_718480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e10152c58d7c10292e0a8575adc0096.jpg","text":"TemporaryFile(/tmp/multipartBody4602383265990018753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192190145,"filename":"image_06012025_20_35_02_718480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0617b80909257d1ebc3216eb117f4de.jpg","text":"TemporaryFile(/tmp/multipartBody4303227358347131401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192190145,"filename":"image_06012025_20_34_02_544308_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030793","file1":"1327030778","file0":"1327030775"},"map_files_photo_id_array":[{"photo_id":"1327030793","filename":"file2"},{"photo_id":"1327030778","filename":"file1"},{"photo_id":"1327030775","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030778":["hashtag1","hashtag2"]},{"1327030793":["hashtag1","hashtag2"]},{"1327030775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030778, 1327030793, 1327030775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.7300226688385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:36:02.312837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:36:21.868509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0003.jpg', '/home/pi/Desktop/images/06012025/20/36/image_06012025_20_36_02_993788_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/35/image_06012025_20_35_02_718480_0003.jpg
/home/pi/Desktop/images/06012025/20/36/image_06012025_20_36_02_993788_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":["1327030847","1327030851"],"photo_ids_order":["1327030847","1327030851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/056d24f6d6b69bccb9847b662027e676.jpg","text":"TemporaryFile(/tmp/multipartBody1359355896332571639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192247321,"filename":"image_06012025_20_35_02_718480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bcde8a412ac0a5092ff08c079b8fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody1842794451727404482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192247321,"filename":"image_06012025_20_36_02_993788_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327030851","file0":"1327030847"},"map_files_photo_id_array":[{"photo_id":"1327030851","filename":"file1"},{"photo_id":"1327030847","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030847":["hashtag1","hashtag2"]},{"1327030851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030847, 1327030851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.275130033493042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:36:51.815046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:37:02.599861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:37:22.049544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/36/image_06012025_20_36_02_993788_0001.jpg', '/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0000.jpg', '/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0001.jpg', '/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/36/image_06012025_20_36_02_993788_0001.jpg
/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0000.jpg
/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0001.jpg
/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327030907","1327030864","1327030912","1327030872"],"photo_ids_order":["1327030864","1327030872","1327030907","1327030912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04f49f56fb515ca0c1bd9049a25c89ea.jpg","text":"TemporaryFile(/tmp/multipartBody8288265640331232064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192311817,"filename":"image_06012025_20_37_02_229234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1fc6e06f27005ded9e6aca6c2bc1f934.jpg","text":"TemporaryFile(/tmp/multipartBody1871734289035670470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192311817,"filename":"image_06012025_20_36_02_993788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8a8648c1f781058c0214909982b4fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1964366535779427570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192311817,"filename":"image_06012025_20_37_02_229234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ead7c318001d271c51ecf1876522d9db.jpg","text":"TemporaryFile(/tmp/multipartBody8425942295228412556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192311817,"filename":"image_06012025_20_37_02_229234_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030907","file1":"1327030872","file0":"1327030864","file3":"1327030912"},"map_files_photo_id_array":[{"photo_id":"1327030907","filename":"file2"},{"photo_id":"1327030872","filename":"file1"},{"photo_id":"1327030864","filename":"file0"},{"photo_id":"1327030912","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030907":["hashtag1","hashtag2"]},{"1327030864":["hashtag1","hashtag2"]},{"1327030912":["hashtag1","hashtag2"]},{"1327030872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030907, 1327030864, 1327030912, 1327030872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97082018852234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:38:02.633349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:38:22.207289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0003.jpg', '/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_0000.jpg', '/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/37/image_06012025_20_37_02_229234_0003.jpg
/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_0000.jpg
/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_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":["1327030981","1327030977","1327030974"],"photo_ids_order":["1327030974","1327030977","1327030981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8a76748f1d0c25d9fa96c6b123674c6a.jpg","text":"TemporaryFile(/tmp/multipartBody8717606380519649574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192369694,"filename":"image_06012025_20_38_02_363873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87b4d99e605d5c8d5ecaa41667d3b7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4037214259117107323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192369694,"filename":"image_06012025_20_38_02_363873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e524ca166522e4e44e2747c6f17cc6a1.jpg","text":"TemporaryFile(/tmp/multipartBody7120555443800659374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192369694,"filename":"image_06012025_20_37_02_229234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327030981","file1":"1327030977","file0":"1327030974"},"map_files_photo_id_array":[{"photo_id":"1327030981","filename":"file2"},{"photo_id":"1327030977","filename":"file1"},{"photo_id":"1327030974","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327030981":["hashtag1","hashtag2"]},{"1327030977":["hashtag1","hashtag2"]},{"1327030974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327030981, 1327030977, 1327030974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.44350337982178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:39:03.100671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:39:22.518217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_0002.jpg', '/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0000.jpg', '/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0001.jpg', '/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/38/image_06012025_20_38_02_363873_0002.jpg
/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0000.jpg
/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0001.jpg
/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031111","1327031116","1327031131","1327031127"],"photo_ids_order":["1327031111","1327031116","1327031127","1327031131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc452a3713ddcb0cd23c35d41f4eed8b.jpg","text":"TemporaryFile(/tmp/multipartBody6055542369782144674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192432285,"filename":"image_06012025_20_38_02_363873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/170a7dd57e428d8213469bcaf23f098e.jpg","text":"TemporaryFile(/tmp/multipartBody6194454852143412767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192432285,"filename":"image_06012025_20_39_02_576489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a6e102b31279be6ca59fae68a47b32a6.jpg","text":"TemporaryFile(/tmp/multipartBody7087310428550984141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192432285,"filename":"image_06012025_20_39_02_576489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7cdf12173289647d5a1b740eb7395b3.jpg","text":"TemporaryFile(/tmp/multipartBody4138065162171580297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192432285,"filename":"image_06012025_20_39_02_576489_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031127","file1":"1327031116","file0":"1327031111","file3":"1327031131"},"map_files_photo_id_array":[{"photo_id":"1327031127","filename":"file2"},{"photo_id":"1327031116","filename":"file1"},{"photo_id":"1327031111","filename":"file0"},{"photo_id":"1327031131","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031111":["hashtag1","hashtag2"]},{"1327031116":["hashtag1","hashtag2"]},{"1327031131":["hashtag1","hashtag2"]},{"1327031127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031111, 1327031116, 1327031131, 1327031127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.62985897064209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:40:03.214920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:40:22.715991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0003.jpg', '/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_0000.jpg', '/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/39/image_06012025_20_39_02_576489_0003.jpg
/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_0000.jpg
/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_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":["1327031213","1327031215","1327031190"],"photo_ids_order":["1327031190","1327031213","1327031215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a5fa5cdf2873633eb77bc8813a178f1.jpg","text":"TemporaryFile(/tmp/multipartBody4807210887091644729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192490180,"filename":"image_06012025_20_40_02_878408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0c763824af8d0401a2466c498a1e4a1.jpg","text":"TemporaryFile(/tmp/multipartBody3626479298483650538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192490180,"filename":"image_06012025_20_40_02_878408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b2c1c6d880fbb65d942b0cd64632df3.jpg","text":"TemporaryFile(/tmp/multipartBody5511883131272918969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192490180,"filename":"image_06012025_20_39_02_576489_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031215","file1":"1327031213","file0":"1327031190"},"map_files_photo_id_array":[{"photo_id":"1327031215","filename":"file2"},{"photo_id":"1327031213","filename":"file1"},{"photo_id":"1327031190","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031213":["hashtag1","hashtag2"]},{"1327031215":["hashtag1","hashtag2"]},{"1327031190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031213, 1327031215, 1327031190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.373608350753784 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 --last_day=15
2025-01-06 20:41:02.494760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:41:21.896623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_0003.jpg', '/home/pi/Desktop/images/06012025/20/41/image_06012025_20_41_03_035851_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/40/image_06012025_20_40_02_878408_0003.jpg
/home/pi/Desktop/images/06012025/20/41/image_06012025_20_41_03_035851_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":["1327031234","1327031238"],"photo_ids_order":["1327031234","1327031238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/885341646878bb7897155755dfd64515.jpg","text":"TemporaryFile(/tmp/multipartBody7051811524266581667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192547104,"filename":"image_06012025_20_40_02_878408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c07f51fed4dcce4f4a197e2f79ed1ec9.jpg","text":"TemporaryFile(/tmp/multipartBody939307098009745582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192547104,"filename":"image_06012025_20_41_03_035851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327031238","file0":"1327031234"},"map_files_photo_id_array":[{"photo_id":"1327031238","filename":"file1"},{"photo_id":"1327031234","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031234":["hashtag1","hashtag2"]},{"1327031238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031234, 1327031238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.31435537338257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:41:51.891057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:42:02.568001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:42:22.065984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/41/image_06012025_20_41_03_035851_0002.jpg', '/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0000.jpg', '/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/41/image_06012025_20_41_03_035851_0002.jpg
/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0000.jpg
/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031251","1327031254","1327031248"],"photo_ids_order":["1327031248","1327031251","1327031254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8682122f0dac9235f3f502f3f6a354d3.jpg","text":"TemporaryFile(/tmp/multipartBody503666722468132237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192609535,"filename":"image_06012025_20_42_02_218501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75f16d134108d13dc33857503bece5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1608728500123991075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192609535,"filename":"image_06012025_20_42_02_218501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/780d48d058b2063699326a7472237bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5852595028340174817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192609535,"filename":"image_06012025_20_41_03_035851_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031254","file1":"1327031251","file0":"1327031248"},"map_files_photo_id_array":[{"photo_id":"1327031254","filename":"file2"},{"photo_id":"1327031251","filename":"file1"},{"photo_id":"1327031248","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031251":["hashtag1","hashtag2"]},{"1327031254":["hashtag1","hashtag2"]},{"1327031248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031251, 1327031254, 1327031248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.189640522003174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:43:02.809630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:43:22.191181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/42/image_06012025_20_42_02_218501_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031336"],"photo_id":"1327031336","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79eebdd680d13473e62fce1cd9cb24bd.jpg","text":"TemporaryFile(/tmp/multipartBody6603667873270853118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192665130,"filename":"image_06012025_20_42_02_218501_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327031336"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327031336"}],"hashtags":[],"portfolio_id":"19426211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.35580563545227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 20:43:42.265844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:43:52.239800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:44:02.808066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:44:22.496405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/43/image_06012025_20_43_02_415718_0001.jpg', '/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0000.jpg', '/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0001.jpg', '/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/43/image_06012025_20_43_02_415718_0001.jpg
/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0000.jpg
/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0001.jpg
/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031410","1327031418","1327031412","1327031415"],"photo_ids_order":["1327031410","1327031412","1327031415","1327031418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a1ea9851545c41d2886ed60083339df.jpg","text":"TemporaryFile(/tmp/multipartBody4504681071076750990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192732235,"filename":"image_06012025_20_43_02_415718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e843f46614ba63f9bcbb3b2cdc2874ad.jpg","text":"TemporaryFile(/tmp/multipartBody8172751311582092827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192732235,"filename":"image_06012025_20_44_02_602084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1f69ce333691f5bd9202fbf968abd33.jpg","text":"TemporaryFile(/tmp/multipartBody2694759993785454889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192732235,"filename":"image_06012025_20_44_02_602084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f00d423754af246d1b940bb52629748.jpg","text":"TemporaryFile(/tmp/multipartBody5249744382755129103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192732235,"filename":"image_06012025_20_44_02_602084_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031415","file1":"1327031412","file0":"1327031410","file3":"1327031418"},"map_files_photo_id_array":[{"photo_id":"1327031415","filename":"file2"},{"photo_id":"1327031412","filename":"file1"},{"photo_id":"1327031410","filename":"file0"},{"photo_id":"1327031418","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031410":["hashtag1","hashtag2"]},{"1327031418":["hashtag1","hashtag2"]},{"1327031412":["hashtag1","hashtag2"]},{"1327031415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031410, 1327031418, 1327031412, 1327031415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.33733010292053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:45:03.203414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:45:22.600980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0003.jpg', '/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0000.jpg', '/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0001.jpg', '/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/44/image_06012025_20_44_02_602084_0003.jpg
/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0000.jpg
/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0001.jpg
/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_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":["1327031542","1327031551","1327031539","1327031554"],"photo_ids_order":["1327031539","1327031542","1327031551","1327031554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab1ac5579e092653751b788838057898.jpg","text":"TemporaryFile(/tmp/multipartBody5359648679240446293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192792352,"filename":"image_06012025_20_45_02_763345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/186eb72048cffadd2551d3feef2e736e.jpg","text":"TemporaryFile(/tmp/multipartBody2849275771154309527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192792352,"filename":"image_06012025_20_45_02_763345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b0e26ac50cdf62e51793af50929e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody1304843468444302900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192792352,"filename":"image_06012025_20_44_02_602084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f1e34f77cde7279d16e4a492f2617a4.jpg","text":"TemporaryFile(/tmp/multipartBody8234280242089913128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192792352,"filename":"image_06012025_20_45_02_763345_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031551","file1":"1327031542","file0":"1327031539","file3":"1327031554"},"map_files_photo_id_array":[{"photo_id":"1327031551","filename":"file2"},{"photo_id":"1327031542","filename":"file1"},{"photo_id":"1327031539","filename":"file0"},{"photo_id":"1327031554","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031542":["hashtag1","hashtag2"]},{"1327031551":["hashtag1","hashtag2"]},{"1327031539":["hashtag1","hashtag2"]},{"1327031554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031542, 1327031551, 1327031539, 1327031554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.246034145355225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:46:21.823976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0003.jpg', '/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0001.jpg', '/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0003.jpg
/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0001.jpg
/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_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.0949859619140625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:46:31.778987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0003.jpg', '/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0001.jpg', '/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/45/image_06012025_20_45_02_763345_0003.jpg
/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0001.jpg
/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031659","1327031650","1327031623"],"photo_ids_order":["1327031623","1327031650","1327031659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/131aa9f1f0fa030550edf6211af712a9.jpg","text":"TemporaryFile(/tmp/multipartBody6131782752082834546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192859271,"filename":"image_06012025_20_46_03_058057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01ca94e3341b7d1793472476f86f123f.jpg","text":"TemporaryFile(/tmp/multipartBody8399521779388483795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192859271,"filename":"image_06012025_20_46_03_058057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7754f07cc346109f055b351a00777b93.jpg","text":"TemporaryFile(/tmp/multipartBody4519752009517456201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192859271,"filename":"image_06012025_20_45_02_763345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031659","file1":"1327031650","file0":"1327031623"},"map_files_photo_id_array":[{"photo_id":"1327031659","filename":"file2"},{"photo_id":"1327031650","filename":"file1"},{"photo_id":"1327031623","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031659":["hashtag1","hashtag2"]},{"1327031650":["hashtag1","hashtag2"]},{"1327031623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031659, 1327031650, 1327031623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.365545988082886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:47:22.024310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0003.jpg', '/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0000.jpg', '/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0001.jpg', '/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/46/image_06012025_20_46_03_058057_0003.jpg
/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0000.jpg
/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0001.jpg
/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031674","1327031668","1327031671","1327031666"],"photo_ids_order":["1327031666","1327031668","1327031671","1327031674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c85958e40f4258b9f4b3c69c307cc4ad.jpg","text":"TemporaryFile(/tmp/multipartBody5477840151007943409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192911809,"filename":"image_06012025_20_47_02_142728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55619d565dbac51ffa5dc1a78b293c31.jpg","text":"TemporaryFile(/tmp/multipartBody1857841123618251554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192911809,"filename":"image_06012025_20_47_02_142728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/26966453f445721c775804eecb2eb45b.jpg","text":"TemporaryFile(/tmp/multipartBody1729026711891980852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192911809,"filename":"image_06012025_20_47_02_142728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a10cd901677eee5654bb90522663b87.jpg","text":"TemporaryFile(/tmp/multipartBody8404356708780574472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192911809,"filename":"image_06012025_20_46_03_058057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031671","file1":"1327031668","file0":"1327031666","file3":"1327031674"},"map_files_photo_id_array":[{"photo_id":"1327031671","filename":"file2"},{"photo_id":"1327031668","filename":"file1"},{"photo_id":"1327031666","filename":"file0"},{"photo_id":"1327031674","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031674":["hashtag1","hashtag2"]},{"1327031668":["hashtag1","hashtag2"]},{"1327031671":["hashtag1","hashtag2"]},{"1327031666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031674, 1327031668, 1327031671, 1327031666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27814269065857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:48:02.503045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:48:22.171295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0003.jpg', '/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_0000.jpg', '/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/47/image_06012025_20_47_02_142728_0003.jpg
/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_0000.jpg
/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_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":["1327031686","1327031682","1327031684"],"photo_ids_order":["1327031682","1327031684","1327031686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/739f7d03d9a77ee8c32bee84af723ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6256827165530097653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192969665,"filename":"image_06012025_20_48_02_331874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09d91b778252384e6107c1c85a80de91.jpg","text":"TemporaryFile(/tmp/multipartBody2447776654518540850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192969665,"filename":"image_06012025_20_47_02_142728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f19c1a3f270246e4706f9cf977edf01b.jpg","text":"TemporaryFile(/tmp/multipartBody1140786671830905828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736192969665,"filename":"image_06012025_20_48_02_331874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031686","file1":"1327031684","file0":"1327031682"},"map_files_photo_id_array":[{"photo_id":"1327031686","filename":"file2"},{"photo_id":"1327031684","filename":"file1"},{"photo_id":"1327031682","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031686":["hashtag1","hashtag2"]},{"1327031682":["hashtag1","hashtag2"]},{"1327031684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031686, 1327031682, 1327031684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.56067156791687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:49:02.890139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:49:22.332526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_0002.jpg', '/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_0000.jpg', '/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/48/image_06012025_20_48_02_331874_0002.jpg
/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_0000.jpg
/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_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":["1327031830","1327031833","1327031835"],"photo_ids_order":["1327031830","1327031833","1327031835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45159901837556ff161f99cb605e2906.jpg","text":"TemporaryFile(/tmp/multipartBody3531670455469127816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193029845,"filename":"image_06012025_20_48_02_331874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce32dc917fdb78a9ec90a56af47fd75b.jpg","text":"TemporaryFile(/tmp/multipartBody3028885323694344181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193029845,"filename":"image_06012025_20_49_02_495103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/71cc24db000c04f14f5f7f74e4903f9f.jpg","text":"TemporaryFile(/tmp/multipartBody8402986580348142885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193029845,"filename":"image_06012025_20_49_02_495103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031835","file1":"1327031833","file0":"1327031830"},"map_files_photo_id_array":[{"photo_id":"1327031835","filename":"file2"},{"photo_id":"1327031833","filename":"file1"},{"photo_id":"1327031830","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031830":["hashtag1","hashtag2"]},{"1327031833":["hashtag1","hashtag2"]},{"1327031835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031830, 1327031833, 1327031835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.337130308151245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:50:02.960094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:50:22.558705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_0003.jpg', '/home/pi/Desktop/images/06012025/20/50/image_06012025_20_50_02_651418_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/49/image_06012025_20_49_02_495103_0003.jpg
/home/pi/Desktop/images/06012025/20/50/image_06012025_20_50_02_651418_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":["1327031872","1327031870"],"photo_ids_order":["1327031870","1327031872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77f97883c60b011845bb818c020767e3.jpg","text":"TemporaryFile(/tmp/multipartBody6937699949543493833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193087787,"filename":"image_06012025_20_50_02_651418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75a605fb42991fa26034f3d184b7c8de.jpg","text":"TemporaryFile(/tmp/multipartBody3376362843421557789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193087787,"filename":"image_06012025_20_49_02_495103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327031872","file0":"1327031870"},"map_files_photo_id_array":[{"photo_id":"1327031872","filename":"file1"},{"photo_id":"1327031870","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031872":["hashtag1","hashtag2"]},{"1327031870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031872, 1327031870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.627068996429443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 20:50:52.506512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:51:03.340026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:51:22.668563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/50/image_06012025_20_50_02_651418_0003.jpg', '/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0000.jpg', '/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0001.jpg', '/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/50/image_06012025_20_50_02_651418_0003.jpg
/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0000.jpg
/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0001.jpg
/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_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":["1327031899","1327031902","1327031922","1327031891"],"photo_ids_order":["1327031891","1327031899","1327031902","1327031922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7935fa0b6c745d614d4d7265e166c8e9.jpg","text":"TemporaryFile(/tmp/multipartBody6439292491488259076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193152451,"filename":"image_06012025_20_51_02_849089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2caf8e26022333cf8759dbbeb281c794.jpg","text":"TemporaryFile(/tmp/multipartBody2170210239356091544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193152451,"filename":"image_06012025_20_51_02_849089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/01211589e749d5d2432c60bcbb5be8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8201551035646437044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193152451,"filename":"image_06012025_20_51_02_849089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5ed510836a70faba889fb4dc096f0a50.jpg","text":"TemporaryFile(/tmp/multipartBody1972726583200564714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193152451,"filename":"image_06012025_20_50_02_651418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031902","file1":"1327031899","file0":"1327031891","file3":"1327031922"},"map_files_photo_id_array":[{"photo_id":"1327031902","filename":"file2"},{"photo_id":"1327031899","filename":"file1"},{"photo_id":"1327031891","filename":"file0"},{"photo_id":"1327031922","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031899":["hashtag1","hashtag2"]},{"1327031902":["hashtag1","hashtag2"]},{"1327031922":["hashtag1","hashtag2"]},{"1327031891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031899, 1327031902, 1327031922, 1327031891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.394439458847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:52:21.943788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0003.jpg', '/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0000.jpg', '/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/51/image_06012025_20_51_02_849089_0003.jpg
/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0000.jpg
/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031932","1327031934","1327031936"],"photo_ids_order":["1327031932","1327031934","1327031936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e3ed0aaf1e127d47bb354a62b1c82af.jpg","text":"TemporaryFile(/tmp/multipartBody4349157733100218993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193209449,"filename":"image_06012025_20_51_02_849089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/66db5d6c0887291684b2b18ad1498283.jpg","text":"TemporaryFile(/tmp/multipartBody8529115243592555815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193209449,"filename":"image_06012025_20_52_03_069324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9334f86408f3698f19751988662b24ee.jpg","text":"TemporaryFile(/tmp/multipartBody418617946074035834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193209449,"filename":"image_06012025_20_52_03_069324_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031936","file1":"1327031934","file0":"1327031932"},"map_files_photo_id_array":[{"photo_id":"1327031936","filename":"file2"},{"photo_id":"1327031934","filename":"file1"},{"photo_id":"1327031932","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031932":["hashtag1","hashtag2"]},{"1327031934":["hashtag1","hashtag2"]},{"1327031936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031932, 1327031934, 1327031936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.78528642654419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:53:02.677844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:53:22.096490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0003.jpg', '/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0001.jpg', '/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/52/image_06012025_20_52_03_069324_0003.jpg
/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0001.jpg
/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327031977","1327031979","1327031975"],"photo_ids_order":["1327031975","1327031977","1327031979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03fbcf450ea12ba3c9b76d6ff008ad52.jpg","text":"TemporaryFile(/tmp/multipartBody5274381627764324534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193269556,"filename":"image_06012025_20_53_02_267227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3ee29257231b7b63c7917338985bf36.jpg","text":"TemporaryFile(/tmp/multipartBody4386591974259503020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193269556,"filename":"image_06012025_20_53_02_267227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2895c3ff6cfbc95dae2686071e29d88d.jpg","text":"TemporaryFile(/tmp/multipartBody8499444762043430169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193269556,"filename":"image_06012025_20_52_03_069324_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327031979","file1":"1327031977","file0":"1327031975"},"map_files_photo_id_array":[{"photo_id":"1327031979","filename":"file2"},{"photo_id":"1327031977","filename":"file1"},{"photo_id":"1327031975","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327031977":["hashtag1","hashtag2"]},{"1327031979":["hashtag1","hashtag2"]},{"1327031975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327031977, 1327031979, 1327031975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.96412229537964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:54:02.670241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:54:22.313484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0003.jpg', '/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0001.jpg', '/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/53/image_06012025_20_53_02_267227_0003.jpg
/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0001.jpg
/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327032200","1327032198","1327032197"],"photo_ids_order":["1327032197","1327032198","1327032200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a54fb89edd586a71b3cf092383b00bfe.jpg","text":"TemporaryFile(/tmp/multipartBody8084049426086809044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193329809,"filename":"image_06012025_20_54_02_427441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac279c0233a7f0ec0ec0d9186ac3f36a.jpg","text":"TemporaryFile(/tmp/multipartBody6119442719798891463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193329809,"filename":"image_06012025_20_54_02_427441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/60bd593949cd12cd756303cd607759c3.jpg","text":"TemporaryFile(/tmp/multipartBody5184700053040598723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193329809,"filename":"image_06012025_20_53_02_267227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327032200","file1":"1327032198","file0":"1327032197"},"map_files_photo_id_array":[{"photo_id":"1327032200","filename":"file2"},{"photo_id":"1327032198","filename":"file1"},{"photo_id":"1327032197","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327032200":["hashtag1","hashtag2"]},{"1327032198":["hashtag1","hashtag2"]},{"1327032197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327032200, 1327032198, 1327032197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.475468158721924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:55:03.086856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:55:22.472439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0003.jpg', '/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0001.jpg', '/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/54/image_06012025_20_54_02_427441_0003.jpg
/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0001.jpg
/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327032237","1327032246","1327032239"],"photo_ids_order":["1327032237","1327032239","1327032246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b20b3497381c3d2d312ca231938857df.jpg","text":"TemporaryFile(/tmp/multipartBody8055992187653991650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193389976,"filename":"image_06012025_20_54_02_427441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5f4e3f8c900800642516f79f7eae1c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5002487300711078944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193389976,"filename":"image_06012025_20_55_02_635303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/378240f302353bd3de9b352c8b91c034.jpg","text":"TemporaryFile(/tmp/multipartBody2798882520694016819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193389976,"filename":"image_06012025_20_55_02_635303_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327032246","file1":"1327032239","file0":"1327032237"},"map_files_photo_id_array":[{"photo_id":"1327032246","filename":"file2"},{"photo_id":"1327032239","filename":"file1"},{"photo_id":"1327032237","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327032237":["hashtag1","hashtag2"]},{"1327032246":["hashtag1","hashtag2"]},{"1327032239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327032237, 1327032246, 1327032239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.571908950805664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:56:03.039505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:56:22.655632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0003.jpg', '/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0000.jpg', '/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0001.jpg', '/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/55/image_06012025_20_55_02_635303_0003.jpg
/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0000.jpg
/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0001.jpg
/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_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":["1327032295","1327032298","1327032291","1327032292"],"photo_ids_order":["1327032291","1327032292","1327032295","1327032298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e80703dd2bd5bc49af2a1e076b96e27.jpg","text":"TemporaryFile(/tmp/multipartBody5133901736218211151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193452427,"filename":"image_06012025_20_56_02_818314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9fa5df9117162b7a880b4c74e26e7ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2026171222203520601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193452427,"filename":"image_06012025_20_56_02_818314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31a4dae33d84d05ff62c4147d5aff296.jpg","text":"TemporaryFile(/tmp/multipartBody8474790536465722851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193452427,"filename":"image_06012025_20_55_02_635303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/51034fa20c185f9f08a9a58ba8f3090e.jpg","text":"TemporaryFile(/tmp/multipartBody3066630375294265114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193452427,"filename":"image_06012025_20_56_02_818314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327032295","file1":"1327032292","file0":"1327032291","file3":"1327032298"},"map_files_photo_id_array":[{"photo_id":"1327032295","filename":"file2"},{"photo_id":"1327032292","filename":"file1"},{"photo_id":"1327032291","filename":"file0"},{"photo_id":"1327032298","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327032295":["hashtag1","hashtag2"]},{"1327032298":["hashtag1","hashtag2"]},{"1327032291":["hashtag1","hashtag2"]},{"1327032292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327032295, 1327032298, 1327032291, 1327032292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21675086021423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:57:21.819724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0003.jpg', '/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0000.jpg', '/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0001.jpg', '/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/56/image_06012025_20_56_02_818314_0003.jpg
/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0000.jpg
/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0001.jpg
/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327032343","1327032348","1327032351","1327032345"],"photo_ids_order":["1327032343","1327032345","1327032348","1327032351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62fb5a9fe3023ed326ef6319bde6cb2b.jpg","text":"TemporaryFile(/tmp/multipartBody4360653577840926298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193511581,"filename":"image_06012025_20_56_02_818314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9efbe0cb10ae60c5b0cd700e05b9eed8.jpg","text":"TemporaryFile(/tmp/multipartBody3521129138770099294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193511581,"filename":"image_06012025_20_57_02_995678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cdd2ff9e18c70425bb152367d5700291.jpg","text":"TemporaryFile(/tmp/multipartBody1735167770719533313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193511581,"filename":"image_06012025_20_57_02_995678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d68f86907c6618fd7dfad766a9ccdfc.jpg","text":"TemporaryFile(/tmp/multipartBody2960447822178812343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193511581,"filename":"image_06012025_20_57_02_995678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327032348","file1":"1327032345","file0":"1327032343","file3":"1327032351"},"map_files_photo_id_array":[{"photo_id":"1327032348","filename":"file2"},{"photo_id":"1327032345","filename":"file1"},{"photo_id":"1327032343","filename":"file0"},{"photo_id":"1327032351","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327032343":["hashtag1","hashtag2"]},{"1327032348":["hashtag1","hashtag2"]},{"1327032351":["hashtag1","hashtag2"]},{"1327032345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327032343, 1327032348, 1327032351, 1327032345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04458832740784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 20:59:02.683839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 20:59:22.085918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0003.jpg', '/home/pi/Desktop/images/06012025/20/58/image_06012025_20_58_02_156915_0000.jpg', '/home/pi/Desktop/images/06012025/20/58/image_06012025_20_58_02_156915_0003.jpg', '/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_0000.jpg', '/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/57/image_06012025_20_57_02_995678_0003.jpg
/home/pi/Desktop/images/06012025/20/58/image_06012025_20_58_02_156915_0000.jpg
/home/pi/Desktop/images/06012025/20/58/image_06012025_20_58_02_156915_0003.jpg
/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_0000.jpg
/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_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":["1327032553","1327032882","1327032546","1327033046","1327032686"],"photo_ids_order":["1327032546","1327032553","1327032686","1327032882","1327033046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19ed9a0f7012a223fd84c7c8a4cf2ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5700679550967690666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193634087,"filename":"image_06012025_20_58_02_156915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/550459fe6e6f83d78fb71a23d0f05ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3573819554398442234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193634087,"filename":"image_06012025_20_59_02_266587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3d58700c650d0087c1a3a96d2dca790.jpg","text":"TemporaryFile(/tmp/multipartBody6589118550599776917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193634087,"filename":"image_06012025_20_57_02_995678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e38cf0faf2fb8e1b4bd695b0259846ce.jpg","text":"TemporaryFile(/tmp/multipartBody1837815614071583947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193634087,"filename":"image_06012025_20_59_02_266587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/491f5907ddc0b3dd5391b105c6c80503.jpg","text":"TemporaryFile(/tmp/multipartBody2831495528145235715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193634087,"filename":"image_06012025_20_58_02_156915_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327032686","file1":"1327032553","file0":"1327032546","file4":"1327033046","file3":"1327032882"},"map_files_photo_id_array":[{"photo_id":"1327032686","filename":"file2"},{"photo_id":"1327033046","filename":"file4"},{"photo_id":"1327032553","filename":"file1"},{"photo_id":"1327032546","filename":"file0"},{"photo_id":"1327032882","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327032553":["hashtag1","hashtag2"]},{"1327032882":["hashtag1","hashtag2"]},{"1327032546":["hashtag1","hashtag2"]},{"1327033046":["hashtag1","hashtag2"]},{"1327032686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327032553, 1327032882, 1327032546, 1327033046, 1327032686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.07391428947449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:00:22.315542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_0002.jpg', '/home/pi/Desktop/images/06012025/21/00/image_06012025_21_00_02_494254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/20/59/image_06012025_20_59_02_266587_0002.jpg
/home/pi/Desktop/images/06012025/21/00/image_06012025_21_00_02_494254_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":["1327033980","1327034026"],"photo_ids_order":["1327033980","1327034026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b321632d770adf7fbcb0babe8fc9acea.jpg","text":"TemporaryFile(/tmp/multipartBody894902341461820377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193687529,"filename":"image_06012025_20_59_02_266587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/284004bf537b996cab7ad462bcb53725.jpg","text":"TemporaryFile(/tmp/multipartBody4480269603690811004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193687529,"filename":"image_06012025_21_00_02_494254_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327034026","file0":"1327033980"},"map_files_photo_id_array":[{"photo_id":"1327034026","filename":"file1"},{"photo_id":"1327033980","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327033980":["hashtag1","hashtag2"]},{"1327034026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327033980, 1327034026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.624119758605957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 21:00:52.312529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:01:03.128123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:01:22.491338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/00/image_06012025_21_00_02_494254_0003.jpg', '/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0000.jpg', '/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0001.jpg', '/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/00/image_06012025_21_00_02_494254_0003.jpg
/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0000.jpg
/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0001.jpg
/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327034404","1327034409","1327034411","1327034407"],"photo_ids_order":["1327034404","1327034407","1327034409","1327034411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee25968ed4a7b17cf8711382f85782d5.jpg","text":"TemporaryFile(/tmp/multipartBody2166004339744181628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193752291,"filename":"image_06012025_21_00_02_494254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8b2e3a2319769e0f86b8fb704978bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2131957255503910124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193752291,"filename":"image_06012025_21_01_02_725995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c277b4bcf2c371811474693cd8e67509.jpg","text":"TemporaryFile(/tmp/multipartBody9090337114763115780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193752291,"filename":"image_06012025_21_01_02_725995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/274afd14575c2f455d56e6a6f04a9355.jpg","text":"TemporaryFile(/tmp/multipartBody2389867362292323743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193752291,"filename":"image_06012025_21_01_02_725995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327034409","file1":"1327034407","file0":"1327034404","file3":"1327034411"},"map_files_photo_id_array":[{"photo_id":"1327034409","filename":"file2"},{"photo_id":"1327034407","filename":"file1"},{"photo_id":"1327034404","filename":"file0"},{"photo_id":"1327034411","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327034404":["hashtag1","hashtag2"]},{"1327034409":["hashtag1","hashtag2"]},{"1327034411":["hashtag1","hashtag2"]},{"1327034407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327034404, 1327034409, 1327034411, 1327034407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.23120307922363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:02:03.169067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:02:22.585052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0003.jpg', '/home/pi/Desktop/images/06012025/21/02/image_06012025_21_02_02_815782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/01/image_06012025_21_01_02_725995_0003.jpg
/home/pi/Desktop/images/06012025/21/02/image_06012025_21_02_02_815782_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":["1327035781","1327035730"],"photo_ids_order":["1327035730","1327035781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3602980607e02dc817b6b697a26228db.jpg","text":"TemporaryFile(/tmp/multipartBody2671114383143229173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193807786,"filename":"image_06012025_21_02_02_815782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4d8e82e90c4eaee8b1f4d096d727edd.jpg","text":"TemporaryFile(/tmp/multipartBody240319213695123949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193807786,"filename":"image_06012025_21_01_02_725995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327035781","file0":"1327035730"},"map_files_photo_id_array":[{"photo_id":"1327035781","filename":"file1"},{"photo_id":"1327035730","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327035781":["hashtag1","hashtag2"]},{"1327035730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327035781, 1327035730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.608399868011475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 21:02:52.674120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:03:02.550691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:03:22.008002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/02/image_06012025_21_02_02_815782_0003.jpg', '/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0001.jpg', '/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/02/image_06012025_21_02_02_815782_0003.jpg
/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0001.jpg
/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327036183","1327036176","1327036314"],"photo_ids_order":["1327036176","1327036183","1327036314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f37a7f2b6d4f15cb8c0b151fa479a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7117386538854286242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193869433,"filename":"image_06012025_21_03_03_047787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a24d34992f5794c1865c157792d693b.jpg","text":"TemporaryFile(/tmp/multipartBody5880094768798513278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193869433,"filename":"image_06012025_21_02_02_815782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56aa85ee776f0a6d33c4e959f5878bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8791326738603829867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193869433,"filename":"image_06012025_21_03_03_047787_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327036314","file1":"1327036183","file0":"1327036176"},"map_files_photo_id_array":[{"photo_id":"1327036314","filename":"file2"},{"photo_id":"1327036183","filename":"file1"},{"photo_id":"1327036176","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327036183":["hashtag1","hashtag2"]},{"1327036176":["hashtag1","hashtag2"]},{"1327036314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327036183, 1327036176, 1327036314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.756284952163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:04:02.376664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:04:22.170957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0003.jpg', '/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0000.jpg', '/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0001.jpg', '/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/03/image_06012025_21_03_03_047787_0003.jpg
/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0000.jpg
/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0001.jpg
/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327036454","1327036451","1327036455","1327036458"],"photo_ids_order":["1327036451","1327036454","1327036455","1327036458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7f05561ae10d8692ac51130bdd813e2.jpg","text":"TemporaryFile(/tmp/multipartBody3301109094662531988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193931887,"filename":"image_06012025_21_04_02_285989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/47aa3a71b96f2139ff479c766616ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody4348718789581711158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193931887,"filename":"image_06012025_21_03_03_047787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8fe3694b94dec80d458e787cbe858b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8795364698893031081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193931887,"filename":"image_06012025_21_04_02_285989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/acc3f8545b950f29fcf978428d7a0f33.jpg","text":"TemporaryFile(/tmp/multipartBody3912500964407214866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193931887,"filename":"image_06012025_21_04_02_285989_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327036455","file1":"1327036454","file0":"1327036451","file3":"1327036458"},"map_files_photo_id_array":[{"photo_id":"1327036455","filename":"file2"},{"photo_id":"1327036454","filename":"file1"},{"photo_id":"1327036451","filename":"file0"},{"photo_id":"1327036458","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327036454":["hashtag1","hashtag2"]},{"1327036451":["hashtag1","hashtag2"]},{"1327036455":["hashtag1","hashtag2"]},{"1327036458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327036454, 1327036451, 1327036455, 1327036458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.71512293815613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:05:02.785783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:05:22.135236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0003.jpg', '/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0000.jpg', '/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/04/image_06012025_21_04_02_285989_0003.jpg
/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0000.jpg
/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327037204","1327037143","1327037198"],"photo_ids_order":["1327037143","1327037198","1327037204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b27c0ef84fce0609ce12b7bec1aaa4d6.jpg","text":"TemporaryFile(/tmp/multipartBody6169278879385415273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193989634,"filename":"image_06012025_21_05_02_421769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d866a2d6b8e8b6c025fc3cea273afb4f.jpg","text":"TemporaryFile(/tmp/multipartBody5100754310462981803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193989634,"filename":"image_06012025_21_04_02_285989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d91937b13954e23437241cfaf05d79f.jpg","text":"TemporaryFile(/tmp/multipartBody2403020073205521604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736193989634,"filename":"image_06012025_21_05_02_421769_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327037204","file1":"1327037198","file0":"1327037143"},"map_files_photo_id_array":[{"photo_id":"1327037204","filename":"file2"},{"photo_id":"1327037198","filename":"file1"},{"photo_id":"1327037143","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327037204":["hashtag1","hashtag2"]},{"1327037143":["hashtag1","hashtag2"]},{"1327037198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327037204, 1327037143, 1327037198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.019237756729126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:06:02.916704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:06:22.429506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0003.jpg', '/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0000.jpg', '/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0001.jpg', '/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/05/image_06012025_21_05_02_421769_0003.jpg
/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0000.jpg
/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0001.jpg
/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327037992","1327037787","1327038053","1327037963"],"photo_ids_order":["1327037787","1327037963","1327037992","1327038053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/084223ddce2af773df4e099d62aeda9a.jpg","text":"TemporaryFile(/tmp/multipartBody3582971818274424879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194052231,"filename":"image_06012025_21_06_02_690911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5c6bac202ad61bf9e4b4ef1c47d6a041.jpg","text":"TemporaryFile(/tmp/multipartBody8995255849064854120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194052231,"filename":"image_06012025_21_05_02_421769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad9f4fc1b8774e69820c25a5946ac1d4.jpg","text":"TemporaryFile(/tmp/multipartBody1530311543571536282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194052231,"filename":"image_06012025_21_06_02_690911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f366b4edb79369156ddcee0dbdc539b4.jpg","text":"TemporaryFile(/tmp/multipartBody9074481880296652880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194052231,"filename":"image_06012025_21_06_02_690911_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327037992","file1":"1327037963","file0":"1327037787","file3":"1327038053"},"map_files_photo_id_array":[{"photo_id":"1327037992","filename":"file2"},{"photo_id":"1327037963","filename":"file1"},{"photo_id":"1327037787","filename":"file0"},{"photo_id":"1327038053","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327037992":["hashtag1","hashtag2"]},{"1327037787":["hashtag1","hashtag2"]},{"1327038053":["hashtag1","hashtag2"]},{"1327037963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327037992, 1327037787, 1327038053, 1327037963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.209872245788574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:07:03.065509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:07:22.601657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0003.jpg', '/home/pi/Desktop/images/06012025/21/07/image_06012025_21_07_02_802668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/06/image_06012025_21_06_02_690911_0003.jpg
/home/pi/Desktop/images/06012025/21/07/image_06012025_21_07_02_802668_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":["1327038221","1327038218"],"photo_ids_order":["1327038218","1327038221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b0627b8b0bdf6f7b8d08a3de4d9b143.jpg","text":"TemporaryFile(/tmp/multipartBody1786389200055465998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194107909,"filename":"image_06012025_21_07_02_802668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/96032fc78bea153a4a2b0cd9f41fa166.jpg","text":"TemporaryFile(/tmp/multipartBody7403093326460368413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194107909,"filename":"image_06012025_21_06_02_690911_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327038221","file0":"1327038218"},"map_files_photo_id_array":[{"photo_id":"1327038221","filename":"file1"},{"photo_id":"1327038218","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327038221":["hashtag1","hashtag2"]},{"1327038218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327038221, 1327038218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.358229637145996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 21:07:52.576715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:08:02.233216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:08:21.894262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/07/image_06012025_21_07_02_802668_0003.jpg', '/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0000.jpg', '/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0001.jpg', '/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/07/image_06012025_21_07_02_802668_0003.jpg
/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0000.jpg
/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0001.jpg
/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327038859","1327038861","1327038858","1327038717"],"photo_ids_order":["1327038717","1327038858","1327038859","1327038861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3aa8cff17003dde2c845aee15a52665.jpg","text":"TemporaryFile(/tmp/multipartBody5735673133463442338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194171773,"filename":"image_06012025_21_08_02_914411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7039bd3f296640c04024a77fc3d5b521.jpg","text":"TemporaryFile(/tmp/multipartBody6217842503705149331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194171773,"filename":"image_06012025_21_08_02_914411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78dc6d127748d1a815e08711aedc3156.jpg","text":"TemporaryFile(/tmp/multipartBody4563043680045929315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194171773,"filename":"image_06012025_21_08_02_914411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b359af9e3faf4350d75d1ba2aefa017.jpg","text":"TemporaryFile(/tmp/multipartBody6053002745047652084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194171773,"filename":"image_06012025_21_07_02_802668_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327038859","file1":"1327038858","file0":"1327038717","file3":"1327038861"},"map_files_photo_id_array":[{"photo_id":"1327038859","filename":"file2"},{"photo_id":"1327038858","filename":"file1"},{"photo_id":"1327038717","filename":"file0"},{"photo_id":"1327038861","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327038859":["hashtag1","hashtag2"]},{"1327038861":["hashtag1","hashtag2"]},{"1327038858":["hashtag1","hashtag2"]},{"1327038717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327038859, 1327038861, 1327038858, 1327038717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.40938067436218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:09:02.772669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:09:21.991608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0003.jpg', '/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_0000.jpg', '/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/08/image_06012025_21_08_02_914411_0003.jpg
/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_0000.jpg
/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_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":["1327038870","1327038869","1327038868"],"photo_ids_order":["1327038868","1327038869","1327038870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ed99c1670b57103e1602271608b26cd5.jpg","text":"TemporaryFile(/tmp/multipartBody933298701372683457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194229551,"filename":"image_06012025_21_09_02_136705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05d35843fd9a7b1ff906c73b46b6c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody6098786482251493533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194229551,"filename":"image_06012025_21_09_02_136705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75b4117e461548bb0ff69459d92bdd12.jpg","text":"TemporaryFile(/tmp/multipartBody7868906619202223338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194229551,"filename":"image_06012025_21_08_02_914411_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327038870","file1":"1327038869","file0":"1327038868"},"map_files_photo_id_array":[{"photo_id":"1327038870","filename":"file2"},{"photo_id":"1327038869","filename":"file1"},{"photo_id":"1327038868","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327038870":["hashtag1","hashtag2"]},{"1327038869":["hashtag1","hashtag2"]},{"1327038868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327038870, 1327038869, 1327038868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.723656177520752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:10:02.650954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:10:22.221650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_0003.jpg', '/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0000.jpg', '/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0001.jpg', '/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/09/image_06012025_21_09_02_136705_0003.jpg
/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0000.jpg
/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0001.jpg
/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_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":["1327039356","1327039484","1327039472","1327039355"],"photo_ids_order":["1327039355","1327039356","1327039472","1327039484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29c3f23667ea236a81df18d57362fc14.jpg","text":"TemporaryFile(/tmp/multipartBody2276637496202886027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194292402,"filename":"image_06012025_21_10_02_424945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f693b4ace6e03c278fa69db7a7193ba.jpg","text":"TemporaryFile(/tmp/multipartBody354210196587964470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194292402,"filename":"image_06012025_21_10_02_424945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3e95e998f02ce2f4bb8cfd5f059698b.jpg","text":"TemporaryFile(/tmp/multipartBody7300098804403042711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194292402,"filename":"image_06012025_21_10_02_424945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7147c600e39efef661746c86d8de640.jpg","text":"TemporaryFile(/tmp/multipartBody8773899484904718014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194292402,"filename":"image_06012025_21_09_02_136705_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327039472","file1":"1327039356","file0":"1327039355","file3":"1327039484"},"map_files_photo_id_array":[{"photo_id":"1327039472","filename":"file2"},{"photo_id":"1327039356","filename":"file1"},{"photo_id":"1327039355","filename":"file0"},{"photo_id":"1327039484","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327039356":["hashtag1","hashtag2"]},{"1327039484":["hashtag1","hashtag2"]},{"1327039472":["hashtag1","hashtag2"]},{"1327039355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327039356, 1327039484, 1327039472, 1327039355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89373517036438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:11:22.351387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0003.jpg', '/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0000.jpg', '/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0001.jpg', '/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/10/image_06012025_21_10_02_424945_0003.jpg
/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0000.jpg
/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0001.jpg
/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327039612","1327039615","1327039664","1327039613"],"photo_ids_order":["1327039612","1327039613","1327039615","1327039664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08e3c67a2d0e44b42698d35f3dcb534c.jpg","text":"TemporaryFile(/tmp/multipartBody8724740750970336091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194352669,"filename":"image_06012025_21_10_02_424945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f9281a82d076f42161eb369c83ee4d7f.jpg","text":"TemporaryFile(/tmp/multipartBody554399851104592444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194352669,"filename":"image_06012025_21_11_02_585919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a1c3e7b87a82fb48c9debb3778eb55c5.jpg","text":"TemporaryFile(/tmp/multipartBody1614244552736308559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194352669,"filename":"image_06012025_21_11_02_585919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/78dc778191968b4c98a9e5d3038356a7.jpg","text":"TemporaryFile(/tmp/multipartBody2615456657867329561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194352669,"filename":"image_06012025_21_11_02_585919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327039615","file1":"1327039613","file0":"1327039612","file3":"1327039664"},"map_files_photo_id_array":[{"photo_id":"1327039615","filename":"file2"},{"photo_id":"1327039613","filename":"file1"},{"photo_id":"1327039612","filename":"file0"},{"photo_id":"1327039664","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327039612":["hashtag1","hashtag2"]},{"1327039615":["hashtag1","hashtag2"]},{"1327039664":["hashtag1","hashtag2"]},{"1327039613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327039612, 1327039615, 1327039664, 1327039613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10538148880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:12:02.935019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:12:22.564279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0003.jpg', '/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0000.jpg', '/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0001.jpg', '/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/11/image_06012025_21_11_02_585919_0003.jpg
/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0000.jpg
/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0001.jpg
/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_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":["1327039839","1327039835","1327039834","1327039837"],"photo_ids_order":["1327039834","1327039835","1327039837","1327039839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7656cab39db476ecc92d6b8fd98553c5.jpg","text":"TemporaryFile(/tmp/multipartBody3066981111251116859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194412771,"filename":"image_06012025_21_12_02_821378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f435abd75ad2d3b4867fce1494d453a8.jpg","text":"TemporaryFile(/tmp/multipartBody5842051458175677002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194412771,"filename":"image_06012025_21_12_02_821378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/191d842951fc808e6601341211e615c6.jpg","text":"TemporaryFile(/tmp/multipartBody5524241707726892750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194412771,"filename":"image_06012025_21_11_02_585919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5c2bb7fc2950b7a175807793b328d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody7452157774732390691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194412771,"filename":"image_06012025_21_12_02_821378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327039837","file1":"1327039835","file0":"1327039834","file3":"1327039839"},"map_files_photo_id_array":[{"photo_id":"1327039837","filename":"file2"},{"photo_id":"1327039835","filename":"file1"},{"photo_id":"1327039834","filename":"file0"},{"photo_id":"1327039839","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327039839":["hashtag1","hashtag2"]},{"1327039835":["hashtag1","hashtag2"]},{"1327039834":["hashtag1","hashtag2"]},{"1327039837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327039839, 1327039835, 1327039834, 1327039837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03249907493591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:13:22.687112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0003.jpg', '/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0000.jpg', '/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0001.jpg', '/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/12/image_06012025_21_12_02_821378_0003.jpg
/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0000.jpg
/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0001.jpg
/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_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":["1327039851","1327039859","1327039847","1327039849"],"photo_ids_order":["1327039847","1327039849","1327039851","1327039859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbad3df354a6e7d2623ce4ee793ac813.jpg","text":"TemporaryFile(/tmp/multipartBody9213864190153419549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194472892,"filename":"image_06012025_21_13_02_881727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/642db308ae069b442333cb89d19ea6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2868776935352025206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194472892,"filename":"image_06012025_21_13_02_881727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/594d3254df057c3be9a5fe4ffc68add6.jpg","text":"TemporaryFile(/tmp/multipartBody1975572773052833961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194472892,"filename":"image_06012025_21_12_02_821378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6f06adf2363efabd2f1dfa4ee26dc39d.jpg","text":"TemporaryFile(/tmp/multipartBody5830870001499140756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194472892,"filename":"image_06012025_21_13_02_881727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327039851","file1":"1327039849","file0":"1327039847","file3":"1327039859"},"map_files_photo_id_array":[{"photo_id":"1327039851","filename":"file2"},{"photo_id":"1327039849","filename":"file1"},{"photo_id":"1327039847","filename":"file0"},{"photo_id":"1327039859","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327039851":["hashtag1","hashtag2"]},{"1327039859":["hashtag1","hashtag2"]},{"1327039847":["hashtag1","hashtag2"]},{"1327039849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327039851, 1327039859, 1327039847, 1327039849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28696155548096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:14:21.868882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0003.jpg', '/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0000.jpg', '/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0001.jpg', '/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/13/image_06012025_21_13_02_881727_0003.jpg
/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0000.jpg
/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0001.jpg
/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327039924","1327039918","1327039922","1327039921"],"photo_ids_order":["1327039918","1327039921","1327039922","1327039924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eaa77ad0e752091dee2d38036e98b1e.jpg","text":"TemporaryFile(/tmp/multipartBody545215613733816529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194532176,"filename":"image_06012025_21_14_03_084543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b9b340e406cc9a3d623b88cad6909f2.jpg","text":"TemporaryFile(/tmp/multipartBody6633051221172093004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194532176,"filename":"image_06012025_21_13_02_881727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/caac76a3ccf8d82e5d9dc1c04229bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody4100476581312910551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194532176,"filename":"image_06012025_21_14_03_084543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b2520dfd1f277cecbe17f2a4e60a8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6492651345668317395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194532176,"filename":"image_06012025_21_14_03_084543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327039922","file1":"1327039921","file0":"1327039918","file3":"1327039924"},"map_files_photo_id_array":[{"photo_id":"1327039922","filename":"file2"},{"photo_id":"1327039921","filename":"file1"},{"photo_id":"1327039918","filename":"file0"},{"photo_id":"1327039924","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327039924":["hashtag1","hashtag2"]},{"1327039918":["hashtag1","hashtag2"]},{"1327039922":["hashtag1","hashtag2"]},{"1327039921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327039924, 1327039918, 1327039922, 1327039921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25617432594299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:15:02.485736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:15:22.052858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0003.jpg', '/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0000.jpg', '/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0001.jpg', '/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/14/image_06012025_21_14_03_084543_0003.jpg
/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0000.jpg
/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0001.jpg
/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040102","1327040101","1327040100","1327040103"],"photo_ids_order":["1327040100","1327040101","1327040102","1327040103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/737d63770009d45b0f39d456f99babf7.jpg","text":"TemporaryFile(/tmp/multipartBody2564567116432064385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194591943,"filename":"image_06012025_21_15_02_176624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c991ff8b6c920ef6c99de0b973e521c.jpg","text":"TemporaryFile(/tmp/multipartBody5214984510545687302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194591943,"filename":"image_06012025_21_15_02_176624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5336de6f8577f9c2eaf23546a00f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody7735425882835550188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194591943,"filename":"image_06012025_21_14_03_084543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c71e3383803ad49ae5d58688226b55db.jpg","text":"TemporaryFile(/tmp/multipartBody3179585227744479517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194591943,"filename":"image_06012025_21_15_02_176624_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040102","file1":"1327040101","file0":"1327040100","file3":"1327040103"},"map_files_photo_id_array":[{"photo_id":"1327040102","filename":"file2"},{"photo_id":"1327040101","filename":"file1"},{"photo_id":"1327040100","filename":"file0"},{"photo_id":"1327040103","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040102":["hashtag1","hashtag2"]},{"1327040101":["hashtag1","hashtag2"]},{"1327040100":["hashtag1","hashtag2"]},{"1327040103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040102, 1327040101, 1327040100, 1327040103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74442481994629 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-06 21:16:22.193698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0003.jpg', '/home/pi/Desktop/images/06012025/21/16/image_06012025_21_16_02_371812_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/15/image_06012025_21_15_02_176624_0003.jpg
/home/pi/Desktop/images/06012025/21/16/image_06012025_21_16_02_371812_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":["1327040161","1327040165"],"photo_ids_order":["1327040161","1327040165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/34c1f72ba99c0d24c565782d22ab83f6.jpg","text":"TemporaryFile(/tmp/multipartBody3697734464524936689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194647501,"filename":"image_06012025_21_15_02_176624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cbc5c09d74153889b76b2386edc5e10d.jpg","text":"TemporaryFile(/tmp/multipartBody4406969337937503732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194647501,"filename":"image_06012025_21_16_02_371812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327040165","file0":"1327040161"},"map_files_photo_id_array":[{"photo_id":"1327040165","filename":"file1"},{"photo_id":"1327040161","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040161":["hashtag1","hashtag2"]},{"1327040165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040161, 1327040165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.260027170181274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 21:16:52.166104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:17:03.056245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:17:22.392745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/16/image_06012025_21_16_02_371812_0002.jpg', '/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_0000.jpg', '/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/16/image_06012025_21_16_02_371812_0002.jpg
/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_0000.jpg
/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_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":["1327040205","1327040202","1327040207"],"photo_ids_order":["1327040202","1327040205","1327040207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3eb5c96b3c0ed228b6aaf0b7fd0b9e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3262575949431137254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194709907,"filename":"image_06012025_21_17_02_594040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/063bd725ae19d9a89e1b1da726bb39d3.jpg","text":"TemporaryFile(/tmp/multipartBody3373920151621618480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194709907,"filename":"image_06012025_21_16_02_371812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3fbdda68ee3c017fe26cbfca1d79afa8.jpg","text":"TemporaryFile(/tmp/multipartBody8182274520741987287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194709907,"filename":"image_06012025_21_17_02_594040_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040207","file1":"1327040205","file0":"1327040202"},"map_files_photo_id_array":[{"photo_id":"1327040207","filename":"file2"},{"photo_id":"1327040205","filename":"file1"},{"photo_id":"1327040202","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040205":["hashtag1","hashtag2"]},{"1327040202":["hashtag1","hashtag2"]},{"1327040207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040205, 1327040202, 1327040207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.16316843032837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:18:02.902728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:18:22.512575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_0003.jpg', '/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0000.jpg', '/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/17/image_06012025_21_17_02_594040_0003.jpg
/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0000.jpg
/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040260","1327040248","1327040259"],"photo_ids_order":["1327040248","1327040259","1327040260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bfb3097657485b7fb6a223bc840351bb.jpg","text":"TemporaryFile(/tmp/multipartBody8876722925490927237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194769972,"filename":"image_06012025_21_18_02_790734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff5e31b36ace1ee98f57874f2f79b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody4172196890746742930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194769972,"filename":"image_06012025_21_17_02_594040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e1401480fbc280ec6a5080a88cd8def.jpg","text":"TemporaryFile(/tmp/multipartBody5429808567929736637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194769972,"filename":"image_06012025_21_18_02_790734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040260","file1":"1327040259","file0":"1327040248"},"map_files_photo_id_array":[{"photo_id":"1327040260","filename":"file2"},{"photo_id":"1327040259","filename":"file1"},{"photo_id":"1327040248","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040260":["hashtag1","hashtag2"]},{"1327040248":["hashtag1","hashtag2"]},{"1327040259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040260, 1327040248, 1327040259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.971054077148438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:19:03.308647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:19:22.685633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0003.jpg', '/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0000.jpg', '/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0001.jpg', '/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/18/image_06012025_21_18_02_790734_0003.jpg
/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0000.jpg
/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0001.jpg
/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040290","1327040295","1327040291","1327040293"],"photo_ids_order":["1327040290","1327040291","1327040293","1327040295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e61ad48e53fc440802be9e6a68992ff.jpg","text":"TemporaryFile(/tmp/multipartBody5649102275794188083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194832642,"filename":"image_06012025_21_18_02_790734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e089eb69584bf17c22452572f348309.jpg","text":"TemporaryFile(/tmp/multipartBody1680177008826964708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194832642,"filename":"image_06012025_21_19_02_866275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/751c7e518b242617833d57123e97b8d1.jpg","text":"TemporaryFile(/tmp/multipartBody3196705792538811966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194832642,"filename":"image_06012025_21_19_02_866275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/601f598f5d310133f0bc03b9e7c214b8.jpg","text":"TemporaryFile(/tmp/multipartBody4757419844782887547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194832642,"filename":"image_06012025_21_19_02_866275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040293","file1":"1327040291","file0":"1327040290","file3":"1327040295"},"map_files_photo_id_array":[{"photo_id":"1327040293","filename":"file2"},{"photo_id":"1327040291","filename":"file1"},{"photo_id":"1327040290","filename":"file0"},{"photo_id":"1327040295","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040290":["hashtag1","hashtag2"]},{"1327040295":["hashtag1","hashtag2"]},{"1327040291":["hashtag1","hashtag2"]},{"1327040293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040290, 1327040295, 1327040291, 1327040293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.244343280792236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:20:02.304918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:20:21.792434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0003.jpg', '/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0000.jpg', '/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0001.jpg', '/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/19/image_06012025_21_19_02_866275_0003.jpg
/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0000.jpg
/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0001.jpg
/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040305","1327040304","1327040307","1327040303"],"photo_ids_order":["1327040303","1327040304","1327040305","1327040307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/55eb45d125c899bf3f68a74fe9cefe26.jpg","text":"TemporaryFile(/tmp/multipartBody6003051873831517331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194891874,"filename":"image_06012025_21_20_03_035554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad19573bede20dc79385e98a8fbd0425.jpg","text":"TemporaryFile(/tmp/multipartBody185048053332031784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194891874,"filename":"image_06012025_21_20_03_035554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/521501e185ae43408326d65c6e8af4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1690452992896361430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194891874,"filename":"image_06012025_21_20_03_035554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/68bf08c47d6cb183500917ef002ac523.jpg","text":"TemporaryFile(/tmp/multipartBody8430595386722838172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194891874,"filename":"image_06012025_21_19_02_866275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040305","file1":"1327040304","file0":"1327040303","file3":"1327040307"},"map_files_photo_id_array":[{"photo_id":"1327040305","filename":"file2"},{"photo_id":"1327040304","filename":"file1"},{"photo_id":"1327040303","filename":"file0"},{"photo_id":"1327040307","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040305":["hashtag1","hashtag2"]},{"1327040304":["hashtag1","hashtag2"]},{"1327040307":["hashtag1","hashtag2"]},{"1327040303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040305, 1327040304, 1327040307, 1327040303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.74545431137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:21:02.602718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:21:22.086521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0003.jpg', '/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0000.jpg', '/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0001.jpg', '/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/20/image_06012025_21_20_03_035554_0003.jpg
/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0000.jpg
/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0001.jpg
/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040338","1327040332","1327040335","1327040327"],"photo_ids_order":["1327040327","1327040332","1327040335","1327040338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/109c9b0526de4deb73eb42e7a04a8bda.jpg","text":"TemporaryFile(/tmp/multipartBody2427774857778465549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194952190,"filename":"image_06012025_21_21_02_125195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/549b83a69c0d33f32a0626cffc521e12.jpg","text":"TemporaryFile(/tmp/multipartBody5189711434239802608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194952190,"filename":"image_06012025_21_21_02_125195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dc07e1bb30fc9da9a1de16b7d469e448.jpg","text":"TemporaryFile(/tmp/multipartBody4925139548516994062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194952190,"filename":"image_06012025_21_21_02_125195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7879484b667890a98a3b53b8637691e1.jpg","text":"TemporaryFile(/tmp/multipartBody3672259093620699986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736194952190,"filename":"image_06012025_21_20_03_035554_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040335","file1":"1327040332","file0":"1327040327","file3":"1327040338"},"map_files_photo_id_array":[{"photo_id":"1327040335","filename":"file2"},{"photo_id":"1327040332","filename":"file1"},{"photo_id":"1327040327","filename":"file0"},{"photo_id":"1327040338","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040338":["hashtag1","hashtag2"]},{"1327040332":["hashtag1","hashtag2"]},{"1327040335":["hashtag1","hashtag2"]},{"1327040327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040338, 1327040332, 1327040335, 1327040327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32336115837097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:22:02.539690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:22:22.271842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0003.jpg', '/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0000.jpg', '/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0001.jpg', '/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/21/image_06012025_21_21_02_125195_0003.jpg
/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0000.jpg
/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0001.jpg
/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_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":["1327040425","1327040428","1327040422","1327040420"],"photo_ids_order":["1327040420","1327040422","1327040425","1327040428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/797a30b633440a2626b4481cd1080f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2754563948699150393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195013935,"filename":"image_06012025_21_22_02_448642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de2b8338801bdba72241d301dde0b6cd.jpg","text":"TemporaryFile(/tmp/multipartBody2978404889930133096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195013935,"filename":"image_06012025_21_22_02_448642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0b8448b87bc40316fdea0e735142c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6885144556345409446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195013935,"filename":"image_06012025_21_22_02_448642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e399bed240ffddf4f04064d467b3faad.jpg","text":"TemporaryFile(/tmp/multipartBody6266666883436603616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195013935,"filename":"image_06012025_21_21_02_125195_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040425","file1":"1327040422","file0":"1327040420","file3":"1327040428"},"map_files_photo_id_array":[{"photo_id":"1327040425","filename":"file2"},{"photo_id":"1327040422","filename":"file1"},{"photo_id":"1327040420","filename":"file0"},{"photo_id":"1327040428","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040425":["hashtag1","hashtag2"]},{"1327040428":["hashtag1","hashtag2"]},{"1327040422":["hashtag1","hashtag2"]},{"1327040420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040425, 1327040428, 1327040422, 1327040420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.532055616378784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:23:22.475939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0003.jpg', '/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0000.jpg', '/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0001.jpg', '/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/22/image_06012025_21_22_02_448642_0003.jpg
/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0000.jpg
/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0001.jpg
/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040485","1327040493","1327040487","1327040502"],"photo_ids_order":["1327040485","1327040487","1327040493","1327040502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d38418f8c20fe78e958b1a85a1a934a.jpg","text":"TemporaryFile(/tmp/multipartBody5817845606612823164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195072520,"filename":"image_06012025_21_22_02_448642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48c07d1c6bb8369d0a0e27cdf3455646.jpg","text":"TemporaryFile(/tmp/multipartBody8165011371051175153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195072520,"filename":"image_06012025_21_23_02_588100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64b7321a3e1114288e86b702694a3ec2.jpg","text":"TemporaryFile(/tmp/multipartBody797217901448301272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195072520,"filename":"image_06012025_21_23_02_588100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/931fcb781fc09833b77ac70ba3d11376.jpg","text":"TemporaryFile(/tmp/multipartBody7371538064271056973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195072520,"filename":"image_06012025_21_23_02_588100_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040493","file1":"1327040487","file0":"1327040485","file3":"1327040502"},"map_files_photo_id_array":[{"photo_id":"1327040493","filename":"file2"},{"photo_id":"1327040487","filename":"file1"},{"photo_id":"1327040485","filename":"file0"},{"photo_id":"1327040502","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040485":["hashtag1","hashtag2"]},{"1327040493":["hashtag1","hashtag2"]},{"1327040487":["hashtag1","hashtag2"]},{"1327040502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040485, 1327040493, 1327040487, 1327040502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48474311828613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:24:03.170867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:24:22.659872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0003.jpg', '/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0000.jpg', '/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0001.jpg', '/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/23/image_06012025_21_23_02_588100_0003.jpg
/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0000.jpg
/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0001.jpg
/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040656","1327040652","1327040657","1327040654"],"photo_ids_order":["1327040652","1327040654","1327040656","1327040657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e87865cbc33e7664c3e68f645b4d365c.jpg","text":"TemporaryFile(/tmp/multipartBody4761445202554413974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195132798,"filename":"image_06012025_21_24_02_828471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/010ef8fe5d82405b6d9cef5f065060a5.jpg","text":"TemporaryFile(/tmp/multipartBody728377435976556504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195132798,"filename":"image_06012025_21_23_02_588100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18e5c88cb0dc4cb5f959da3ccf6903ab.jpg","text":"TemporaryFile(/tmp/multipartBody4472521126451148283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195132798,"filename":"image_06012025_21_24_02_828471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa5bda741b9b2ca1c201d9eaf4723c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6237796079607239528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195132798,"filename":"image_06012025_21_24_02_828471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040656","file1":"1327040654","file0":"1327040652","file3":"1327040657"},"map_files_photo_id_array":[{"photo_id":"1327040656","filename":"file2"},{"photo_id":"1327040654","filename":"file1"},{"photo_id":"1327040652","filename":"file0"},{"photo_id":"1327040657","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040656":["hashtag1","hashtag2"]},{"1327040652":["hashtag1","hashtag2"]},{"1327040657":["hashtag1","hashtag2"]},{"1327040654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040656, 1327040652, 1327040657, 1327040654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52011251449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:25:02.501067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:25:21.855598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0003.jpg', '/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0000.jpg', '/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0001.jpg', '/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/24/image_06012025_21_24_02_828471_0003.jpg
/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0000.jpg
/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0001.jpg
/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_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":["1327040695","1327040697","1327040691","1327040693"],"photo_ids_order":["1327040691","1327040693","1327040695","1327040697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce40aa86cdf78cfee32994312af2e5fb.jpg","text":"TemporaryFile(/tmp/multipartBody9056259556012024973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195192016,"filename":"image_06012025_21_25_03_032071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a301c9b7a1f4d0e7a15ce38019eccf2.jpg","text":"TemporaryFile(/tmp/multipartBody728026723405564840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195192016,"filename":"image_06012025_21_25_03_032071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df93f179f1298773892a272b63cff811.jpg","text":"TemporaryFile(/tmp/multipartBody5333982934456865013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195192016,"filename":"image_06012025_21_24_02_828471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/20e8ba64a88acbd686290c1e51f6e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8572889393293887420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195192016,"filename":"image_06012025_21_25_03_032071_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040695","file1":"1327040693","file0":"1327040691","file3":"1327040697"},"map_files_photo_id_array":[{"photo_id":"1327040695","filename":"file2"},{"photo_id":"1327040693","filename":"file1"},{"photo_id":"1327040691","filename":"file0"},{"photo_id":"1327040697","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040695":["hashtag1","hashtag2"]},{"1327040697":["hashtag1","hashtag2"]},{"1327040691":["hashtag1","hashtag2"]},{"1327040693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040695, 1327040697, 1327040691, 1327040693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.689966440200806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:26:22.013729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0003.jpg', '/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0000.jpg', '/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0001.jpg', '/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/25/image_06012025_21_25_03_032071_0003.jpg
/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0000.jpg
/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0001.jpg
/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_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":["1327040728","1327040704","1327040707","1327040726"],"photo_ids_order":["1327040704","1327040707","1327040726","1327040728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bd315ab52bfa3cffbb904c4d924ee807.jpg","text":"TemporaryFile(/tmp/multipartBody1806401995950929602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195252105,"filename":"image_06012025_21_26_02_238626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4096bd6a5d280fabffa6bc1f8df30860.jpg","text":"TemporaryFile(/tmp/multipartBody6908502114537004379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195252105,"filename":"image_06012025_21_25_03_032071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1f054f9daf6907acf694fd65f3096bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7544473211682809196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195252105,"filename":"image_06012025_21_26_02_238626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38607d1128109e2516918b22e1919b28.jpg","text":"TemporaryFile(/tmp/multipartBody4853955919144376775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195252105,"filename":"image_06012025_21_26_02_238626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040726","file1":"1327040707","file0":"1327040704","file3":"1327040728"},"map_files_photo_id_array":[{"photo_id":"1327040726","filename":"file2"},{"photo_id":"1327040707","filename":"file1"},{"photo_id":"1327040704","filename":"file0"},{"photo_id":"1327040728","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040728":["hashtag1","hashtag2"]},{"1327040704":["hashtag1","hashtag2"]},{"1327040707":["hashtag1","hashtag2"]},{"1327040726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040728, 1327040704, 1327040707, 1327040726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.486185789108276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:27:22.247002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0003.jpg', '/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0000.jpg', '/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0001.jpg', '/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/26/image_06012025_21_26_02_238626_0003.jpg
/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0000.jpg
/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0001.jpg
/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040787","1327040792","1327040795","1327040789"],"photo_ids_order":["1327040787","1327040789","1327040792","1327040795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd486e1a98e9d88dc34f7b3d86a598af.jpg","text":"TemporaryFile(/tmp/multipartBody9106032500735392759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195312297,"filename":"image_06012025_21_26_02_238626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/463d49f647e8975c821a1715d41f0a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8913793794438217726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195312297,"filename":"image_06012025_21_27_02_401285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c64ad9aed5fa9e62298578c736abacda.jpg","text":"TemporaryFile(/tmp/multipartBody5139065750020833629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195312297,"filename":"image_06012025_21_27_02_401285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8a5a7bbb3737d73e6262045eb12faed.jpg","text":"TemporaryFile(/tmp/multipartBody2526775043313833282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195312297,"filename":"image_06012025_21_27_02_401285_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040792","file1":"1327040789","file0":"1327040787","file3":"1327040795"},"map_files_photo_id_array":[{"photo_id":"1327040792","filename":"file2"},{"photo_id":"1327040789","filename":"file1"},{"photo_id":"1327040787","filename":"file0"},{"photo_id":"1327040795","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040787":["hashtag1","hashtag2"]},{"1327040792":["hashtag1","hashtag2"]},{"1327040795":["hashtag1","hashtag2"]},{"1327040789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040787, 1327040792, 1327040795, 1327040789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93623948097229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:28:02.616534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:28:22.384719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0003.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0000.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0001.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0003.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0000.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0001.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_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.686837673187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 21:28:42.342854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0003.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0000.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0001.jpg', '/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/27/image_06012025_21_27_02_401285_0003.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0000.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0001.jpg
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040848","1327040839","1327040844","1327040841"],"photo_ids_order":["1327040839","1327040841","1327040844","1327040848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/48775f428b7a55f3d164832ee5a208c0.jpg","text":"TemporaryFile(/tmp/multipartBody7336551532026458056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195392438,"filename":"image_06012025_21_28_02_556017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b471075e1b4d6907cd04aee595d527d6.jpg","text":"TemporaryFile(/tmp/multipartBody7809197495000837060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195392438,"filename":"image_06012025_21_27_02_401285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b3783b596d95b73dd6d3a4ce9de2963.jpg","text":"TemporaryFile(/tmp/multipartBody5516441330148306364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195392438,"filename":"image_06012025_21_28_02_556017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b549c6fea079d7aa2b0284684a7f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3826183885544359290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195392438,"filename":"image_06012025_21_28_02_556017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040844","file1":"1327040841","file0":"1327040839","file3":"1327040848"},"map_files_photo_id_array":[{"photo_id":"1327040844","filename":"file2"},{"photo_id":"1327040841","filename":"file1"},{"photo_id":"1327040839","filename":"file0"},{"photo_id":"1327040848","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040848":["hashtag1","hashtag2"]},{"1327040839":["hashtag1","hashtag2"]},{"1327040844":["hashtag1","hashtag2"]},{"1327040841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040848, 1327040839, 1327040844, 1327040841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03371977806091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 21:29:32.531527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0003.jpg', '/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_0000.jpg', '/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/28/image_06012025_21_28_02_556017_0003.jpg
/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_0000.jpg
/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_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":["1327040865","1327040861","1327040863"],"photo_ids_order":["1327040861","1327040863","1327040865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6fdfe242ab8e108e7986fd140f0bcb83.jpg","text":"TemporaryFile(/tmp/multipartBody6869833854295903758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195440223,"filename":"image_06012025_21_29_02_739069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c25775d336adfae70c01022e0071636e.jpg","text":"TemporaryFile(/tmp/multipartBody852229174321642476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195440223,"filename":"image_06012025_21_28_02_556017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7e01cd9e8d4ce0b1acd17292951c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2092365038629914903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195440223,"filename":"image_06012025_21_29_02_739069_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040865","file1":"1327040863","file0":"1327040861"},"map_files_photo_id_array":[{"photo_id":"1327040865","filename":"file2"},{"photo_id":"1327040863","filename":"file1"},{"photo_id":"1327040861","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040865":["hashtag1","hashtag2"]},{"1327040861":["hashtag1","hashtag2"]},{"1327040863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040865, 1327040861, 1327040863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.835427284240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:30:22.698971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_0003.jpg', '/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0000.jpg', '/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0001.jpg', '/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/29/image_06012025_21_29_02_739069_0003.jpg
/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0000.jpg
/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0001.jpg
/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327040892","1327040882","1327040881","1327040878"],"photo_ids_order":["1327040878","1327040881","1327040882","1327040892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b45ab520d06b6b4d735c55c2d46f3f87.jpg","text":"TemporaryFile(/tmp/multipartBody9150051118530343687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195492782,"filename":"image_06012025_21_30_02_899206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6249fdafe6acde2693a609e9a3b3a04.jpg","text":"TemporaryFile(/tmp/multipartBody7995409723891424160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195492782,"filename":"image_06012025_21_30_02_899206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bec322adc0c6ba8d3e502af9289d3df4.jpg","text":"TemporaryFile(/tmp/multipartBody3925949384724299290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195492782,"filename":"image_06012025_21_30_02_899206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/deed58fa8021fe2b5942d77ad3d37095.jpg","text":"TemporaryFile(/tmp/multipartBody5358242009693376983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195492782,"filename":"image_06012025_21_29_02_739069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327040882","file1":"1327040881","file0":"1327040878","file3":"1327040892"},"map_files_photo_id_array":[{"photo_id":"1327040882","filename":"file2"},{"photo_id":"1327040881","filename":"file1"},{"photo_id":"1327040878","filename":"file0"},{"photo_id":"1327040892","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327040892":["hashtag1","hashtag2"]},{"1327040882":["hashtag1","hashtag2"]},{"1327040881":["hashtag1","hashtag2"]},{"1327040878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327040892, 1327040882, 1327040881, 1327040878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.631877183914185 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-06 21:31:22.002929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0003.jpg', '/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0000.jpg', '/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0001.jpg', '/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/30/image_06012025_21_30_02_899206_0003.jpg
/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0000.jpg
/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0001.jpg
/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_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":["1327041069","1327041057","1327040933","1327041067"],"photo_ids_order":["1327040933","1327041057","1327041067","1327041069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11aecfef64b63c6ae361a61d719a3dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7938227665010947152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195552024,"filename":"image_06012025_21_31_03_070834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7980118400d2224e877af7012d68420a.jpg","text":"TemporaryFile(/tmp/multipartBody3501317010345401712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195552024,"filename":"image_06012025_21_31_03_070834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b2aa4e2a18ccfad35a8432e7f6db05a.jpg","text":"TemporaryFile(/tmp/multipartBody6333911473411025173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195552024,"filename":"image_06012025_21_30_02_899206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62901793768e2bf85f99b2bf27709261.jpg","text":"TemporaryFile(/tmp/multipartBody5454536603708495620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195552024,"filename":"image_06012025_21_31_03_070834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327041067","file1":"1327041057","file0":"1327040933","file3":"1327041069"},"map_files_photo_id_array":[{"photo_id":"1327041067","filename":"file2"},{"photo_id":"1327041057","filename":"file1"},{"photo_id":"1327040933","filename":"file0"},{"photo_id":"1327041069","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327041069":["hashtag1","hashtag2"]},{"1327041057":["hashtag1","hashtag2"]},{"1327040933":["hashtag1","hashtag2"]},{"1327041067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327041069, 1327041057, 1327040933, 1327041067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68660378456116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:32:22.036106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0003.jpg', '/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0000.jpg', '/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0001.jpg', '/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/31/image_06012025_21_31_03_070834_0003.jpg
/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0000.jpg
/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0001.jpg
/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327041133","1327041126","1327041131","1327041128"],"photo_ids_order":["1327041126","1327041128","1327041131","1327041133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1c169ee61c4d1ba824716315cc4e440.jpg","text":"TemporaryFile(/tmp/multipartBody1321061134979180749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195612277,"filename":"image_06012025_21_32_02_297438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1bd8f993536b797b02d420afbd2e834c.jpg","text":"TemporaryFile(/tmp/multipartBody5718050623701851086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195612277,"filename":"image_06012025_21_31_03_070834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18a5fb585784861c4b62ba79d939a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody3038078150312050645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195612277,"filename":"image_06012025_21_32_02_297438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7363ba33ae3f6fa29c8a82cc8682831f.jpg","text":"TemporaryFile(/tmp/multipartBody691290957662432868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195612277,"filename":"image_06012025_21_32_02_297438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327041131","file1":"1327041128","file0":"1327041126","file3":"1327041133"},"map_files_photo_id_array":[{"photo_id":"1327041131","filename":"file2"},{"photo_id":"1327041128","filename":"file1"},{"photo_id":"1327041126","filename":"file0"},{"photo_id":"1327041133","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327041133":["hashtag1","hashtag2"]},{"1327041126":["hashtag1","hashtag2"]},{"1327041131":["hashtag1","hashtag2"]},{"1327041128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327041133, 1327041126, 1327041131, 1327041128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.966004371643066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:33:02.809721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:33:22.250958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0003.jpg', '/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0000.jpg', '/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0001.jpg', '/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/32/image_06012025_21_32_02_297438_0003.jpg
/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0000.jpg
/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0001.jpg
/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327041573","1327041575","1327041694","1327041691"],"photo_ids_order":["1327041573","1327041575","1327041691","1327041694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/40558d0f9cd5b097cfa4ff4a21a9f925.jpg","text":"TemporaryFile(/tmp/multipartBody1156988223985946398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195672418,"filename":"image_06012025_21_32_02_297438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/56ab712480b185f60cd0350b3598c96e.jpg","text":"TemporaryFile(/tmp/multipartBody9140317910793730412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195672418,"filename":"image_06012025_21_33_02_379766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f195e3dd0acf52de1c83e2c1145e67cd.jpg","text":"TemporaryFile(/tmp/multipartBody3439700107957368960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195672418,"filename":"image_06012025_21_33_02_379766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7460b852c5ff840dd08bdabe2071ffc9.jpg","text":"TemporaryFile(/tmp/multipartBody5259001204598950781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195672418,"filename":"image_06012025_21_33_02_379766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327041691","file1":"1327041575","file0":"1327041573","file3":"1327041694"},"map_files_photo_id_array":[{"photo_id":"1327041691","filename":"file2"},{"photo_id":"1327041575","filename":"file1"},{"photo_id":"1327041573","filename":"file0"},{"photo_id":"1327041694","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327041573":["hashtag1","hashtag2"]},{"1327041575":["hashtag1","hashtag2"]},{"1327041694":["hashtag1","hashtag2"]},{"1327041691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327041573, 1327041575, 1327041694, 1327041691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.068469524383545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:34:02.824166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:34:22.348144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0003.jpg', '/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0000.jpg', '/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0001.jpg', '/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/33/image_06012025_21_33_02_379766_0003.jpg
/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0000.jpg
/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0001.jpg
/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327041934","1327041867","1327041741","1327041931"],"photo_ids_order":["1327041741","1327041867","1327041931","1327041934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/53a23b584a5082734d7976420ddc64f8.jpg","text":"TemporaryFile(/tmp/multipartBody104909643941833764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195732782,"filename":"image_06012025_21_34_02_573331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a5098c3c2abac931395df41edd81e438.jpg","text":"TemporaryFile(/tmp/multipartBody4713451281879284521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195732782,"filename":"image_06012025_21_34_02_573331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31a87ff2a16539c2d9dd55ec74b0d659.jpg","text":"TemporaryFile(/tmp/multipartBody7126097985396054954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195732782,"filename":"image_06012025_21_33_02_379766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f93c97fc6793b557e931e6fdf5245f38.jpg","text":"TemporaryFile(/tmp/multipartBody9050626043653925310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195732782,"filename":"image_06012025_21_34_02_573331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327041931","file1":"1327041867","file0":"1327041741","file3":"1327041934"},"map_files_photo_id_array":[{"photo_id":"1327041931","filename":"file2"},{"photo_id":"1327041867","filename":"file1"},{"photo_id":"1327041741","filename":"file0"},{"photo_id":"1327041934","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327041934":["hashtag1","hashtag2"]},{"1327041867":["hashtag1","hashtag2"]},{"1327041741":["hashtag1","hashtag2"]},{"1327041931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327041934, 1327041867, 1327041741, 1327041931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6536283493042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:35:03.095241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:35:22.515074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0003.jpg', '/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0000.jpg', '/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0001.jpg', '/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/34/image_06012025_21_34_02_573331_0003.jpg
/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0000.jpg
/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0001.jpg
/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327042110","1327042104","1327042107","1327042109"],"photo_ids_order":["1327042104","1327042107","1327042109","1327042110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/438d78e3f9d3e33b401f47bafd6f0d51.jpg","text":"TemporaryFile(/tmp/multipartBody2277226843185517334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195793007,"filename":"image_06012025_21_35_02_793616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de7c687baba3afbdd3aed6b8b3e6a782.jpg","text":"TemporaryFile(/tmp/multipartBody4646913115381711207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195793007,"filename":"image_06012025_21_34_02_573331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/497448b39a881995637e35acadaa1541.jpg","text":"TemporaryFile(/tmp/multipartBody6487904198642615546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195793007,"filename":"image_06012025_21_35_02_793616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5ea22c8023196b90ffdb0fe8cd273ed.jpg","text":"TemporaryFile(/tmp/multipartBody4312221570118857730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195793007,"filename":"image_06012025_21_35_02_793616_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327042109","file1":"1327042107","file0":"1327042104","file3":"1327042110"},"map_files_photo_id_array":[{"photo_id":"1327042109","filename":"file2"},{"photo_id":"1327042107","filename":"file1"},{"photo_id":"1327042104","filename":"file0"},{"photo_id":"1327042110","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327042110":["hashtag1","hashtag2"]},{"1327042104":["hashtag1","hashtag2"]},{"1327042107":["hashtag1","hashtag2"]},{"1327042109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327042110, 1327042104, 1327042107, 1327042109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21541714668274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:36:03.063258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:36:22.631031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0003.jpg', '/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0000.jpg', '/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0001.jpg', '/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/35/image_06012025_21_35_02_793616_0003.jpg
/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0000.jpg
/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0001.jpg
/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327043015","1327043020","1327043017","1327043011"],"photo_ids_order":["1327043011","1327043015","1327043017","1327043020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/756a4cfea34c2d32ce9fd5f4193bdb30.jpg","text":"TemporaryFile(/tmp/multipartBody271021651910003044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195852777,"filename":"image_06012025_21_36_02_910393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1908c74e9b87646a8d8c2611914b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8064021610080466119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195852777,"filename":"image_06012025_21_36_02_910393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cce9c99c319e519e185029e7c38b1f79.jpg","text":"TemporaryFile(/tmp/multipartBody1377872735859812893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195852777,"filename":"image_06012025_21_36_02_910393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be97cb46650aa4a0a48a629361abc50f.jpg","text":"TemporaryFile(/tmp/multipartBody8515761017690066167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195852777,"filename":"image_06012025_21_35_02_793616_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327043017","file1":"1327043015","file0":"1327043011","file3":"1327043020"},"map_files_photo_id_array":[{"photo_id":"1327043017","filename":"file2"},{"photo_id":"1327043015","filename":"file1"},{"photo_id":"1327043011","filename":"file0"},{"photo_id":"1327043020","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327043015":["hashtag1","hashtag2"]},{"1327043020":["hashtag1","hashtag2"]},{"1327043017":["hashtag1","hashtag2"]},{"1327043011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327043015, 1327043020, 1327043017, 1327043011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.72430634498596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:37:02.461816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:37:21.798759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0003.jpg', '/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0000.jpg', '/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0001.jpg', '/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/36/image_06012025_21_36_02_910393_0003.jpg
/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0000.jpg
/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0001.jpg
/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327043331","1327043327","1327043321","1327043316"],"photo_ids_order":["1327043316","1327043321","1327043327","1327043331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f294480278719b3a7474ea071023618f.jpg","text":"TemporaryFile(/tmp/multipartBody8040793643809506626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195911940,"filename":"image_06012025_21_37_03_000680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dbe04682938e2da0fb5c158b9ff48aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6138270080073264622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195911940,"filename":"image_06012025_21_37_03_000680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e80a21ea248e459d6c0efe7ef5256676.jpg","text":"TemporaryFile(/tmp/multipartBody2268854343003660133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195911940,"filename":"image_06012025_21_37_03_000680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad38b7bbfeca10d208b7401184185eb3.jpg","text":"TemporaryFile(/tmp/multipartBody4451999923435412419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195911940,"filename":"image_06012025_21_36_02_910393_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327043327","file1":"1327043321","file0":"1327043316","file3":"1327043331"},"map_files_photo_id_array":[{"photo_id":"1327043327","filename":"file2"},{"photo_id":"1327043321","filename":"file1"},{"photo_id":"1327043316","filename":"file0"},{"photo_id":"1327043331","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327043331":["hashtag1","hashtag2"]},{"1327043327":["hashtag1","hashtag2"]},{"1327043321":["hashtag1","hashtag2"]},{"1327043316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327043331, 1327043327, 1327043321, 1327043316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62729358673096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:38:02.458584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:38:21.946383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0003.jpg', '/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0000.jpg', '/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0001.jpg', '/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/37/image_06012025_21_37_03_000680_0003.jpg
/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0000.jpg
/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0001.jpg
/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327043981","1327044501","1327043979","1327044182"],"photo_ids_order":["1327043979","1327043981","1327044182","1327044501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d9753e8670c4de36ec738637a907686.jpg","text":"TemporaryFile(/tmp/multipartBody4118952351821625369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195972180,"filename":"image_06012025_21_38_02_145283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a26ae6d0893bf72e6ff41927ebd1b45e.jpg","text":"TemporaryFile(/tmp/multipartBody3313103232394651306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195972180,"filename":"image_06012025_21_38_02_145283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d09040d4e8a2b9f9a224e8b880d40c9a.jpg","text":"TemporaryFile(/tmp/multipartBody660450281023452422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195972180,"filename":"image_06012025_21_37_03_000680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d8f92b376eab9af2fd14ee2d4b1c531.jpg","text":"TemporaryFile(/tmp/multipartBody8013980844521120546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736195972180,"filename":"image_06012025_21_38_02_145283_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327044182","file1":"1327043981","file0":"1327043979","file3":"1327044501"},"map_files_photo_id_array":[{"photo_id":"1327044182","filename":"file2"},{"photo_id":"1327043981","filename":"file1"},{"photo_id":"1327043979","filename":"file0"},{"photo_id":"1327044501","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327043981":["hashtag1","hashtag2"]},{"1327044501":["hashtag1","hashtag2"]},{"1327043979":["hashtag1","hashtag2"]},{"1327044182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327043981, 1327044501, 1327043979, 1327044182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63811707496643 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-06 21:39:22.179267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0003.jpg', '/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0000.jpg', '/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0001.jpg', '/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/38/image_06012025_21_38_02_145283_0003.jpg
/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0000.jpg
/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0001.jpg
/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327045181","1327045184","1327045178","1327045157"],"photo_ids_order":["1327045157","1327045178","1327045181","1327045184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41cb8b15dfc7430f1ad734373220a531.jpg","text":"TemporaryFile(/tmp/multipartBody7858711761662281268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196032239,"filename":"image_06012025_21_39_02_361318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a645a92f3812a8670117a560af4c5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5092489018222695359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196032239,"filename":"image_06012025_21_39_02_361318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9618eb5fcc3edf816edc082622bab8c.jpg","text":"TemporaryFile(/tmp/multipartBody5245694994662214871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196032239,"filename":"image_06012025_21_39_02_361318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c6f005727ca81cd1666447c650dc3227.jpg","text":"TemporaryFile(/tmp/multipartBody921824806055618910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196032239,"filename":"image_06012025_21_38_02_145283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327045181","file1":"1327045178","file0":"1327045157","file3":"1327045184"},"map_files_photo_id_array":[{"photo_id":"1327045181","filename":"file2"},{"photo_id":"1327045178","filename":"file1"},{"photo_id":"1327045157","filename":"file0"},{"photo_id":"1327045184","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327045181":["hashtag1","hashtag2"]},{"1327045184":["hashtag1","hashtag2"]},{"1327045178":["hashtag1","hashtag2"]},{"1327045157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327045181, 1327045184, 1327045178, 1327045157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24134373664856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:40:02.667514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:40:22.274168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0003.jpg', '/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0001.jpg', '/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/39/image_06012025_21_39_02_361318_0003.jpg
/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0001.jpg
/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327045597","1327045596","1327045358"],"photo_ids_order":["1327045358","1327045596","1327045597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/789a88b2b973a458c7306b77639f0877.jpg","text":"TemporaryFile(/tmp/multipartBody1751439757901969912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196089967,"filename":"image_06012025_21_40_02_584036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba3c2f5f295c6f8010d2a52aede9996d.jpg","text":"TemporaryFile(/tmp/multipartBody8797891541944706940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196089967,"filename":"image_06012025_21_40_02_584036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b589050326f057794eca32b25d7d577.jpg","text":"TemporaryFile(/tmp/multipartBody3276384382702689617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196089967,"filename":"image_06012025_21_39_02_361318_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327045597","file1":"1327045596","file0":"1327045358"},"map_files_photo_id_array":[{"photo_id":"1327045597","filename":"file2"},{"photo_id":"1327045596","filename":"file1"},{"photo_id":"1327045358","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327045597":["hashtag1","hashtag2"]},{"1327045596":["hashtag1","hashtag2"]},{"1327045358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327045597, 1327045596, 1327045358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.18595051765442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:41:03.292475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:41:22.674002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0003.jpg', '/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0000.jpg', '/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0001.jpg', '/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/40/image_06012025_21_40_02_584036_0003.jpg
/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0000.jpg
/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0001.jpg
/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_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":["1327045771","1327045769","1327045772","1327045766"],"photo_ids_order":["1327045766","1327045769","1327045771","1327045772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2edf978ca62943beddca1a1ac300437f.jpg","text":"TemporaryFile(/tmp/multipartBody6416472217461993026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196152762,"filename":"image_06012025_21_41_02_661962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/804128c46a0e244acc37aaccc3c8b9e8.jpg","text":"TemporaryFile(/tmp/multipartBody5327170041793026575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196152762,"filename":"image_06012025_21_41_02_661962_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b834dd6ed5a31dfc30e754211a0cc804.jpg","text":"TemporaryFile(/tmp/multipartBody2260294129308266371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196152762,"filename":"image_06012025_21_41_02_661962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2fb0e4008c3c8af07fc59e40e5492cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7690724316643560161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196152762,"filename":"image_06012025_21_40_02_584036_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327045771","file1":"1327045769","file0":"1327045766","file3":"1327045772"},"map_files_photo_id_array":[{"photo_id":"1327045771","filename":"file2"},{"photo_id":"1327045769","filename":"file1"},{"photo_id":"1327045766","filename":"file0"},{"photo_id":"1327045772","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327045771":["hashtag1","hashtag2"]},{"1327045769":["hashtag1","hashtag2"]},{"1327045772":["hashtag1","hashtag2"]},{"1327045766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327045771, 1327045769, 1327045772, 1327045766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.1647367477417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:42:21.832977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0003.jpg', '/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0000.jpg', '/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0001.jpg', '/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/41/image_06012025_21_41_02_661962_0003.jpg
/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0000.jpg
/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0001.jpg
/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327045789","1327045788","1327045787","1327045784"],"photo_ids_order":["1327045784","1327045787","1327045788","1327045789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba46faf02bf9292f7c68d527b66199a3.jpg","text":"TemporaryFile(/tmp/multipartBody68297241867885962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196211915,"filename":"image_06012025_21_42_02_959281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93d9fd0c11ede44e174696d7ce02f9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1217812864312152528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196211915,"filename":"image_06012025_21_42_02_959281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca3fb24469e14a79750c58ff4741ea40.jpg","text":"TemporaryFile(/tmp/multipartBody5378572096775556463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196211915,"filename":"image_06012025_21_42_02_959281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb96a9a2bf83922f00eff629ada6d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4350681411381652035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196211915,"filename":"image_06012025_21_41_02_661962_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327045788","file1":"1327045787","file0":"1327045784","file3":"1327045789"},"map_files_photo_id_array":[{"photo_id":"1327045788","filename":"file2"},{"photo_id":"1327045787","filename":"file1"},{"photo_id":"1327045784","filename":"file0"},{"photo_id":"1327045789","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327045789":["hashtag1","hashtag2"]},{"1327045788":["hashtag1","hashtag2"]},{"1327045787":["hashtag1","hashtag2"]},{"1327045784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327045789, 1327045788, 1327045787, 1327045784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13396239280701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:43:02.550589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:43:21.959134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0003.jpg', '/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0000.jpg', '/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0001.jpg', '/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/42/image_06012025_21_42_02_959281_0003.jpg
/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0000.jpg
/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0001.jpg
/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_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":["1327045849","1327045851","1327045854","1327045853"],"photo_ids_order":["1327045849","1327045851","1327045853","1327045854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b04da2f9168aef0d4e54145ee34a8501.jpg","text":"TemporaryFile(/tmp/multipartBody4086089145648572346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196272270,"filename":"image_06012025_21_42_02_959281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/869ee0f63c0d776a38ded741e39ed473.jpg","text":"TemporaryFile(/tmp/multipartBody1227276188275557952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196272270,"filename":"image_06012025_21_43_02_132314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e3186d5dd8e60c3cf8b829219d33b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8208097008801854151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196272270,"filename":"image_06012025_21_43_02_132314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/439e25c1d981e21865e64e8384a649ee.jpg","text":"TemporaryFile(/tmp/multipartBody1120553533089378590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196272270,"filename":"image_06012025_21_43_02_132314_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327045853","file1":"1327045851","file0":"1327045849","file3":"1327045854"},"map_files_photo_id_array":[{"photo_id":"1327045853","filename":"file2"},{"photo_id":"1327045851","filename":"file1"},{"photo_id":"1327045849","filename":"file0"},{"photo_id":"1327045854","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327045849":["hashtag1","hashtag2"]},{"1327045851":["hashtag1","hashtag2"]},{"1327045854":["hashtag1","hashtag2"]},{"1327045853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327045849, 1327045851, 1327045854, 1327045853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14153575897217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:44:22.185739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0003.jpg', '/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0000.jpg', '/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0001.jpg', '/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/43/image_06012025_21_43_02_132314_0003.jpg
/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0000.jpg
/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0001.jpg
/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_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":["1327046008","1327046011","1327046005","1327046010"],"photo_ids_order":["1327046005","1327046008","1327046010","1327046011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/64d5435795587c88548e16e0b0af29b4.jpg","text":"TemporaryFile(/tmp/multipartBody4292405317233617777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196332472,"filename":"image_06012025_21_44_02_397764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32cbb4d10b711f497eae5adaf47d215f.jpg","text":"TemporaryFile(/tmp/multipartBody538312014160591150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196332472,"filename":"image_06012025_21_44_02_397764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4873b10884472ce8fc31565f314def0.jpg","text":"TemporaryFile(/tmp/multipartBody3767581363408035414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196332472,"filename":"image_06012025_21_43_02_132314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4894c946668acc001d29a157e3af636f.jpg","text":"TemporaryFile(/tmp/multipartBody8181875190609850125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196332472,"filename":"image_06012025_21_44_02_397764_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046010","file1":"1327046008","file0":"1327046005","file3":"1327046011"},"map_files_photo_id_array":[{"photo_id":"1327046010","filename":"file2"},{"photo_id":"1327046008","filename":"file1"},{"photo_id":"1327046005","filename":"file0"},{"photo_id":"1327046011","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046008":["hashtag1","hashtag2"]},{"1327046011":["hashtag1","hashtag2"]},{"1327046005":["hashtag1","hashtag2"]},{"1327046010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046008, 1327046011, 1327046005, 1327046010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42639493942261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:45:22.420404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0003.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0000.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0001.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0003.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0000.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0001.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_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.046589374542236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 21:45:42.380617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0003.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0000.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0001.jpg', '/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/44/image_06012025_21_44_02_397764_0003.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0000.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0001.jpg
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_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":["1327046044","1327046047","1327046034","1327046033"],"photo_ids_order":["1327046033","1327046034","1327046044","1327046047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/992ae78a3c89d261ff28e1aa2e8b94e8.jpg","text":"TemporaryFile(/tmp/multipartBody2668702731459031846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196412843,"filename":"image_06012025_21_45_02_612231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b095f1ef179427e0bee6aac15903bf6c.jpg","text":"TemporaryFile(/tmp/multipartBody8530585795265001232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196412843,"filename":"image_06012025_21_45_02_612231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5c7d451ea8d7b208c7b9285fd65952a.jpg","text":"TemporaryFile(/tmp/multipartBody3703137714376920298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196412843,"filename":"image_06012025_21_45_02_612231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79a19bd4ef732d30ed70112807433edd.jpg","text":"TemporaryFile(/tmp/multipartBody3008447968484538794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196412843,"filename":"image_06012025_21_44_02_397764_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046044","file1":"1327046034","file0":"1327046033","file3":"1327046047"},"map_files_photo_id_array":[{"photo_id":"1327046044","filename":"file2"},{"photo_id":"1327046034","filename":"file1"},{"photo_id":"1327046033","filename":"file0"},{"photo_id":"1327046047","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046044":["hashtag1","hashtag2"]},{"1327046047":["hashtag1","hashtag2"]},{"1327046034":["hashtag1","hashtag2"]},{"1327046033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046044, 1327046047, 1327046034, 1327046033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53153944015503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:46:22.533929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0003.jpg', '/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0000.jpg', '/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0001.jpg', '/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/45/image_06012025_21_45_02_612231_0003.jpg
/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0000.jpg
/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0001.jpg
/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327046104","1327046106","1327046102","1327046105"],"photo_ids_order":["1327046102","1327046104","1327046105","1327046106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ac303ce1454e4aaa03d038a511c2e046.jpg","text":"TemporaryFile(/tmp/multipartBody6568280832892145729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196452817,"filename":"image_06012025_21_46_02_817968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d92205141af2f9fb56afbf6a2b9ed70.jpg","text":"TemporaryFile(/tmp/multipartBody8018427530842275192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196452817,"filename":"image_06012025_21_46_02_817968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e2905fce290ce59fe1797e1fba9b951.jpg","text":"TemporaryFile(/tmp/multipartBody2478346374845058879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196452817,"filename":"image_06012025_21_45_02_612231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/67985ee277aaf43fa53beb2d5ac506d2.jpg","text":"TemporaryFile(/tmp/multipartBody8041261254960137288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196452817,"filename":"image_06012025_21_46_02_817968_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046105","file1":"1327046104","file0":"1327046102","file3":"1327046106"},"map_files_photo_id_array":[{"photo_id":"1327046105","filename":"file2"},{"photo_id":"1327046104","filename":"file1"},{"photo_id":"1327046102","filename":"file0"},{"photo_id":"1327046106","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046104":["hashtag1","hashtag2"]},{"1327046106":["hashtag1","hashtag2"]},{"1327046102":["hashtag1","hashtag2"]},{"1327046105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046104, 1327046106, 1327046102, 1327046105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91114163398743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:47:03.497022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:47:22.778332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0003.jpg', '/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0000.jpg', '/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0001.jpg', '/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/46/image_06012025_21_46_02_817968_0003.jpg
/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0000.jpg
/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0001.jpg
/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327046122","1327046118","1327046115","1327046120"],"photo_ids_order":["1327046115","1327046118","1327046120","1327046122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d61b5614393d280df90cc3b25bd5cd13.jpg","text":"TemporaryFile(/tmp/multipartBody7977430857735515828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196512927,"filename":"image_06012025_21_47_02_904720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee8b417d2ada3221cd75977e945aba9b.jpg","text":"TemporaryFile(/tmp/multipartBody6935007084410296199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196512927,"filename":"image_06012025_21_47_02_904720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32da3514d459c2f0d07275c5d187625d.jpg","text":"TemporaryFile(/tmp/multipartBody4783426898322270102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196512927,"filename":"image_06012025_21_46_02_817968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75faf9a74486b823e47544630b105bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3813788190072466066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196512927,"filename":"image_06012025_21_47_02_904720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046120","file1":"1327046118","file0":"1327046115","file3":"1327046122"},"map_files_photo_id_array":[{"photo_id":"1327046120","filename":"file2"},{"photo_id":"1327046118","filename":"file1"},{"photo_id":"1327046115","filename":"file0"},{"photo_id":"1327046122","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046122":["hashtag1","hashtag2"]},{"1327046118":["hashtag1","hashtag2"]},{"1327046115":["hashtag1","hashtag2"]},{"1327046120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046122, 1327046118, 1327046115, 1327046120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60042977333069 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-06 21:48:21.941674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0003.jpg', '/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0000.jpg', '/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0001.jpg', '/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/47/image_06012025_21_47_02_904720_0003.jpg
/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0000.jpg
/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0001.jpg
/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327046266","1327046271","1327046270","1327046269"],"photo_ids_order":["1327046266","1327046269","1327046270","1327046271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f4989bfd0d5917d1d36ae1d19037e02a.jpg","text":"TemporaryFile(/tmp/multipartBody2147146167533183185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196572091,"filename":"image_06012025_21_47_02_904720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9019ca8c834332a9173f17ecc2573a95.jpg","text":"TemporaryFile(/tmp/multipartBody31211702103127113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196572091,"filename":"image_06012025_21_48_03_165867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c1dfdd5446c34f5403c5587d0fc2e40.jpg","text":"TemporaryFile(/tmp/multipartBody2545255383296711807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196572091,"filename":"image_06012025_21_48_03_165867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/478e251ab53fe7fb1678abb00e2ac7c2.jpg","text":"TemporaryFile(/tmp/multipartBody5542093428798869675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196572091,"filename":"image_06012025_21_48_03_165867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046270","file1":"1327046269","file0":"1327046266","file3":"1327046271"},"map_files_photo_id_array":[{"photo_id":"1327046270","filename":"file2"},{"photo_id":"1327046269","filename":"file1"},{"photo_id":"1327046266","filename":"file0"},{"photo_id":"1327046271","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046266":["hashtag1","hashtag2"]},{"1327046271":["hashtag1","hashtag2"]},{"1327046270":["hashtag1","hashtag2"]},{"1327046269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046266, 1327046271, 1327046270, 1327046269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7719841003418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:49:02.738916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:49:22.149003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0003.jpg', '/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0000.jpg', '/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0001.jpg', '/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/48/image_06012025_21_48_03_165867_0003.jpg
/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0000.jpg
/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0001.jpg
/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327046350","1327046330","1327046327","1327046324"],"photo_ids_order":["1327046324","1327046327","1327046330","1327046350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2de80e66ae3e58963d0a445c8a9a5678.jpg","text":"TemporaryFile(/tmp/multipartBody1696344328978140474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196632363,"filename":"image_06012025_21_49_02_309605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e354e50f864bf497fd5e8b4e5f63dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8594833904225922688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196632363,"filename":"image_06012025_21_49_02_309605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/afcdb62f0c7e8ba38b6cb54047b7d3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5450639226920539377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196632363,"filename":"image_06012025_21_49_02_309605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6d043f423555f134eb366708cc2cd78.jpg","text":"TemporaryFile(/tmp/multipartBody3791888915027218309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196632363,"filename":"image_06012025_21_48_03_165867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046330","file1":"1327046327","file0":"1327046324","file3":"1327046350"},"map_files_photo_id_array":[{"photo_id":"1327046330","filename":"file2"},{"photo_id":"1327046327","filename":"file1"},{"photo_id":"1327046324","filename":"file0"},{"photo_id":"1327046350","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046350":["hashtag1","hashtag2"]},{"1327046330":["hashtag1","hashtag2"]},{"1327046327":["hashtag1","hashtag2"]},{"1327046324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046350, 1327046330, 1327046327, 1327046324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.363929986953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:50:02.806887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:50:22.270295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0003.jpg', '/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0000.jpg', '/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0001.jpg', '/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/49/image_06012025_21_49_02_309605_0003.jpg
/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0000.jpg
/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0001.jpg
/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327046461","1327046463","1327046640","1327046459"],"photo_ids_order":["1327046459","1327046461","1327046463","1327046640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/db977e27c597d045284beaaec1226891.jpg","text":"TemporaryFile(/tmp/multipartBody475205367911698187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196692289,"filename":"image_06012025_21_50_02_465913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58068ed3c34135e7d363a8519da0fbbe.jpg","text":"TemporaryFile(/tmp/multipartBody2072788472697058374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196692289,"filename":"image_06012025_21_50_02_465913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/abc938e3db033804614e9a200ce40b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1890117539511498859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196692289,"filename":"image_06012025_21_50_02_465913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d27a3ceb33aa0886f022769ab5c3b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1287710968437834314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196692289,"filename":"image_06012025_21_49_02_309605_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327046463","file1":"1327046461","file0":"1327046459","file3":"1327046640"},"map_files_photo_id_array":[{"photo_id":"1327046463","filename":"file2"},{"photo_id":"1327046461","filename":"file1"},{"photo_id":"1327046459","filename":"file0"},{"photo_id":"1327046640","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327046461":["hashtag1","hashtag2"]},{"1327046463":["hashtag1","hashtag2"]},{"1327046640":["hashtag1","hashtag2"]},{"1327046459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327046461, 1327046463, 1327046640, 1327046459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90593481063843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:51:03.008962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:51:22.471848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0003.jpg', '/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0000.jpg', '/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0001.jpg', '/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/50/image_06012025_21_50_02_465913_0003.jpg
/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0000.jpg
/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0001.jpg
/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327047310","1327047313","1327047312","1327047295"],"photo_ids_order":["1327047295","1327047310","1327047312","1327047313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85f35298fb0b3b8685373c883ba73614.jpg","text":"TemporaryFile(/tmp/multipartBody7857832406500586343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196752485,"filename":"image_06012025_21_51_02_683406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/86a0d441b7e1a67023e9bee9514412a3.jpg","text":"TemporaryFile(/tmp/multipartBody9202477094255470380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196752485,"filename":"image_06012025_21_51_02_683406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e5ea64fb4be86ce182a7d0c625c12847.jpg","text":"TemporaryFile(/tmp/multipartBody7698355224327432363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196752485,"filename":"image_06012025_21_51_02_683406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/831e5471b3c6c2ca4e3060f09dc22d30.jpg","text":"TemporaryFile(/tmp/multipartBody4595183531821574472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196752485,"filename":"image_06012025_21_50_02_465913_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047312","file1":"1327047310","file0":"1327047295","file3":"1327047313"},"map_files_photo_id_array":[{"photo_id":"1327047312","filename":"file2"},{"photo_id":"1327047310","filename":"file1"},{"photo_id":"1327047295","filename":"file0"},{"photo_id":"1327047313","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047310":["hashtag1","hashtag2"]},{"1327047313":["hashtag1","hashtag2"]},{"1327047312":["hashtag1","hashtag2"]},{"1327047295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047310, 1327047313, 1327047312, 1327047295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.016586780548096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:52:03.122868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:52:22.641249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0003.jpg', '/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0000.jpg', '/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0001.jpg', '/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/51/image_06012025_21_51_02_683406_0003.jpg
/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0000.jpg
/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0001.jpg
/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327047486","1327047483","1327047488","1327047641"],"photo_ids_order":["1327047483","1327047486","1327047488","1327047641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8dfafd48b2316ee07c71b900f0a4b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4468424823945683272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196812704,"filename":"image_06012025_21_52_02_820126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5681e7a3d7a2c964fc7be1a0cf690e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8967177367475995771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196812704,"filename":"image_06012025_21_51_02_683406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/47b344502056fcc05c93718e6924760d.jpg","text":"TemporaryFile(/tmp/multipartBody758863951494168481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196812704,"filename":"image_06012025_21_52_02_820126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ebd72fea9909b8299f65bd292148864b.jpg","text":"TemporaryFile(/tmp/multipartBody172270868214020321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196812704,"filename":"image_06012025_21_52_02_820126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047488","file1":"1327047486","file0":"1327047483","file3":"1327047641"},"map_files_photo_id_array":[{"photo_id":"1327047488","filename":"file2"},{"photo_id":"1327047486","filename":"file1"},{"photo_id":"1327047483","filename":"file0"},{"photo_id":"1327047641","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047486":["hashtag1","hashtag2"]},{"1327047483":["hashtag1","hashtag2"]},{"1327047488":["hashtag1","hashtag2"]},{"1327047641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047486, 1327047483, 1327047488, 1327047641)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.03025960922241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:53:22.095363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0003.jpg', '/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0000.jpg', '/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0001.jpg', '/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/52/image_06012025_21_52_02_820126_0003.jpg
/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0000.jpg
/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0001.jpg
/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327047747","1327047744","1327047746","1327047745"],"photo_ids_order":["1327047744","1327047745","1327047746","1327047747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c86c2f4e1ad26695a29adf633b5d6972.jpg","text":"TemporaryFile(/tmp/multipartBody2155478084791434215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196872229,"filename":"image_06012025_21_53_03_034816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08425694550e94b0c039c55cd0572f5d.jpg","text":"TemporaryFile(/tmp/multipartBody99246749587012881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196872229,"filename":"image_06012025_21_52_02_820126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f1fcc10e7df53a6a0818d7902b62dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7742256400723281188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196872229,"filename":"image_06012025_21_53_03_034816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4bd84946fa086e51b5ac0a858425dd6f.jpg","text":"TemporaryFile(/tmp/multipartBody1783322770291567846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196872229,"filename":"image_06012025_21_53_03_034816_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047746","file1":"1327047745","file0":"1327047744","file3":"1327047747"},"map_files_photo_id_array":[{"photo_id":"1327047746","filename":"file2"},{"photo_id":"1327047745","filename":"file1"},{"photo_id":"1327047744","filename":"file0"},{"photo_id":"1327047747","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047747":["hashtag1","hashtag2"]},{"1327047744":["hashtag1","hashtag2"]},{"1327047746":["hashtag1","hashtag2"]},{"1327047745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047747, 1327047744, 1327047746, 1327047745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82800507545471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:54:02.697715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:54:22.229364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0003.jpg', '/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0000.jpg', '/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0001.jpg', '/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/53/image_06012025_21_53_03_034816_0003.jpg
/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0000.jpg
/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0001.jpg
/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327047759","1327047758","1327047755","1327047757"],"photo_ids_order":["1327047755","1327047757","1327047758","1327047759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ec58641adba1d0facaaef3b48b918e0.jpg","text":"TemporaryFile(/tmp/multipartBody2559007666122592212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196932305,"filename":"image_06012025_21_54_02_503713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dab7a8cbe91fee2f4b7409876cd13b15.jpg","text":"TemporaryFile(/tmp/multipartBody8695238700245159737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196932305,"filename":"image_06012025_21_54_02_503713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2eef1d05baeb193c95f27fc48d3a94d.jpg","text":"TemporaryFile(/tmp/multipartBody5533072468771084702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196932305,"filename":"image_06012025_21_53_03_034816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d10a2e34152b1fa15e7f97ddc52eb7c5.jpg","text":"TemporaryFile(/tmp/multipartBody9043020978340578127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196932305,"filename":"image_06012025_21_54_02_503713_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047758","file1":"1327047757","file0":"1327047755","file3":"1327047759"},"map_files_photo_id_array":[{"photo_id":"1327047758","filename":"file2"},{"photo_id":"1327047757","filename":"file1"},{"photo_id":"1327047755","filename":"file0"},{"photo_id":"1327047759","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047759":["hashtag1","hashtag2"]},{"1327047758":["hashtag1","hashtag2"]},{"1327047755":["hashtag1","hashtag2"]},{"1327047757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047759, 1327047758, 1327047755, 1327047757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55679750442505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:55:03.105674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:55:22.533248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0003.jpg', '/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0000.jpg', '/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0001.jpg', '/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/54/image_06012025_21_54_02_503713_0003.jpg
/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0000.jpg
/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0001.jpg
/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_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":["1327047798","1327047795","1327047801","1327047800"],"photo_ids_order":["1327047795","1327047798","1327047800","1327047801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bd857571f2669ba5a68a451cc8b73398.jpg","text":"TemporaryFile(/tmp/multipartBody9182327847751191811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196992700,"filename":"image_06012025_21_55_02_665831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e2811ac19980d9685b8bbc1441f42660.jpg","text":"TemporaryFile(/tmp/multipartBody5519872669674705947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196992700,"filename":"image_06012025_21_54_02_503713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b166294e7a50d1e882404a0ccc3082b4.jpg","text":"TemporaryFile(/tmp/multipartBody7985346031258544355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196992700,"filename":"image_06012025_21_55_02_665831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2906df937008f6271fd9b9883a3eea0b.jpg","text":"TemporaryFile(/tmp/multipartBody4337167319767914485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736196992700,"filename":"image_06012025_21_55_02_665831_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047800","file1":"1327047798","file0":"1327047795","file3":"1327047801"},"map_files_photo_id_array":[{"photo_id":"1327047800","filename":"file2"},{"photo_id":"1327047798","filename":"file1"},{"photo_id":"1327047795","filename":"file0"},{"photo_id":"1327047801","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047798":["hashtag1","hashtag2"]},{"1327047795":["hashtag1","hashtag2"]},{"1327047801":["hashtag1","hashtag2"]},{"1327047800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047798, 1327047795, 1327047801, 1327047800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.785290479660034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:56:22.654831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0003.jpg', '/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0000.jpg', '/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0001.jpg', '/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/55/image_06012025_21_55_02_665831_0003.jpg
/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0000.jpg
/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0001.jpg
/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327047829","1327047831","1327047830","1327047827"],"photo_ids_order":["1327047827","1327047829","1327047830","1327047831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df2ec4cc6b17e25dbde776e6c4f46833.jpg","text":"TemporaryFile(/tmp/multipartBody5293177479119086430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197052880,"filename":"image_06012025_21_56_02_857813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ee62dd3ab07c1d735535fda8dca5939.jpg","text":"TemporaryFile(/tmp/multipartBody6833288726974037841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197052880,"filename":"image_06012025_21_56_02_857813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d9ac9f128ca653e36bc85fb031faf8c.jpg","text":"TemporaryFile(/tmp/multipartBody1396666453602854902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197052880,"filename":"image_06012025_21_56_02_857813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b209fa08c91f97ba43670ac30232f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody385632866910239843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197052880,"filename":"image_06012025_21_55_02_665831_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327047830","file1":"1327047829","file0":"1327047827","file3":"1327047831"},"map_files_photo_id_array":[{"photo_id":"1327047830","filename":"file2"},{"photo_id":"1327047829","filename":"file1"},{"photo_id":"1327047827","filename":"file0"},{"photo_id":"1327047831","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327047829":["hashtag1","hashtag2"]},{"1327047831":["hashtag1","hashtag2"]},{"1327047830":["hashtag1","hashtag2"]},{"1327047827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327047829, 1327047831, 1327047830, 1327047827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07891035079956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 21:57:02.418155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 21:57:21.924419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0003.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0000.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0001.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0003.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0000.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0001.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_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-06 21:59:02.968786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0003.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0000.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0001.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0002.jpg', '/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0003.jpg', '/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/56/image_06012025_21_56_02_857813_0003.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0000.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0001.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0002.jpg
/home/pi/Desktop/images/06012025/21/57/image_06012025_21_57_02_986918_0003.jpg
/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_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":["1327048611","1327048610","1327048541","1327048606","1327048609","1327048566"],"photo_ids_order":["1327048541","1327048566","1327048606","1327048609","1327048610","1327048611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87e204836681a280ff23b0f81094873d.jpg","text":"TemporaryFile(/tmp/multipartBody8917933727982538947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_58_02_235468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b0a7370ada824afe29bc6172df2b56b.jpg","text":"TemporaryFile(/tmp/multipartBody1149287990659055330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_57_02_986918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/edc165532b4a756497865fb6907df289.jpg","text":"TemporaryFile(/tmp/multipartBody5952857372205834909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_56_02_857813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bcb6140c4a1ac66d2151b5252afbb35f.jpg","text":"TemporaryFile(/tmp/multipartBody5260568941330168544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_57_02_986918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/980be7e680c1641c4dcd4d423b6fd4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4874584376278378856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_57_02_986918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/50f424420919cac88a6afb45f1dda5e4.jpg","text":"TemporaryFile(/tmp/multipartBody906064983537359237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197217735,"filename":"image_06012025_21_57_02_986918_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327048606","file1":"1327048566","file0":"1327048541","file4":"1327048610","file5":"1327048611","file3":"1327048609"},"map_files_photo_id_array":[{"photo_id":"1327048611","filename":"file5"},{"photo_id":"1327048606","filename":"file2"},{"photo_id":"1327048610","filename":"file4"},{"photo_id":"1327048566","filename":"file1"},{"photo_id":"1327048541","filename":"file0"},{"photo_id":"1327048609","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327048611":["hashtag1","hashtag2"]},{"1327048610":["hashtag1","hashtag2"]},{"1327048541":["hashtag1","hashtag2"]},{"1327048606":["hashtag1","hashtag2"]},{"1327048609":["hashtag1","hashtag2"]},{"1327048566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327048611, 1327048610, 1327048541, 1327048606, 1327048609, 1327048566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.685264110565186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:00:02.826425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_0001.jpg', '/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_0003.jpg', '/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0000.jpg', '/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0001.jpg', '/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_0001.jpg
/home/pi/Desktop/images/06012025/21/58/image_06012025_21_58_02_235468_0003.jpg
/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0000.jpg
/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0001.jpg
/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327048685","1327048684","1327048672","1327048681","1327048677"],"photo_ids_order":["1327048672","1327048677","1327048681","1327048684","1327048685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d426a17de94acdaa956d2a698885b11.jpg","text":"TemporaryFile(/tmp/multipartBody7538490300474593444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197275415,"filename":"image_06012025_21_59_02_396484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/470f5f06f6f2f12dfe29b41854e933cd.jpg","text":"TemporaryFile(/tmp/multipartBody2366016021052427256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197275415,"filename":"image_06012025_21_59_02_396484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1dad1ae033fcf8504808d53f8628b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6804089097482501227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197275415,"filename":"image_06012025_21_58_02_235468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c951068f7d29d35e8a005fe465986afb.jpg","text":"TemporaryFile(/tmp/multipartBody3137299474717287727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197275415,"filename":"image_06012025_21_59_02_396484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5960fe115e3969acf15f0c0b5e795864.jpg","text":"TemporaryFile(/tmp/multipartBody5472007185953783973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197275415,"filename":"image_06012025_21_58_02_235468_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327048681","file1":"1327048677","file0":"1327048672","file4":"1327048685","file3":"1327048684"},"map_files_photo_id_array":[{"photo_id":"1327048681","filename":"file2"},{"photo_id":"1327048685","filename":"file4"},{"photo_id":"1327048677","filename":"file1"},{"photo_id":"1327048672","filename":"file0"},{"photo_id":"1327048684","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327048685":["hashtag1","hashtag2"]},{"1327048684":["hashtag1","hashtag2"]},{"1327048672":["hashtag1","hashtag2"]},{"1327048681":["hashtag1","hashtag2"]},{"1327048677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327048685, 1327048684, 1327048672, 1327048681, 1327048677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.20040988922119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 22:00:52.396763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0003.jpg', '/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0000.jpg', '/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0001.jpg', '/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/21/59/image_06012025_21_59_02_396484_0003.jpg
/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0000.jpg
/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0001.jpg
/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327048713","1327048722","1327048733","1327048726"],"photo_ids_order":["1327048713","1327048722","1327048726","1327048733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f39b2cff5266ea9481ed1d8fb4010f7a.jpg","text":"TemporaryFile(/tmp/multipartBody699149624878114117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197322730,"filename":"image_06012025_21_59_02_396484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4a39f498ab2a8cab6cfccee65aebb64.jpg","text":"TemporaryFile(/tmp/multipartBody6057897996226675957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197322730,"filename":"image_06012025_22_00_02_645960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f8581ad2c4167ca47bfde77a8fbbefdb.jpg","text":"TemporaryFile(/tmp/multipartBody363618610109278535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197322730,"filename":"image_06012025_22_00_02_645960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e1fd15566b1ae80bc7f53d5ce4bb5a2.jpg","text":"TemporaryFile(/tmp/multipartBody7754518896707490549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197322730,"filename":"image_06012025_22_00_02_645960_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327048726","file1":"1327048722","file0":"1327048713","file3":"1327048733"},"map_files_photo_id_array":[{"photo_id":"1327048726","filename":"file2"},{"photo_id":"1327048722","filename":"file1"},{"photo_id":"1327048713","filename":"file0"},{"photo_id":"1327048733","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327048713":["hashtag1","hashtag2"]},{"1327048722":["hashtag1","hashtag2"]},{"1327048733":["hashtag1","hashtag2"]},{"1327048726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327048713, 1327048722, 1327048733, 1327048726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07601618766785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 22:01:42.537262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0003.jpg', '/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0000.jpg', '/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0001.jpg', '/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/00/image_06012025_22_00_02_645960_0003.jpg
/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0000.jpg
/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0001.jpg
/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327049001","1327048742","1327048765","1327048741"],"photo_ids_order":["1327048741","1327048742","1327048765","1327049001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f1e51e229a59e628da2e4c9c4d2dd3d.jpg","text":"TemporaryFile(/tmp/multipartBody2829825201336434275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197372601,"filename":"image_06012025_22_01_02_747536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3a0c62ec2d8e06a947e45d49f1045e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2307022209994134175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197372601,"filename":"image_06012025_22_01_02_747536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c099a58ffb129ec3b6fd0bfbe2685f82.jpg","text":"TemporaryFile(/tmp/multipartBody5883985675633241467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197372601,"filename":"image_06012025_22_01_02_747536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e0fa944f3d00b47fd97677bdea19356a.jpg","text":"TemporaryFile(/tmp/multipartBody878308918951852985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197372601,"filename":"image_06012025_22_00_02_645960_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327048765","file1":"1327048742","file0":"1327048741","file3":"1327049001"},"map_files_photo_id_array":[{"photo_id":"1327048765","filename":"file2"},{"photo_id":"1327048742","filename":"file1"},{"photo_id":"1327048741","filename":"file0"},{"photo_id":"1327049001","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327049001":["hashtag1","hashtag2"]},{"1327048742":["hashtag1","hashtag2"]},{"1327048765":["hashtag1","hashtag2"]},{"1327048741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327049001, 1327048742, 1327048765, 1327048741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05076885223389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 22:02:32.710315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0003.jpg', '/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0000.jpg', '/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0001.jpg', '/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/01/image_06012025_22_01_02_747536_0003.jpg
/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0000.jpg
/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0001.jpg
/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327050447","1327050446","1327050289","1327050357"],"photo_ids_order":["1327050289","1327050357","1327050446","1327050447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c145c804b2fa181d5756e6efac5ecc7.jpg","text":"TemporaryFile(/tmp/multipartBody3593212112105689400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197423056,"filename":"image_06012025_22_02_02_998905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8de1dc656028823bfb1b38391c6124cd.jpg","text":"TemporaryFile(/tmp/multipartBody6935908775879258040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197423056,"filename":"image_06012025_22_02_02_998905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f48b2c2e82468f21552a6d10b4f4a95a.jpg","text":"TemporaryFile(/tmp/multipartBody9185054577489594090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197423056,"filename":"image_06012025_22_01_02_747536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8da9c50b07644dccb2fb6c844c80c685.jpg","text":"TemporaryFile(/tmp/multipartBody8745628326597122853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197423056,"filename":"image_06012025_22_02_02_998905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327050446","file1":"1327050357","file0":"1327050289","file3":"1327050447"},"map_files_photo_id_array":[{"photo_id":"1327050446","filename":"file2"},{"photo_id":"1327050357","filename":"file1"},{"photo_id":"1327050289","filename":"file0"},{"photo_id":"1327050447","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327050447":["hashtag1","hashtag2"]},{"1327050446":["hashtag1","hashtag2"]},{"1327050289":["hashtag1","hashtag2"]},{"1327050357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327050447, 1327050446, 1327050289, 1327050357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57281947135925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:03:22.041131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0003.jpg', '/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_0000.jpg', '/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/02/image_06012025_22_02_02_998905_0003.jpg
/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_0000.jpg
/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_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":["1327051666","1327051972","1327051341"],"photo_ids_order":["1327051341","1327051666","1327051972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ee151b213a108920e10ee9d31c7a7091.jpg","text":"TemporaryFile(/tmp/multipartBody227377713994726175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197469875,"filename":"image_06012025_22_03_03_107538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5a269677c005ec0f454988e69f02e53c.jpg","text":"TemporaryFile(/tmp/multipartBody418749196510642882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197469875,"filename":"image_06012025_22_03_03_107538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c710812d520aee957cf2b6be2660c732.jpg","text":"TemporaryFile(/tmp/multipartBody6493593755988124302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197469875,"filename":"image_06012025_22_02_02_998905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327051972","file1":"1327051666","file0":"1327051341"},"map_files_photo_id_array":[{"photo_id":"1327051972","filename":"file2"},{"photo_id":"1327051666","filename":"file1"},{"photo_id":"1327051341","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327051666":["hashtag1","hashtag2"]},{"1327051972":["hashtag1","hashtag2"]},{"1327051341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327051666, 1327051972, 1327051341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.427449703216553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:04:02.477244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:04:22.096780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_0003.jpg', '/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0000.jpg', '/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0001.jpg', '/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/03/image_06012025_22_03_03_107538_0003.jpg
/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0000.jpg
/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0001.jpg
/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327052458","1327052256","1327052205","1327052208"],"photo_ids_order":["1327052205","1327052208","1327052256","1327052458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b297ef36a9d94d92e0e4814cf53ca03.jpg","text":"TemporaryFile(/tmp/multipartBody5777135159033989379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197532223,"filename":"image_06012025_22_04_02_380850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/be9b4fb173a13e9df537b197476bff05.jpg","text":"TemporaryFile(/tmp/multipartBody1686321213497444431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197532223,"filename":"image_06012025_22_04_02_380850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1b48d4925d9417b5fa82094fd591dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody478947298431739806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197532223,"filename":"image_06012025_22_03_03_107538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a808c58cb0f75638440a58e22aef9680.jpg","text":"TemporaryFile(/tmp/multipartBody2364262186814399985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197532223,"filename":"image_06012025_22_04_02_380850_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327052256","file1":"1327052208","file0":"1327052205","file3":"1327052458"},"map_files_photo_id_array":[{"photo_id":"1327052256","filename":"file2"},{"photo_id":"1327052208","filename":"file1"},{"photo_id":"1327052205","filename":"file0"},{"photo_id":"1327052458","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327052458":["hashtag1","hashtag2"]},{"1327052256":["hashtag1","hashtag2"]},{"1327052205":["hashtag1","hashtag2"]},{"1327052208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327052458, 1327052256, 1327052205, 1327052208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73338270187378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:05:02.793421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:05:22.154727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0003.jpg', '/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0000.jpg', '/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0001.jpg', '/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/04/image_06012025_22_04_02_380850_0003.jpg
/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0000.jpg
/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0001.jpg
/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327052837","1327053058","1327053060","1327053059"],"photo_ids_order":["1327052837","1327053058","1327053059","1327053060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dce311d2a6745135780c4338be115aae.jpg","text":"TemporaryFile(/tmp/multipartBody4023724302053386822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197592412,"filename":"image_06012025_22_04_02_380850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1a6759c1069aed11f1beaa727232807.jpg","text":"TemporaryFile(/tmp/multipartBody1784495473714469237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197592412,"filename":"image_06012025_22_05_02_519009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f2b312f12b8c7620328bf1e2c3fdceb.jpg","text":"TemporaryFile(/tmp/multipartBody4573892810341079578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197592412,"filename":"image_06012025_22_05_02_519009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fdf07656753e11ca30af34ea4eed412.jpg","text":"TemporaryFile(/tmp/multipartBody5760840978768156485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197592412,"filename":"image_06012025_22_05_02_519009_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327053059","file1":"1327053058","file0":"1327052837","file3":"1327053060"},"map_files_photo_id_array":[{"photo_id":"1327053059","filename":"file2"},{"photo_id":"1327053058","filename":"file1"},{"photo_id":"1327052837","filename":"file0"},{"photo_id":"1327053060","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327052837":["hashtag1","hashtag2"]},{"1327053058":["hashtag1","hashtag2"]},{"1327053060":["hashtag1","hashtag2"]},{"1327053059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327052837, 1327053058, 1327053060, 1327053059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79834318161011 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-06 22:06:22.457180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0003.jpg', '/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0000.jpg', '/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0001.jpg', '/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/05/image_06012025_22_05_02_519009_0003.jpg
/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0000.jpg
/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0001.jpg
/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327053970","1327053814","1327053972","1327053971"],"photo_ids_order":["1327053814","1327053970","1327053971","1327053972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7453ef81f0722a71a8e7b6b6d887d144.jpg","text":"TemporaryFile(/tmp/multipartBody5141446696801973114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197652583,"filename":"image_06012025_22_06_02_592192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d26bdcff582630d5a48268a12d4cb2ba.jpg","text":"TemporaryFile(/tmp/multipartBody8819381174287114803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197652583,"filename":"image_06012025_22_05_02_519009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04c3baa83f5899a40d48d077e2df6a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3870876924988656076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197652583,"filename":"image_06012025_22_06_02_592192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36151f1c5fa6f50d2f7db1748534179a.jpg","text":"TemporaryFile(/tmp/multipartBody8931397563394295579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197652583,"filename":"image_06012025_22_06_02_592192_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327053971","file1":"1327053970","file0":"1327053814","file3":"1327053972"},"map_files_photo_id_array":[{"photo_id":"1327053971","filename":"file2"},{"photo_id":"1327053970","filename":"file1"},{"photo_id":"1327053814","filename":"file0"},{"photo_id":"1327053972","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327053970":["hashtag1","hashtag2"]},{"1327053814":["hashtag1","hashtag2"]},{"1327053972":["hashtag1","hashtag2"]},{"1327053971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327053970, 1327053814, 1327053972, 1327053971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34180474281311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:07:03.302945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:07:22.533074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0003.jpg', '/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0000.jpg', '/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0001.jpg', '/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/06/image_06012025_22_06_02_592192_0003.jpg
/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0000.jpg
/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0001.jpg
/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327055895","1327055181","1327054754","1327055545"],"photo_ids_order":["1327054754","1327055181","1327055545","1327055895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16af07273c435b37094bd4620f53f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7434989472677818484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197712854,"filename":"image_06012025_22_07_02_856092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba017558f725624d040cb3a4374f704e.jpg","text":"TemporaryFile(/tmp/multipartBody3826276422190393186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197712854,"filename":"image_06012025_22_07_02_856092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7646afc2ff7cf75eab1889baa20c227e.jpg","text":"TemporaryFile(/tmp/multipartBody3592269260305888446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197712854,"filename":"image_06012025_22_06_02_592192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3190671c3ec6bc51a405e7d64a83cdea.jpg","text":"TemporaryFile(/tmp/multipartBody4102412820300834639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197712854,"filename":"image_06012025_22_07_02_856092_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327055545","file1":"1327055181","file0":"1327054754","file3":"1327055895"},"map_files_photo_id_array":[{"photo_id":"1327055545","filename":"file2"},{"photo_id":"1327055181","filename":"file1"},{"photo_id":"1327054754","filename":"file0"},{"photo_id":"1327055895","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327055895":["hashtag1","hashtag2"]},{"1327055181":["hashtag1","hashtag2"]},{"1327054754":["hashtag1","hashtag2"]},{"1327055545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327055895, 1327055181, 1327054754, 1327055545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77481961250305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:08:03.205963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:08:22.704131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0003.jpg', '/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0000.jpg', '/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0001.jpg', '/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/07/image_06012025_22_07_02_856092_0003.jpg
/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0000.jpg
/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0001.jpg
/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327056887","1327056863","1327056883","1327056885"],"photo_ids_order":["1327056863","1327056883","1327056885","1327056887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27c3beda94d320ffe50d5a845a67f924.jpg","text":"TemporaryFile(/tmp/multipartBody1087839748329934492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197772892,"filename":"image_06012025_22_08_02_924909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/779709b97d53fe513964dfcc5b38c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody480997022150331309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197772892,"filename":"image_06012025_22_07_02_856092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/163a6253d6a9a23317310719479a16a2.jpg","text":"TemporaryFile(/tmp/multipartBody9183657665601559404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197772892,"filename":"image_06012025_22_08_02_924909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70e90a641ba468a78e79429d799dd451.jpg","text":"TemporaryFile(/tmp/multipartBody3910680573364383708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197772892,"filename":"image_06012025_22_08_02_924909_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327056885","file1":"1327056883","file0":"1327056863","file3":"1327056887"},"map_files_photo_id_array":[{"photo_id":"1327056885","filename":"file2"},{"photo_id":"1327056883","filename":"file1"},{"photo_id":"1327056863","filename":"file0"},{"photo_id":"1327056887","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327056887":["hashtag1","hashtag2"]},{"1327056863":["hashtag1","hashtag2"]},{"1327056883":["hashtag1","hashtag2"]},{"1327056885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327056887, 1327056863, 1327056883, 1327056885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53154993057251 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-06 22:09:22.014559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0003.jpg', '/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0000.jpg', '/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0001.jpg', '/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/08/image_06012025_22_08_02_924909_0003.jpg
/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0000.jpg
/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0001.jpg
/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_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":["1327057589","1327057457","1327057122","1327057196"],"photo_ids_order":["1327057122","1327057196","1327057457","1327057589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00eeab08737c0a81a36709ae1de2db9c.jpg","text":"TemporaryFile(/tmp/multipartBody2262140115400854273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197832323,"filename":"image_06012025_22_09_03_064438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e9bf507af203158cb0fd7f16dc19891.jpg","text":"TemporaryFile(/tmp/multipartBody6934573090491313596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197832323,"filename":"image_06012025_22_09_03_064438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a69d7c0fc0195d6ebb960bce11e6221d.jpg","text":"TemporaryFile(/tmp/multipartBody4534795759904170874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197832323,"filename":"image_06012025_22_08_02_924909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8f77a9467747db138c7b48524494e84b.jpg","text":"TemporaryFile(/tmp/multipartBody4921250161008842037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197832323,"filename":"image_06012025_22_09_03_064438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327057457","file1":"1327057196","file0":"1327057122","file3":"1327057589"},"map_files_photo_id_array":[{"photo_id":"1327057457","filename":"file2"},{"photo_id":"1327057196","filename":"file1"},{"photo_id":"1327057122","filename":"file0"},{"photo_id":"1327057589","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327057589":["hashtag1","hashtag2"]},{"1327057457":["hashtag1","hashtag2"]},{"1327057122":["hashtag1","hashtag2"]},{"1327057196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327057589, 1327057457, 1327057122, 1327057196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73554229736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:10:22.123774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0003.jpg', '/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0000.jpg', '/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0001.jpg', '/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/09/image_06012025_22_09_03_064438_0003.jpg
/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0000.jpg
/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0001.jpg
/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327059571","1327059238","1327059234","1327059236"],"photo_ids_order":["1327059234","1327059236","1327059238","1327059571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7a7b6eae44a9c0cc7fff10f99d30d53.jpg","text":"TemporaryFile(/tmp/multipartBody8605895894552112805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197892312,"filename":"image_06012025_22_10_02_264110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a0239c322615c8d5a70bad847fda78f.jpg","text":"TemporaryFile(/tmp/multipartBody8729397556706501782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197892312,"filename":"image_06012025_22_10_02_264110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8ee5e698904b937f2ba2862f1bc6a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5742843076815214559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197892312,"filename":"image_06012025_22_09_03_064438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b418f905346f4574120e0718bc34213e.jpg","text":"TemporaryFile(/tmp/multipartBody8889109976766753791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197892312,"filename":"image_06012025_22_10_02_264110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327059238","file1":"1327059236","file0":"1327059234","file3":"1327059571"},"map_files_photo_id_array":[{"photo_id":"1327059238","filename":"file2"},{"photo_id":"1327059236","filename":"file1"},{"photo_id":"1327059234","filename":"file0"},{"photo_id":"1327059571","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327059571":["hashtag1","hashtag2"]},{"1327059238":["hashtag1","hashtag2"]},{"1327059234":["hashtag1","hashtag2"]},{"1327059236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327059571, 1327059238, 1327059234, 1327059236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21269726753235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:11:02.976933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:11:22.243159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0003.jpg', '/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0000.jpg', '/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0001.jpg', '/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/10/image_06012025_22_10_02_264110_0003.jpg
/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0000.jpg
/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0001.jpg
/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327060924","1327061124","1327061066","1327060856"],"photo_ids_order":["1327060856","1327060924","1327061066","1327061124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/395520701e5c5913c16e9cbc68efc476.jpg","text":"TemporaryFile(/tmp/multipartBody2322430191653520081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197952677,"filename":"image_06012025_22_11_02_472593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3643fd7e1e6d6da9b3a888afc735c14d.jpg","text":"TemporaryFile(/tmp/multipartBody2324640530848572510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197952677,"filename":"image_06012025_22_11_02_472593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/939f8c71f4239de1852af8961aed3a37.jpg","text":"TemporaryFile(/tmp/multipartBody826111038761372402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197952677,"filename":"image_06012025_22_11_02_472593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cced517da2907e4e66f2991f7a67592f.jpg","text":"TemporaryFile(/tmp/multipartBody6359838040163675082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736197952677,"filename":"image_06012025_22_10_02_264110_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327061066","file1":"1327060924","file0":"1327060856","file3":"1327061124"},"map_files_photo_id_array":[{"photo_id":"1327061066","filename":"file2"},{"photo_id":"1327060924","filename":"file1"},{"photo_id":"1327060856","filename":"file0"},{"photo_id":"1327061124","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327060924":["hashtag1","hashtag2"]},{"1327061124":["hashtag1","hashtag2"]},{"1327061066":["hashtag1","hashtag2"]},{"1327060856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327060924, 1327061124, 1327061066, 1327060856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82939648628235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:12:02.975687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:12:22.558195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0003.jpg', '/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0000.jpg', '/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0001.jpg', '/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/11/image_06012025_22_11_02_472593_0003.jpg
/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0000.jpg
/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0001.jpg
/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327063125","1327063128","1327063126","1327063123"],"photo_ids_order":["1327063123","1327063125","1327063126","1327063128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36f6c56a642b856e35bb335d6ea687c5.jpg","text":"TemporaryFile(/tmp/multipartBody5665912325253285268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198012780,"filename":"image_06012025_22_12_02_671521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3cc261623bb20fc99f56bd76318f80ad.jpg","text":"TemporaryFile(/tmp/multipartBody6169076505992510035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198012780,"filename":"image_06012025_22_12_02_671521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df5a23a136f5f37b5432be60de98b20e.jpg","text":"TemporaryFile(/tmp/multipartBody6048122603552059387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198012780,"filename":"image_06012025_22_12_02_671521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ae748c8d2f833b658cf6d52a8b91041.jpg","text":"TemporaryFile(/tmp/multipartBody755995204839219085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198012780,"filename":"image_06012025_22_11_02_472593_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327063126","file1":"1327063125","file0":"1327063123","file3":"1327063128"},"map_files_photo_id_array":[{"photo_id":"1327063126","filename":"file2"},{"photo_id":"1327063125","filename":"file1"},{"photo_id":"1327063123","filename":"file0"},{"photo_id":"1327063128","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327063125":["hashtag1","hashtag2"]},{"1327063128":["hashtag1","hashtag2"]},{"1327063126":["hashtag1","hashtag2"]},{"1327063123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327063125, 1327063128, 1327063126, 1327063123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.47806692123413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:13:03.209771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:13:22.655792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0003.jpg', '/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_0000.jpg', '/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/12/image_06012025_22_12_02_671521_0003.jpg
/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_0000.jpg
/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_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":["1327064519","1327064734","1327064713"],"photo_ids_order":["1327064519","1327064713","1327064734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ffafe7efd8533e3d35a075ed2eb46f4a.jpg","text":"TemporaryFile(/tmp/multipartBody589662200174982035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198070399,"filename":"image_06012025_22_12_02_671521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15621342322df4ffe49b0471a5df1bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4443371026832218397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198070399,"filename":"image_06012025_22_13_02_837572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/09e7b9d8957e856538e051d6654bc314.jpg","text":"TemporaryFile(/tmp/multipartBody4323718953901687381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198070399,"filename":"image_06012025_22_13_02_837572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327064734","file1":"1327064713","file0":"1327064519"},"map_files_photo_id_array":[{"photo_id":"1327064734","filename":"file2"},{"photo_id":"1327064713","filename":"file1"},{"photo_id":"1327064519","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327064519":["hashtag1","hashtag2"]},{"1327064734":["hashtag1","hashtag2"]},{"1327064713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327064519, 1327064734, 1327064713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.36974000930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:14:02.227046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:14:21.861187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_0003.jpg', '/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0000.jpg', '/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0001.jpg', '/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/13/image_06012025_22_13_02_837572_0003.jpg
/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0000.jpg
/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0001.jpg
/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327065074","1327065061","1327065072","1327065066"],"photo_ids_order":["1327065061","1327065066","1327065072","1327065074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c0fc043d000c206d377d0641a1597232.jpg","text":"TemporaryFile(/tmp/multipartBody1623296391927190062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198131939,"filename":"image_06012025_22_14_02_970392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2cfac0cdc94922d3c123bd7c8c7ef35.jpg","text":"TemporaryFile(/tmp/multipartBody3398760836535041420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198131939,"filename":"image_06012025_22_13_02_837572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b123df95b0bac4dd9f747537eb7da003.jpg","text":"TemporaryFile(/tmp/multipartBody7365429304261175843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198131939,"filename":"image_06012025_22_14_02_970392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b4cb923ea85c01d9aca0bba5dc6b8e2.jpg","text":"TemporaryFile(/tmp/multipartBody135353153528692626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198131939,"filename":"image_06012025_22_14_02_970392_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327065072","file1":"1327065066","file0":"1327065061","file3":"1327065074"},"map_files_photo_id_array":[{"photo_id":"1327065072","filename":"file2"},{"photo_id":"1327065066","filename":"file1"},{"photo_id":"1327065061","filename":"file0"},{"photo_id":"1327065074","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327065074":["hashtag1","hashtag2"]},{"1327065061":["hashtag1","hashtag2"]},{"1327065072":["hashtag1","hashtag2"]},{"1327065066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327065074, 1327065061, 1327065072, 1327065066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.202213764190674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:15:02.514510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:15:22.035598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0003.jpg', '/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0000.jpg', '/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0001.jpg', '/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/14/image_06012025_22_14_02_970392_0003.jpg
/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0000.jpg
/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0001.jpg
/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_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":["1327065113","1327065079","1327065115","1327065111"],"photo_ids_order":["1327065079","1327065111","1327065113","1327065115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b458bb820842f558a3c8353723cc6371.jpg","text":"TemporaryFile(/tmp/multipartBody7440268038332749568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198192313,"filename":"image_06012025_22_15_02_185553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9dec552709dec917c6a155d91c04fcde.jpg","text":"TemporaryFile(/tmp/multipartBody4497479693617166368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198192313,"filename":"image_06012025_22_14_02_970392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b8b1f3f09ae7211f12fcc58e1fc1c25c.jpg","text":"TemporaryFile(/tmp/multipartBody1472836560072236061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198192313,"filename":"image_06012025_22_15_02_185553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b70cdcf643ec1ad94ff0d57ad5710b3c.jpg","text":"TemporaryFile(/tmp/multipartBody946816234202449759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198192313,"filename":"image_06012025_22_15_02_185553_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327065113","file1":"1327065111","file0":"1327065079","file3":"1327065115"},"map_files_photo_id_array":[{"photo_id":"1327065113","filename":"file2"},{"photo_id":"1327065111","filename":"file1"},{"photo_id":"1327065079","filename":"file0"},{"photo_id":"1327065115","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327065113":["hashtag1","hashtag2"]},{"1327065079":["hashtag1","hashtag2"]},{"1327065115":["hashtag1","hashtag2"]},{"1327065111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327065113, 1327065079, 1327065115, 1327065111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.77390384674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:16:22.132618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0003.jpg', '/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0000.jpg', '/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0001.jpg', '/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/15/image_06012025_22_15_02_185553_0003.jpg
/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0000.jpg
/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0001.jpg
/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_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":["1327065376","1327065286","1327065439","1327065375"],"photo_ids_order":["1327065286","1327065375","1327065376","1327065439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/46f4c7a0f8e420353b2a36e33dcd9ddd.jpg","text":"TemporaryFile(/tmp/multipartBody2514631740951881124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198252239,"filename":"image_06012025_22_16_02_262223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90c184998394f0cd18dbb450ed9d742a.jpg","text":"TemporaryFile(/tmp/multipartBody4813567064561429479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198252239,"filename":"image_06012025_22_15_02_185553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/743ee8d713cae9866064b778bdbcad1b.jpg","text":"TemporaryFile(/tmp/multipartBody1158714176827076900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198252239,"filename":"image_06012025_22_16_02_262223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6d2018168b0cdd5914d53a3e38c243d7.jpg","text":"TemporaryFile(/tmp/multipartBody5513876750494061831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198252239,"filename":"image_06012025_22_16_02_262223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327065376","file1":"1327065375","file0":"1327065286","file3":"1327065439"},"map_files_photo_id_array":[{"photo_id":"1327065376","filename":"file2"},{"photo_id":"1327065375","filename":"file1"},{"photo_id":"1327065286","filename":"file0"},{"photo_id":"1327065439","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327065376":["hashtag1","hashtag2"]},{"1327065286":["hashtag1","hashtag2"]},{"1327065439":["hashtag1","hashtag2"]},{"1327065375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327065376, 1327065286, 1327065439, 1327065375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.953033685684204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:17:22.326463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0003.jpg', '/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0000.jpg', '/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0001.jpg', '/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/16/image_06012025_22_16_02_262223_0003.jpg
/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0000.jpg
/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0001.jpg
/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327066234","1327066077","1327065735","1327066232"],"photo_ids_order":["1327065735","1327066077","1327066232","1327066234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a534df7554e1732d3f09c854413d134c.jpg","text":"TemporaryFile(/tmp/multipartBody1584068302253337284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198312625,"filename":"image_06012025_22_17_02_584548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1a6125bbacebc6da076cf3cf0953955b.jpg","text":"TemporaryFile(/tmp/multipartBody473052944728124731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198312625,"filename":"image_06012025_22_17_02_584548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d5ff9f43ebc677d8cca8f6fda5e5e92e.jpg","text":"TemporaryFile(/tmp/multipartBody704120109601537083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198312625,"filename":"image_06012025_22_16_02_262223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd745f5aacf781c35ff6d2c5cfe4bf48.jpg","text":"TemporaryFile(/tmp/multipartBody8965527983191770573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198312625,"filename":"image_06012025_22_17_02_584548_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327066232","file1":"1327066077","file0":"1327065735","file3":"1327066234"},"map_files_photo_id_array":[{"photo_id":"1327066232","filename":"file2"},{"photo_id":"1327066077","filename":"file1"},{"photo_id":"1327065735","filename":"file0"},{"photo_id":"1327066234","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327066234":["hashtag1","hashtag2"]},{"1327066077":["hashtag1","hashtag2"]},{"1327065735":["hashtag1","hashtag2"]},{"1327066232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327066234, 1327066077, 1327065735, 1327066232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23727011680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:18:02.834783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:18:22.529116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0003.jpg', '/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0000.jpg', '/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0001.jpg', '/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/17/image_06012025_22_17_02_584548_0003.jpg
/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0000.jpg
/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0001.jpg
/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327067175","1327067168","1327067162","1327067213"],"photo_ids_order":["1327067162","1327067168","1327067175","1327067213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5e7037ad704e7c8c38ff29d0b1a0e299.jpg","text":"TemporaryFile(/tmp/multipartBody5779781421795660322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198372675,"filename":"image_06012025_22_18_02_750343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d90cf023c3c51fcc1da2566de385844.jpg","text":"TemporaryFile(/tmp/multipartBody4610541705126098833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198372675,"filename":"image_06012025_22_18_02_750343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3c228bcb5d9371acbb3fe7595a5cc330.jpg","text":"TemporaryFile(/tmp/multipartBody1916941533314021021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198372675,"filename":"image_06012025_22_17_02_584548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a41867d8b5017b50302c6f5325da0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8796531626374019642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198372675,"filename":"image_06012025_22_18_02_750343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327067175","file1":"1327067168","file0":"1327067162","file3":"1327067213"},"map_files_photo_id_array":[{"photo_id":"1327067175","filename":"file2"},{"photo_id":"1327067168","filename":"file1"},{"photo_id":"1327067162","filename":"file0"},{"photo_id":"1327067213","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327067175":["hashtag1","hashtag2"]},{"1327067168":["hashtag1","hashtag2"]},{"1327067162":["hashtag1","hashtag2"]},{"1327067213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327067175, 1327067168, 1327067162, 1327067213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.855125188827515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:19:03.237783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:19:22.659574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0003.jpg', '/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0000.jpg', '/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0001.jpg', '/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/18/image_06012025_22_18_02_750343_0003.jpg
/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0000.jpg
/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0001.jpg
/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327067446","1327067451","1327067448","1327067447"],"photo_ids_order":["1327067446","1327067447","1327067448","1327067451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/85f7555c3fa4c23fb1c5a24721059f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8466911394379168581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198432924,"filename":"image_06012025_22_18_02_750343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54ddecdfe8050c998799f44bc6810c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3057026398117944308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198432924,"filename":"image_06012025_22_19_02_830974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/27280b685f2f1fd497be8b416261f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody4425332245491561562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198432924,"filename":"image_06012025_22_19_02_830974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fbba807d3742a0757a988322d3b402f3.jpg","text":"TemporaryFile(/tmp/multipartBody6889168830376757967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198432924,"filename":"image_06012025_22_19_02_830974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327067448","file1":"1327067447","file0":"1327067446","file3":"1327067451"},"map_files_photo_id_array":[{"photo_id":"1327067448","filename":"file2"},{"photo_id":"1327067447","filename":"file1"},{"photo_id":"1327067446","filename":"file0"},{"photo_id":"1327067451","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327067446":["hashtag1","hashtag2"]},{"1327067451":["hashtag1","hashtag2"]},{"1327067448":["hashtag1","hashtag2"]},{"1327067447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327067446, 1327067451, 1327067448, 1327067447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.233673095703125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:20:02.265052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:20:21.753816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0003.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0000.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0001.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0003.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0000.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0001.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_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.72856068611145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 22:20:41.789606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0003.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0000.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0001.jpg', '/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/19/image_06012025_22_19_02_830974_0003.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0000.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0001.jpg
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_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":["1327067782","1327068288","1327067533","1327068046"],"photo_ids_order":["1327067533","1327067782","1327068046","1327068288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d4c7302e4a6a3ca75a0544b4bea8160.jpg","text":"TemporaryFile(/tmp/multipartBody5552245866646367593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198511928,"filename":"image_06012025_22_20_02_985550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c21b7a992de2926cfbb488d148ab6456.jpg","text":"TemporaryFile(/tmp/multipartBody4424611510048823374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198511928,"filename":"image_06012025_22_20_02_985550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e0da8490ddf8052b6c945c47837e2e0.jpg","text":"TemporaryFile(/tmp/multipartBody161924533523849791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198511928,"filename":"image_06012025_22_19_02_830974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ffee1a772c7b18da5fcb4709a2afe2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5180893281762084310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198511928,"filename":"image_06012025_22_20_02_985550_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327068046","file1":"1327067782","file0":"1327067533","file3":"1327068288"},"map_files_photo_id_array":[{"photo_id":"1327068046","filename":"file2"},{"photo_id":"1327067782","filename":"file1"},{"photo_id":"1327067533","filename":"file0"},{"photo_id":"1327068288","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327067782":["hashtag1","hashtag2"]},{"1327068288":["hashtag1","hashtag2"]},{"1327067533":["hashtag1","hashtag2"]},{"1327068046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327067782, 1327068288, 1327067533, 1327068046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92160415649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:21:22.082102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0003.jpg', '/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0000.jpg', '/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0001.jpg', '/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/20/image_06012025_22_20_02_985550_0003.jpg
/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0000.jpg
/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0001.jpg
/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_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":["1327069017","1327069061","1327069083","1327069018"],"photo_ids_order":["1327069017","1327069018","1327069061","1327069083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45f9f999fcd4b6cd83f0993b0dd5fff5.jpg","text":"TemporaryFile(/tmp/multipartBody28768654350983135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198552256,"filename":"image_06012025_22_20_02_985550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c389b9c36954c9ed6b364960c48f9a20.jpg","text":"TemporaryFile(/tmp/multipartBody7056049392801080990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198552256,"filename":"image_06012025_22_21_02_168657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ba6356b42a2362120d85b885cb5c142f.jpg","text":"TemporaryFile(/tmp/multipartBody4430955828587326809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198552256,"filename":"image_06012025_22_21_02_168657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b182d9f6bf3e2ebfd8a644ddddfe99b6.jpg","text":"TemporaryFile(/tmp/multipartBody1857763571442380494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198552256,"filename":"image_06012025_22_21_02_168657_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327069061","file1":"1327069018","file0":"1327069017","file3":"1327069083"},"map_files_photo_id_array":[{"photo_id":"1327069061","filename":"file2"},{"photo_id":"1327069018","filename":"file1"},{"photo_id":"1327069017","filename":"file0"},{"photo_id":"1327069083","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327069017":["hashtag1","hashtag2"]},{"1327069061":["hashtag1","hashtag2"]},{"1327069083":["hashtag1","hashtag2"]},{"1327069018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327069017, 1327069061, 1327069083, 1327069018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.932743549346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:22:22.236659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0003.jpg', '/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0000.jpg', '/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0001.jpg', '/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/21/image_06012025_22_21_02_168657_0003.jpg
/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0000.jpg
/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0001.jpg
/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_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":["1327069691","1327069595","1327069544","1327069543"],"photo_ids_order":["1327069543","1327069544","1327069595","1327069691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/366303c9cab3f57928ff49bf54f7ca17.jpg","text":"TemporaryFile(/tmp/multipartBody6896894169620329597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198612442,"filename":"image_06012025_22_22_02_420329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/585fd6d1bef70d051c3953cf6d65de9b.jpg","text":"TemporaryFile(/tmp/multipartBody408233727258966285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198612442,"filename":"image_06012025_22_22_02_420329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5f799e7f1c5963be000796f05c88f34.jpg","text":"TemporaryFile(/tmp/multipartBody5175864313776972264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198612442,"filename":"image_06012025_22_22_02_420329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2adbf0477006e5bdb8ef1be2bbd9b63d.jpg","text":"TemporaryFile(/tmp/multipartBody1809266632479809337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198612442,"filename":"image_06012025_22_21_02_168657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327069595","file1":"1327069544","file0":"1327069543","file3":"1327069691"},"map_files_photo_id_array":[{"photo_id":"1327069595","filename":"file2"},{"photo_id":"1327069544","filename":"file1"},{"photo_id":"1327069543","filename":"file0"},{"photo_id":"1327069691","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327069691":["hashtag1","hashtag2"]},{"1327069595":["hashtag1","hashtag2"]},{"1327069544":["hashtag1","hashtag2"]},{"1327069543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327069691, 1327069595, 1327069544, 1327069543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21618938446045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:23:22.391484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0003.jpg', '/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0000.jpg', '/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0001.jpg', '/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/22/image_06012025_22_22_02_420329_0003.jpg
/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0000.jpg
/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0001.jpg
/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327070633","1327070429","1327070153","1327070581"],"photo_ids_order":["1327070153","1327070429","1327070581","1327070633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e1c1e2e0dc6ef6984f1ba0adab9ce0d.jpg","text":"TemporaryFile(/tmp/multipartBody4919706650072051281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198672565,"filename":"image_06012025_22_23_02_527646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9151fc449415897c97de4c57ece13ee.jpg","text":"TemporaryFile(/tmp/multipartBody2330219463808054163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198672565,"filename":"image_06012025_22_23_02_527646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6194ba5155a5cbe09851e52043d9934b.jpg","text":"TemporaryFile(/tmp/multipartBody6234963974752136505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198672565,"filename":"image_06012025_22_22_02_420329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7bfb1d743057aa9f6694603857f8fcef.jpg","text":"TemporaryFile(/tmp/multipartBody4236885860863556182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198672565,"filename":"image_06012025_22_23_02_527646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327070581","file1":"1327070429","file0":"1327070153","file3":"1327070633"},"map_files_photo_id_array":[{"photo_id":"1327070581","filename":"file2"},{"photo_id":"1327070429","filename":"file1"},{"photo_id":"1327070153","filename":"file0"},{"photo_id":"1327070633","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327070633":["hashtag1","hashtag2"]},{"1327070429":["hashtag1","hashtag2"]},{"1327070153":["hashtag1","hashtag2"]},{"1327070581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327070633, 1327070429, 1327070153, 1327070581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19045972824097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:24:02.939991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:24:22.546013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0003.jpg', '/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0000.jpg', '/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0001.jpg', '/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/23/image_06012025_22_23_02_527646_0003.jpg
/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0000.jpg
/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0001.jpg
/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_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":["1327070787","1327070712","1327070711","1327070714"],"photo_ids_order":["1327070711","1327070712","1327070714","1327070787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1781113e54b324e2167212f3c17acecb.jpg","text":"TemporaryFile(/tmp/multipartBody1721323867352156700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198732748,"filename":"image_06012025_22_24_02_824048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/155330e6524551615f4d67ffe957ad92.jpg","text":"TemporaryFile(/tmp/multipartBody2724309895836178653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198732748,"filename":"image_06012025_22_24_02_824048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87228566b3911772123b8cac2f00327e.jpg","text":"TemporaryFile(/tmp/multipartBody2010103801393158272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198732748,"filename":"image_06012025_22_23_02_527646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/640f2049b1c34a1a381e11576b6bbe81.jpg","text":"TemporaryFile(/tmp/multipartBody6175847383361019840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198732748,"filename":"image_06012025_22_24_02_824048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327070714","file1":"1327070712","file0":"1327070711","file3":"1327070787"},"map_files_photo_id_array":[{"photo_id":"1327070714","filename":"file2"},{"photo_id":"1327070712","filename":"file1"},{"photo_id":"1327070711","filename":"file0"},{"photo_id":"1327070787","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327070787":["hashtag1","hashtag2"]},{"1327070712":["hashtag1","hashtag2"]},{"1327070711":["hashtag1","hashtag2"]},{"1327070714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327070787, 1327070712, 1327070711, 1327070714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9237916469574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:25:22.700144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0003.jpg', '/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0000.jpg', '/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0001.jpg', '/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/24/image_06012025_22_24_02_824048_0003.jpg
/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0000.jpg
/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0001.jpg
/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_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":["1327071338","1327071343","1327071433","1327071372"],"photo_ids_order":["1327071338","1327071343","1327071372","1327071433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/663eec13c37a3a4d8bac2b37f3d52e75.jpg","text":"TemporaryFile(/tmp/multipartBody6543589370025016421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198792882,"filename":"image_06012025_22_24_02_824048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8149a193f38276692736ad99b49f200c.jpg","text":"TemporaryFile(/tmp/multipartBody6369933184894579471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198792882,"filename":"image_06012025_22_25_02_857347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/498e85f27c86674159c1c535208a8b56.jpg","text":"TemporaryFile(/tmp/multipartBody1446445335443048511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198792882,"filename":"image_06012025_22_25_02_857347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57e459e301777686dafe50dc3f79010e.jpg","text":"TemporaryFile(/tmp/multipartBody2968369856613465540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198792882,"filename":"image_06012025_22_25_02_857347_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327071372","file1":"1327071343","file0":"1327071338","file3":"1327071433"},"map_files_photo_id_array":[{"photo_id":"1327071372","filename":"file2"},{"photo_id":"1327071343","filename":"file1"},{"photo_id":"1327071338","filename":"file0"},{"photo_id":"1327071433","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327071338":["hashtag1","hashtag2"]},{"1327071343":["hashtag1","hashtag2"]},{"1327071433":["hashtag1","hashtag2"]},{"1327071372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327071338, 1327071343, 1327071433, 1327071372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73700404167175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:26:21.945429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0003.jpg', '/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0000.jpg', '/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0001.jpg', '/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/25/image_06012025_22_25_02_857347_0003.jpg
/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0000.jpg
/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0001.jpg
/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327071468","1327071473","1327071469","1327071471"],"photo_ids_order":["1327071468","1327071469","1327071471","1327071473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1e90f0cdaa9cb30e46d2743062d9880f.jpg","text":"TemporaryFile(/tmp/multipartBody7440479743854611943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198852089,"filename":"image_06012025_22_25_02_857347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2ceafbca6871d39edc83be809df90804.jpg","text":"TemporaryFile(/tmp/multipartBody3629115375265487691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198852089,"filename":"image_06012025_22_26_03_090754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10a716a4f9ce9dfd2d6db7e3fa4eefa0.jpg","text":"TemporaryFile(/tmp/multipartBody6731290651759932251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198852089,"filename":"image_06012025_22_26_03_090754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/04db59a2d8585237776db740bd2d1679.jpg","text":"TemporaryFile(/tmp/multipartBody4994963027227904281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198852089,"filename":"image_06012025_22_26_03_090754_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327071471","file1":"1327071469","file0":"1327071468","file3":"1327071473"},"map_files_photo_id_array":[{"photo_id":"1327071471","filename":"file2"},{"photo_id":"1327071469","filename":"file1"},{"photo_id":"1327071468","filename":"file0"},{"photo_id":"1327071473","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327071468":["hashtag1","hashtag2"]},{"1327071473":["hashtag1","hashtag2"]},{"1327071469":["hashtag1","hashtag2"]},{"1327071471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327071468, 1327071473, 1327071469, 1327071471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76113295555115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:27:02.632358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:27:22.075107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0003.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0000.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0001.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0003.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0000.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0001.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_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.727832555770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 22:27:42.060696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0003.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0000.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0001.jpg', '/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/26/image_06012025_22_26_03_090754_0003.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0000.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0001.jpg
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327072099","1327072022","1327072024","1327072074"],"photo_ids_order":["1327072022","1327072024","1327072074","1327072099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bbd20ec46372d7388f8c89f20c55eea2.jpg","text":"TemporaryFile(/tmp/multipartBody4572680061807572600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198932219,"filename":"image_06012025_22_27_02_299502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6be9c42769a210381cd1e4867bcc004.jpg","text":"TemporaryFile(/tmp/multipartBody8163821959055066513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198932219,"filename":"image_06012025_22_26_03_090754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/419ff51f4a0372b3c235fb143137b4fb.jpg","text":"TemporaryFile(/tmp/multipartBody6609531203861100751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198932219,"filename":"image_06012025_22_27_02_299502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/10d190c28b2c6f0244a9b9390c13f694.jpg","text":"TemporaryFile(/tmp/multipartBody8452203870020393379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198932219,"filename":"image_06012025_22_27_02_299502_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327072074","file1":"1327072024","file0":"1327072022","file3":"1327072099"},"map_files_photo_id_array":[{"photo_id":"1327072074","filename":"file2"},{"photo_id":"1327072024","filename":"file1"},{"photo_id":"1327072022","filename":"file0"},{"photo_id":"1327072099","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327072099":["hashtag1","hashtag2"]},{"1327072022":["hashtag1","hashtag2"]},{"1327072024":["hashtag1","hashtag2"]},{"1327072074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327072099, 1327072022, 1327072024, 1327072074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.219136476516724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 22:28:32.242976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0003.jpg', '/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0000.jpg', '/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0001.jpg', '/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/27/image_06012025_22_27_02_299502_0003.jpg
/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0000.jpg
/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0001.jpg
/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327072553","1327072399","1327072555","1327072606"],"photo_ids_order":["1327072399","1327072553","1327072555","1327072606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/25bf224ddf789a0e0a0fd00962f036a3.jpg","text":"TemporaryFile(/tmp/multipartBody2505009092101156993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198982530,"filename":"image_06012025_22_28_02_535861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7211451c004a11f584ccad9b7b599c08.jpg","text":"TemporaryFile(/tmp/multipartBody5673775354931792054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198982530,"filename":"image_06012025_22_27_02_299502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/62c184c39c166fa90d626ef3c8799229.jpg","text":"TemporaryFile(/tmp/multipartBody8767952935366861646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198982530,"filename":"image_06012025_22_28_02_535861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/73d17bea8d407f2bab7a2bff3487af42.jpg","text":"TemporaryFile(/tmp/multipartBody4998691295540852989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736198982530,"filename":"image_06012025_22_28_02_535861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327072555","file1":"1327072553","file0":"1327072399","file3":"1327072606"},"map_files_photo_id_array":[{"photo_id":"1327072555","filename":"file2"},{"photo_id":"1327072553","filename":"file1"},{"photo_id":"1327072399","filename":"file0"},{"photo_id":"1327072606","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327072553":["hashtag1","hashtag2"]},{"1327072399":["hashtag1","hashtag2"]},{"1327072555":["hashtag1","hashtag2"]},{"1327072606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327072553, 1327072399, 1327072555, 1327072606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.511006116867065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:29:22.523268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0003.jpg', '/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0000.jpg', '/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0001.jpg', '/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/28/image_06012025_22_28_02_535861_0003.jpg
/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0000.jpg
/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0001.jpg
/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_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":["1327072707","1327072701","1327072703","1327072705"],"photo_ids_order":["1327072701","1327072703","1327072705","1327072707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0737ca44eff3cdca45077787224d2036.jpg","text":"TemporaryFile(/tmp/multipartBody4500254035182157760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199032801,"filename":"image_06012025_22_29_02_607586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0592c8e1f08959aa4b0babf11706031c.jpg","text":"TemporaryFile(/tmp/multipartBody4172995688517247188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199032801,"filename":"image_06012025_22_28_02_535861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/368bb925603886d24b2522c362d7bea3.jpg","text":"TemporaryFile(/tmp/multipartBody6645297033563534879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199032801,"filename":"image_06012025_22_29_02_607586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad5ea7878213a64e9eba5bea38c27a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5153929529081346353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199032801,"filename":"image_06012025_22_29_02_607586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327072705","file1":"1327072703","file0":"1327072701","file3":"1327072707"},"map_files_photo_id_array":[{"photo_id":"1327072705","filename":"file2"},{"photo_id":"1327072703","filename":"file1"},{"photo_id":"1327072701","filename":"file0"},{"photo_id":"1327072707","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327072707":["hashtag1","hashtag2"]},{"1327072701":["hashtag1","hashtag2"]},{"1327072703":["hashtag1","hashtag2"]},{"1327072705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327072707, 1327072701, 1327072703, 1327072705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82949471473694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:30:22.771328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0003.jpg', '/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0000.jpg', '/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0001.jpg', '/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/29/image_06012025_22_29_02_607586_0003.jpg
/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0000.jpg
/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0001.jpg
/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327074107","1327074418","1327073638","1327073940"],"photo_ids_order":["1327073638","1327073940","1327074107","1327074418"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/187e6ac79773973e62f7226574e88475.jpg","text":"TemporaryFile(/tmp/multipartBody4134373573556945776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199092817,"filename":"image_06012025_22_30_02_949855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9715882b5a451cdf2e5ba15fb927903f.jpg","text":"TemporaryFile(/tmp/multipartBody5086777854112941849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199092817,"filename":"image_06012025_22_30_02_949855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af58ce59f43f0f659877319f672e6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4857177631923464679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199092817,"filename":"image_06012025_22_29_02_607586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e65daafac87c17c246ae41b3e4f5892.jpg","text":"TemporaryFile(/tmp/multipartBody3043784828795803733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199092817,"filename":"image_06012025_22_30_02_949855_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327074107","file1":"1327073940","file0":"1327073638","file3":"1327074418"},"map_files_photo_id_array":[{"photo_id":"1327074107","filename":"file2"},{"photo_id":"1327073940","filename":"file1"},{"photo_id":"1327073638","filename":"file0"},{"photo_id":"1327074418","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327074107":["hashtag1","hashtag2"]},{"1327074418":["hashtag1","hashtag2"]},{"1327073638":["hashtag1","hashtag2"]},{"1327073940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327074107, 1327074418, 1327073638, 1327073940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.266356468200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:31:02.301871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:31:21.940675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0003.jpg', '/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0000.jpg', '/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0001.jpg', '/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/30/image_06012025_22_30_02_949855_0003.jpg
/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0000.jpg
/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0001.jpg
/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327075719","1327075526","1327075948","1327075465"],"photo_ids_order":["1327075465","1327075526","1327075719","1327075948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c5b795fd4fc45b3123d245cbcb36fd82.jpg","text":"TemporaryFile(/tmp/multipartBody8034776781001600527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199152169,"filename":"image_06012025_22_31_03_039153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae257d944fdde43581a8634715af5b24.jpg","text":"TemporaryFile(/tmp/multipartBody4944245591515163122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199152169,"filename":"image_06012025_22_31_03_039153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4663c5022d3c9718bdb1667f4fdfdf75.jpg","text":"TemporaryFile(/tmp/multipartBody3752650317138437004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199152169,"filename":"image_06012025_22_31_03_039153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/104eb22e9a1042b0328157615c2f3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody498733089379116183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199152169,"filename":"image_06012025_22_30_02_949855_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327075719","file1":"1327075526","file0":"1327075465","file3":"1327075948"},"map_files_photo_id_array":[{"photo_id":"1327075719","filename":"file2"},{"photo_id":"1327075526","filename":"file1"},{"photo_id":"1327075465","filename":"file0"},{"photo_id":"1327075948","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327075719":["hashtag1","hashtag2"]},{"1327075526":["hashtag1","hashtag2"]},{"1327075948":["hashtag1","hashtag2"]},{"1327075465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327075719, 1327075526, 1327075948, 1327075465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.994324922561646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:32:02.508236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:32:21.992818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0003.jpg', '/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0000.jpg', '/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0001.jpg', '/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/31/image_06012025_22_31_03_039153_0003.jpg
/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0000.jpg
/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0001.jpg
/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327076834","1327076351","1327076705","1327076528"],"photo_ids_order":["1327076351","1327076528","1327076705","1327076834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3433adddb187dbce169c84cdd997056c.jpg","text":"TemporaryFile(/tmp/multipartBody7512058155293010557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199212201,"filename":"image_06012025_22_32_02_192909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cad2d13ff6cb5462909f18e1b67c3d5a.jpg","text":"TemporaryFile(/tmp/multipartBody778736982754265372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199212201,"filename":"image_06012025_22_31_03_039153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9b834537b1986605f1b993eb799b6452.jpg","text":"TemporaryFile(/tmp/multipartBody906949473155324853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199212201,"filename":"image_06012025_22_32_02_192909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d536c4118c656536a3eadec02525e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4189721840935187501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199212201,"filename":"image_06012025_22_32_02_192909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327076705","file1":"1327076528","file0":"1327076351","file3":"1327076834"},"map_files_photo_id_array":[{"photo_id":"1327076705","filename":"file2"},{"photo_id":"1327076528","filename":"file1"},{"photo_id":"1327076351","filename":"file0"},{"photo_id":"1327076834","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327076834":["hashtag1","hashtag2"]},{"1327076351":["hashtag1","hashtag2"]},{"1327076705":["hashtag1","hashtag2"]},{"1327076528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327076834, 1327076351, 1327076705, 1327076528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.439876556396484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:33:02.847807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:33:22.219418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0003.jpg', '/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0000.jpg', '/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0001.jpg', '/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/32/image_06012025_22_32_02_192909_0003.jpg
/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0000.jpg
/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0001.jpg
/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327077627","1327077551","1327077541","1327077601"],"photo_ids_order":["1327077541","1327077551","1327077601","1327077627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/43a7678d3c63ddf281bd5a6517990ecc.jpg","text":"TemporaryFile(/tmp/multipartBody6818188136195908752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199272542,"filename":"image_06012025_22_33_02_422528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/674718f32c58c6cbebe43d94c19abad1.jpg","text":"TemporaryFile(/tmp/multipartBody6730309987786059888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199272542,"filename":"image_06012025_22_33_02_422528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d7fe8560c49d2f74af918a66253274e0.jpg","text":"TemporaryFile(/tmp/multipartBody4591750086889714783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199272542,"filename":"image_06012025_22_32_02_192909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fcd66fdc352aac065f66ee68bed91e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6675108493059236937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199272542,"filename":"image_06012025_22_33_02_422528_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327077601","file1":"1327077551","file0":"1327077541","file3":"1327077627"},"map_files_photo_id_array":[{"photo_id":"1327077601","filename":"file2"},{"photo_id":"1327077551","filename":"file1"},{"photo_id":"1327077541","filename":"file0"},{"photo_id":"1327077627","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327077627":["hashtag1","hashtag2"]},{"1327077551":["hashtag1","hashtag2"]},{"1327077541":["hashtag1","hashtag2"]},{"1327077601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327077627, 1327077551, 1327077541, 1327077601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.114174604415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:34:02.835225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:34:22.389128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0003.jpg', '/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0000.jpg', '/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0001.jpg', '/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/33/image_06012025_22_33_02_422528_0003.jpg
/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0000.jpg
/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0001.jpg
/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_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":["1327078025","1327077653","1327077652","1327077696"],"photo_ids_order":["1327077652","1327077653","1327077696","1327078025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8e97f300df4319584dcc2b5175b6e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8704909979113393154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199332746,"filename":"image_06012025_22_34_02_639533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/627687a36c284039c8fd988647413d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8187213997586563346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199332746,"filename":"image_06012025_22_34_02_639533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/36887d8c5f0f5ba87eded5e3f7f37ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1824411289255668814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199332746,"filename":"image_06012025_22_33_02_422528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4954312b17a7b9d5c75fc189e413507e.jpg","text":"TemporaryFile(/tmp/multipartBody4234372893552151992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199332746,"filename":"image_06012025_22_34_02_639533_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327077696","file1":"1327077653","file0":"1327077652","file3":"1327078025"},"map_files_photo_id_array":[{"photo_id":"1327077696","filename":"file2"},{"photo_id":"1327077653","filename":"file1"},{"photo_id":"1327077652","filename":"file0"},{"photo_id":"1327078025","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327078025":["hashtag1","hashtag2"]},{"1327077653":["hashtag1","hashtag2"]},{"1327077652":["hashtag1","hashtag2"]},{"1327077696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327078025, 1327077653, 1327077652, 1327077696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26943373680115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:35:22.641390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0003.jpg', '/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0000.jpg', '/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0001.jpg', '/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/34/image_06012025_22_34_02_639533_0003.jpg
/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0000.jpg
/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0001.jpg
/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_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":["1327078608","1327078660","1327078555","1327078537"],"photo_ids_order":["1327078537","1327078555","1327078608","1327078660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de1fdaa2b7af0c568026540d36552975.jpg","text":"TemporaryFile(/tmp/multipartBody7103979723103104780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199392848,"filename":"image_06012025_22_35_02_771361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14137a0fba6fbb1ca3b226ca1693aacf.jpg","text":"TemporaryFile(/tmp/multipartBody8360821319042408474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199392848,"filename":"image_06012025_22_35_02_771361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35e37bd822d21e4b09de19afee6eb030.jpg","text":"TemporaryFile(/tmp/multipartBody406069979108730193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199392848,"filename":"image_06012025_22_35_02_771361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/57216d9838102ceca1f87923b60a5bde.jpg","text":"TemporaryFile(/tmp/multipartBody8950149392159562877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199392848,"filename":"image_06012025_22_34_02_639533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327078608","file1":"1327078555","file0":"1327078537","file3":"1327078660"},"map_files_photo_id_array":[{"photo_id":"1327078608","filename":"file2"},{"photo_id":"1327078555","filename":"file1"},{"photo_id":"1327078537","filename":"file0"},{"photo_id":"1327078660","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327078608":["hashtag1","hashtag2"]},{"1327078660":["hashtag1","hashtag2"]},{"1327078555":["hashtag1","hashtag2"]},{"1327078537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327078608, 1327078660, 1327078555, 1327078537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25798487663269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:36:22.747167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0003.jpg', '/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0000.jpg', '/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0001.jpg', '/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/35/image_06012025_22_35_02_771361_0003.jpg
/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0000.jpg
/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0001.jpg
/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327078775","1327078780","1327078738","1327078779"],"photo_ids_order":["1327078738","1327078775","1327078779","1327078780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/559ac3194fe5137015f744152c494e09.jpg","text":"TemporaryFile(/tmp/multipartBody8506227748731866364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199452908,"filename":"image_06012025_22_36_02_946995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14e39b0d06a3d2373aca79d1d23ae53c.jpg","text":"TemporaryFile(/tmp/multipartBody4928347412340305568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199452908,"filename":"image_06012025_22_36_02_946995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/195ba407beaa5d182f7314721464d3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6046879287686128246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199452908,"filename":"image_06012025_22_35_02_771361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/474c500bab770f4ab61df072ecea4a07.jpg","text":"TemporaryFile(/tmp/multipartBody7496906284867198658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199452908,"filename":"image_06012025_22_36_02_946995_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327078779","file1":"1327078775","file0":"1327078738","file3":"1327078780"},"map_files_photo_id_array":[{"photo_id":"1327078779","filename":"file2"},{"photo_id":"1327078775","filename":"file1"},{"photo_id":"1327078738","filename":"file0"},{"photo_id":"1327078780","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327078775":["hashtag1","hashtag2"]},{"1327078780":["hashtag1","hashtag2"]},{"1327078738":["hashtag1","hashtag2"]},{"1327078779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327078775, 1327078780, 1327078738, 1327078779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82084012031555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:37:02.425284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:37:21.947677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0003.jpg', '/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0000.jpg', '/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0001.jpg', '/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/36/image_06012025_22_36_02_946995_0003.jpg
/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0000.jpg
/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0001.jpg
/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_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":["1327078837","1327078846","1327078831","1327078890"],"photo_ids_order":["1327078831","1327078837","1327078846","1327078890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/52cad81703c5ced6f8a6a63c25145bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2208447136491869424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199512011,"filename":"image_06012025_22_37_03_111298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e7be7e4f77eea39b1cb3f77a304c991f.jpg","text":"TemporaryFile(/tmp/multipartBody5143153115828548875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199512011,"filename":"image_06012025_22_37_03_111298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/617e045cabcf983d596d8e044671d3dc.jpg","text":"TemporaryFile(/tmp/multipartBody846489322858603479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199512011,"filename":"image_06012025_22_36_02_946995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91e6ff098f4d4da5f8c958266f280a08.jpg","text":"TemporaryFile(/tmp/multipartBody7315602558235262828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199512011,"filename":"image_06012025_22_37_03_111298_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327078846","file1":"1327078837","file0":"1327078831","file3":"1327078890"},"map_files_photo_id_array":[{"photo_id":"1327078846","filename":"file2"},{"photo_id":"1327078837","filename":"file1"},{"photo_id":"1327078831","filename":"file0"},{"photo_id":"1327078890","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327078837":["hashtag1","hashtag2"]},{"1327078846":["hashtag1","hashtag2"]},{"1327078831":["hashtag1","hashtag2"]},{"1327078890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327078837, 1327078846, 1327078831, 1327078890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.057260274887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:38:22.091398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0003.jpg', '/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_0000.jpg', '/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/37/image_06012025_22_37_03_111298_0003.jpg
/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_0000.jpg
/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_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":["1327079530","1327079598","1327079570"],"photo_ids_order":["1327079530","1327079570","1327079598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5dce0c500debe06792583e5676a4980e.jpg","text":"TemporaryFile(/tmp/multipartBody2746214517386165022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199569741,"filename":"image_06012025_22_37_03_111298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8586178d2d3226ec9d20ad55563f573e.jpg","text":"TemporaryFile(/tmp/multipartBody7073743787500955181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199569741,"filename":"image_06012025_22_38_02_326721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/18443d0dd449d84eba0d75b7f4d74f07.jpg","text":"TemporaryFile(/tmp/multipartBody3051751561556915065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199569741,"filename":"image_06012025_22_38_02_326721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327079598","file1":"1327079570","file0":"1327079530"},"map_files_photo_id_array":[{"photo_id":"1327079598","filename":"file2"},{"photo_id":"1327079570","filename":"file1"},{"photo_id":"1327079530","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327079530":["hashtag1","hashtag2"]},{"1327079598":["hashtag1","hashtag2"]},{"1327079570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327079530, 1327079598, 1327079570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.99408507347107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:39:02.922652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:39:22.301257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_0002.jpg', '/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0000.jpg', '/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0001.jpg', '/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/38/image_06012025_22_38_02_326721_0002.jpg
/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0000.jpg
/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0001.jpg
/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327080909","1327080658","1327080645","1327080705"],"photo_ids_order":["1327080645","1327080658","1327080705","1327080909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/00102e4ec33197ac355312ffa82af2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2913339533374687853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199632205,"filename":"image_06012025_22_39_02_428579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c11c87e45e364af45b9d44921d81f196.jpg","text":"TemporaryFile(/tmp/multipartBody1377242842741271074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199632205,"filename":"image_06012025_22_39_02_428579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f446e5d4eb72fe735cb22f025004889e.jpg","text":"TemporaryFile(/tmp/multipartBody826291580485873444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199632205,"filename":"image_06012025_22_38_02_326721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/29b3917aaebb7eecd3cd1254a8a50bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6374872861951169062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199632205,"filename":"image_06012025_22_39_02_428579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327080705","file1":"1327080658","file0":"1327080645","file3":"1327080909"},"map_files_photo_id_array":[{"photo_id":"1327080705","filename":"file2"},{"photo_id":"1327080658","filename":"file1"},{"photo_id":"1327080645","filename":"file0"},{"photo_id":"1327080909","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327080909":["hashtag1","hashtag2"]},{"1327080658":["hashtag1","hashtag2"]},{"1327080645":["hashtag1","hashtag2"]},{"1327080705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327080909, 1327080658, 1327080645, 1327080705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96658134460449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:40:02.918112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:40:22.568965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0003.jpg', '/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0000.jpg', '/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/39/image_06012025_22_39_02_428579_0003.jpg
/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0000.jpg
/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327081250","1327081248","1327081076"],"photo_ids_order":["1327081076","1327081248","1327081250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/da5fc88dd722d2f4fbbc73b11aaa6282.jpg","text":"TemporaryFile(/tmp/multipartBody521250409281750727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199690148,"filename":"image_06012025_22_40_02_677916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/226d54f390cae0736f9ceae44032a44f.jpg","text":"TemporaryFile(/tmp/multipartBody5285299701061824057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199690148,"filename":"image_06012025_22_40_02_677916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/035fc8d459da175f33eb5e21a9ce3939.jpg","text":"TemporaryFile(/tmp/multipartBody4124667328204369194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199690148,"filename":"image_06012025_22_39_02_428579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327081250","file1":"1327081248","file0":"1327081076"},"map_files_photo_id_array":[{"photo_id":"1327081250","filename":"file2"},{"photo_id":"1327081248","filename":"file1"},{"photo_id":"1327081076","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327081250":["hashtag1","hashtag2"]},{"1327081248":["hashtag1","hashtag2"]},{"1327081076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327081250, 1327081248, 1327081076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.044236660003662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:41:03.276487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:41:22.809279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0003.jpg', '/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0000.jpg', '/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0001.jpg', '/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/40/image_06012025_22_40_02_677916_0003.jpg
/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0000.jpg
/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0001.jpg
/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327081634","1327081678","1327081677","1327081676"],"photo_ids_order":["1327081634","1327081676","1327081677","1327081678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1ed1f7cfa9c78dc6683542f72c6d147.jpg","text":"TemporaryFile(/tmp/multipartBody1789660387707419348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199752768,"filename":"image_06012025_22_40_02_677916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eabe3bd426b762a7b62818dbd1b8cea.jpg","text":"TemporaryFile(/tmp/multipartBody6718134951977543590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199752768,"filename":"image_06012025_22_41_02_854796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5773e7a6465eca804d9fa79962a66066.jpg","text":"TemporaryFile(/tmp/multipartBody2108077486818985666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199752768,"filename":"image_06012025_22_41_02_854796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/522e25dffb9a4a9868da3d2f17afeb41.jpg","text":"TemporaryFile(/tmp/multipartBody5286096340405815892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199752768,"filename":"image_06012025_22_41_02_854796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327081677","file1":"1327081676","file0":"1327081634","file3":"1327081678"},"map_files_photo_id_array":[{"photo_id":"1327081677","filename":"file2"},{"photo_id":"1327081676","filename":"file1"},{"photo_id":"1327081634","filename":"file0"},{"photo_id":"1327081678","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327081634":["hashtag1","hashtag2"]},{"1327081678":["hashtag1","hashtag2"]},{"1327081677":["hashtag1","hashtag2"]},{"1327081676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327081634, 1327081678, 1327081677, 1327081676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18277335166931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:42:02.263748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:42:21.973794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0003.jpg', '/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0000.jpg', '/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0001.jpg', '/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/41/image_06012025_22_41_02_854796_0003.jpg
/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0000.jpg
/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0001.jpg
/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327081990","1327082002","1327081956","1327081958"],"photo_ids_order":["1327081956","1327081958","1327081990","1327082002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2d2fb7567d4d8c970ea66d6076bfe7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4126049952055053280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199811933,"filename":"image_06012025_22_42_03_183415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/44ea6010d16b6d9cfac850a615cc77b6.jpg","text":"TemporaryFile(/tmp/multipartBody2398404265649631946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199811933,"filename":"image_06012025_22_42_03_183415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d6c912168fcc7e3b2e9b5d12b87e0953.jpg","text":"TemporaryFile(/tmp/multipartBody5526048372209032156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199811933,"filename":"image_06012025_22_41_02_854796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d14e2e5aaed211792ebbe0885b16431f.jpg","text":"TemporaryFile(/tmp/multipartBody7514424763565221999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199811933,"filename":"image_06012025_22_42_03_183415_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327081990","file1":"1327081958","file0":"1327081956","file3":"1327082002"},"map_files_photo_id_array":[{"photo_id":"1327081990","filename":"file2"},{"photo_id":"1327081958","filename":"file1"},{"photo_id":"1327081956","filename":"file0"},{"photo_id":"1327082002","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327081990":["hashtag1","hashtag2"]},{"1327082002":["hashtag1","hashtag2"]},{"1327081956":["hashtag1","hashtag2"]},{"1327081958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327081990, 1327082002, 1327081956, 1327081958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.69442963600159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:43:02.731075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:43:22.049758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0003.jpg', '/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0000.jpg', '/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0001.jpg', '/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/42/image_06012025_22_42_03_183415_0003.jpg
/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0000.jpg
/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0001.jpg
/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_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":["1327082356","1327082304","1327082354","1327082303"],"photo_ids_order":["1327082303","1327082304","1327082354","1327082356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1d806d3b58150f6574f6912b33032c24.jpg","text":"TemporaryFile(/tmp/multipartBody8096382768892994371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199872089,"filename":"image_06012025_22_43_02_219259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c2fde4bc7e70e66b0106f6e021a499b9.jpg","text":"TemporaryFile(/tmp/multipartBody1160225014827674799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199872089,"filename":"image_06012025_22_43_02_219259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eee64ca9a80d9e1641ed082479900dea.jpg","text":"TemporaryFile(/tmp/multipartBody2932730952160719435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199872089,"filename":"image_06012025_22_43_02_219259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/877d54e85cba4e544df759d590e1deda.jpg","text":"TemporaryFile(/tmp/multipartBody3905969465546285686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199872089,"filename":"image_06012025_22_42_03_183415_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327082354","file1":"1327082304","file0":"1327082303","file3":"1327082356"},"map_files_photo_id_array":[{"photo_id":"1327082354","filename":"file2"},{"photo_id":"1327082304","filename":"file1"},{"photo_id":"1327082303","filename":"file0"},{"photo_id":"1327082356","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327082356":["hashtag1","hashtag2"]},{"1327082304":["hashtag1","hashtag2"]},{"1327082354":["hashtag1","hashtag2"]},{"1327082303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327082356, 1327082304, 1327082354, 1327082303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73589301109314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:44:22.269975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0003.jpg', '/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0000.jpg', '/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0001.jpg', '/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/43/image_06012025_22_43_02_219259_0003.jpg
/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0000.jpg
/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0001.jpg
/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327082778","1327082757","1327082780","1327082777"],"photo_ids_order":["1327082757","1327082777","1327082778","1327082780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b41ab66a8112575df28bd0a0af8b7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1039391362610408778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199932215,"filename":"image_06012025_22_44_02_424153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/df15b309c40f0b83675d3edb4b9650c3.jpg","text":"TemporaryFile(/tmp/multipartBody5918616847527342144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199932215,"filename":"image_06012025_22_43_02_219259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/199c8f3abfc27fc58e57fbd7e7186dff.jpg","text":"TemporaryFile(/tmp/multipartBody2887784201665963672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199932215,"filename":"image_06012025_22_44_02_424153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0eae2e17b43f019e3e891ad6cdcaf6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5088964340627816000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199932215,"filename":"image_06012025_22_44_02_424153_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327082778","file1":"1327082777","file0":"1327082757","file3":"1327082780"},"map_files_photo_id_array":[{"photo_id":"1327082778","filename":"file2"},{"photo_id":"1327082777","filename":"file1"},{"photo_id":"1327082757","filename":"file0"},{"photo_id":"1327082780","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327082778":["hashtag1","hashtag2"]},{"1327082757":["hashtag1","hashtag2"]},{"1327082780":["hashtag1","hashtag2"]},{"1327082777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327082778, 1327082757, 1327082780, 1327082777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.874736070632935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:45:03.045055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:45:22.380566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0003.jpg', '/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0000.jpg', '/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0001.jpg', '/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/44/image_06012025_22_44_02_424153_0003.jpg
/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0000.jpg
/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0001.jpg
/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_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":["1327083053","1327083055","1327083043","1327083037"],"photo_ids_order":["1327083037","1327083043","1327083053","1327083055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c5c78faad55940f5e518802520a1550.jpg","text":"TemporaryFile(/tmp/multipartBody6172134526699484887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199992641,"filename":"image_06012025_22_45_02_593342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/99ada1db197150310917fc9442aa06e5.jpg","text":"TemporaryFile(/tmp/multipartBody4647968944124587757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199992641,"filename":"image_06012025_22_45_02_593342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/455cc408a145d6e3b98705e43ac3a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody1915919634466788057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199992641,"filename":"image_06012025_22_45_02_593342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1fc6353db9362b876bb88c4e8a2a75da.jpg","text":"TemporaryFile(/tmp/multipartBody66164603071095489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736199992641,"filename":"image_06012025_22_44_02_424153_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327083053","file1":"1327083043","file0":"1327083037","file3":"1327083055"},"map_files_photo_id_array":[{"photo_id":"1327083053","filename":"file2"},{"photo_id":"1327083043","filename":"file1"},{"photo_id":"1327083037","filename":"file0"},{"photo_id":"1327083055","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327083053":["hashtag1","hashtag2"]},{"1327083055":["hashtag1","hashtag2"]},{"1327083043":["hashtag1","hashtag2"]},{"1327083037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327083053, 1327083055, 1327083043, 1327083037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.079174757003784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:46:22.546183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0003.jpg', '/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0000.jpg', '/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0001.jpg', '/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/45/image_06012025_22_45_02_593342_0003.jpg
/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0000.jpg
/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0001.jpg
/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327083238","1327083247","1327083251","1327083245"],"photo_ids_order":["1327083238","1327083245","1327083247","1327083251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ead0abd23070079f902eee3ee975cf12.jpg","text":"TemporaryFile(/tmp/multipartBody2464449803527441230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200052755,"filename":"image_06012025_22_45_02_593342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/54493840f46ee603bc51b978f523e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody7415042705667776348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200052755,"filename":"image_06012025_22_46_02_769109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd676e41f93c1cf5301444d314b79e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1586570701911549070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200052755,"filename":"image_06012025_22_46_02_769109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f344af734ac6c13cd96da2c9e3c1b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6456760688332072970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200052755,"filename":"image_06012025_22_46_02_769109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327083247","file1":"1327083245","file0":"1327083238","file3":"1327083251"},"map_files_photo_id_array":[{"photo_id":"1327083247","filename":"file2"},{"photo_id":"1327083245","filename":"file1"},{"photo_id":"1327083238","filename":"file0"},{"photo_id":"1327083251","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327083238":["hashtag1","hashtag2"]},{"1327083247":["hashtag1","hashtag2"]},{"1327083251":["hashtag1","hashtag2"]},{"1327083245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327083238, 1327083247, 1327083251, 1327083245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32851004600525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:47:03.112317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:47:22.715748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0003.jpg', '/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0000.jpg', '/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0001.jpg', '/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/46/image_06012025_22_46_02_769109_0003.jpg
/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0000.jpg
/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0001.jpg
/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_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":["1327083276","1327083279","1327083278","1327083277"],"photo_ids_order":["1327083276","1327083277","1327083278","1327083279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4c6371dd82ac67e0e71a1eec2d390714.jpg","text":"TemporaryFile(/tmp/multipartBody8874284449182602881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200112845,"filename":"image_06012025_22_46_02_769109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de99752dbfb3c402d18ed75753f99dad.jpg","text":"TemporaryFile(/tmp/multipartBody7932036618041695504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200112845,"filename":"image_06012025_22_47_02_988403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0d017553d3024263bd4b3187a2d9f924.jpg","text":"TemporaryFile(/tmp/multipartBody3474725101585503910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200112845,"filename":"image_06012025_22_47_02_988403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c2b54cf136df65338b7fb28ae96bd77.jpg","text":"TemporaryFile(/tmp/multipartBody1783795964130357580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200112845,"filename":"image_06012025_22_47_02_988403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327083278","file1":"1327083277","file0":"1327083276","file3":"1327083279"},"map_files_photo_id_array":[{"photo_id":"1327083278","filename":"file2"},{"photo_id":"1327083277","filename":"file1"},{"photo_id":"1327083276","filename":"file0"},{"photo_id":"1327083279","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327083276":["hashtag1","hashtag2"]},{"1327083279":["hashtag1","hashtag2"]},{"1327083278":["hashtag1","hashtag2"]},{"1327083277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327083276, 1327083279, 1327083278, 1327083277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.112470626831055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:48:22.212690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0003.jpg', '/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0000.jpg', '/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0001.jpg', '/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/47/image_06012025_22_47_02_988403_0003.jpg
/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0000.jpg
/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0001.jpg
/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_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":["1327083426","1327083429","1327083425","1327083428"],"photo_ids_order":["1327083425","1327083426","1327083428","1327083429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e996e4398ee9b431d4e7178dc4be32d6.jpg","text":"TemporaryFile(/tmp/multipartBody8700909412099012940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200172406,"filename":"image_06012025_22_48_03_040736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f35396945dee8c257ca8bc5bcd8a9b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3645591117710753992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200172406,"filename":"image_06012025_22_48_03_040736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/610a4dd7944f6939a5cb53ca34962cea.jpg","text":"TemporaryFile(/tmp/multipartBody6235135328209617327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200172406,"filename":"image_06012025_22_47_02_988403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca9250d19c6e3d082b0a72adfe1a4b9a.jpg","text":"TemporaryFile(/tmp/multipartBody9203694364501909074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200172406,"filename":"image_06012025_22_48_03_040736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327083428","file1":"1327083426","file0":"1327083425","file3":"1327083429"},"map_files_photo_id_array":[{"photo_id":"1327083428","filename":"file2"},{"photo_id":"1327083426","filename":"file1"},{"photo_id":"1327083425","filename":"file0"},{"photo_id":"1327083429","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327083426":["hashtag1","hashtag2"]},{"1327083429":["hashtag1","hashtag2"]},{"1327083425":["hashtag1","hashtag2"]},{"1327083428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327083426, 1327083429, 1327083425, 1327083428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73781752586365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:49:22.081066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0003.jpg', '/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0000.jpg', '/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0001.jpg', '/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/48/image_06012025_22_48_03_040736_0003.jpg
/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0000.jpg
/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0001.jpg
/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_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":["1327083882","1327084400","1327084141","1327083877"],"photo_ids_order":["1327083877","1327083882","1327084141","1327084400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/872d71451df3cee9c075e2e4c2a3be5a.jpg","text":"TemporaryFile(/tmp/multipartBody4774843237520891716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200232243,"filename":"image_06012025_22_49_02_332720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/819dc09b60ec94b7172b350a3f653b60.jpg","text":"TemporaryFile(/tmp/multipartBody5161944567828868357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200232243,"filename":"image_06012025_22_49_02_332720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0097ec6c58d8233b9e40697df95a1e2e.jpg","text":"TemporaryFile(/tmp/multipartBody1459030898071418723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200232243,"filename":"image_06012025_22_49_02_332720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/75cdeff1da223208ba38892d62132462.jpg","text":"TemporaryFile(/tmp/multipartBody1087505135664420512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200232243,"filename":"image_06012025_22_48_03_040736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327084141","file1":"1327083882","file0":"1327083877","file3":"1327084400"},"map_files_photo_id_array":[{"photo_id":"1327084141","filename":"file2"},{"photo_id":"1327083882","filename":"file1"},{"photo_id":"1327083877","filename":"file0"},{"photo_id":"1327084400","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327083882":["hashtag1","hashtag2"]},{"1327084400":["hashtag1","hashtag2"]},{"1327084141":["hashtag1","hashtag2"]},{"1327083877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327083882, 1327084400, 1327084141, 1327083877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10912036895752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:50:22.242057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0003.jpg', '/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0000.jpg', '/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0001.jpg', '/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/49/image_06012025_22_49_02_332720_0003.jpg
/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0000.jpg
/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0001.jpg
/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_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":["1327084883","1327084871","1327084925","1327084885"],"photo_ids_order":["1327084871","1327084883","1327084885","1327084925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/89200fbc5815ece9a51e437c311d65d1.jpg","text":"TemporaryFile(/tmp/multipartBody4355921605333932726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200292548,"filename":"image_06012025_22_50_02_390861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f531175e0cb6ef6b6aad3fe564cb880e.jpg","text":"TemporaryFile(/tmp/multipartBody3444237918383632477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200292548,"filename":"image_06012025_22_49_02_332720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b0ec6accfc1e1384d85f219ed3485b4.jpg","text":"TemporaryFile(/tmp/multipartBody7946088713213848974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200292548,"filename":"image_06012025_22_50_02_390861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95989aa4116aa7ac68053b6d2e57b612.jpg","text":"TemporaryFile(/tmp/multipartBody155009158229580572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200292548,"filename":"image_06012025_22_50_02_390861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327084885","file1":"1327084883","file0":"1327084871","file3":"1327084925"},"map_files_photo_id_array":[{"photo_id":"1327084885","filename":"file2"},{"photo_id":"1327084883","filename":"file1"},{"photo_id":"1327084871","filename":"file0"},{"photo_id":"1327084925","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327084883":["hashtag1","hashtag2"]},{"1327084871":["hashtag1","hashtag2"]},{"1327084925":["hashtag1","hashtag2"]},{"1327084885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327084883, 1327084871, 1327084925, 1327084885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.49367594718933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:51:22.401185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0003.jpg', '/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0000.jpg', '/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0001.jpg', '/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/50/image_06012025_22_50_02_390861_0003.jpg
/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0000.jpg
/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0001.jpg
/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327085267","1327085095","1327085268","1327085097"],"photo_ids_order":["1327085095","1327085097","1327085267","1327085268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/400d9645ae0733afbee08939c5865302.jpg","text":"TemporaryFile(/tmp/multipartBody2458745252467155294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200352764,"filename":"image_06012025_22_51_02_571740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ae75a6349262ed714c1ab2daba47cd49.jpg","text":"TemporaryFile(/tmp/multipartBody5378097873073342512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200352764,"filename":"image_06012025_22_50_02_390861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f1a536302badd1645bba8e3f6050c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5749475277015132726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200352764,"filename":"image_06012025_22_51_02_571740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72025542e4b9910ed1938d15286b6879.jpg","text":"TemporaryFile(/tmp/multipartBody8263454438036771879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200352764,"filename":"image_06012025_22_51_02_571740_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327085267","file1":"1327085097","file0":"1327085095","file3":"1327085268"},"map_files_photo_id_array":[{"photo_id":"1327085267","filename":"file2"},{"photo_id":"1327085097","filename":"file1"},{"photo_id":"1327085095","filename":"file0"},{"photo_id":"1327085268","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327085267":["hashtag1","hashtag2"]},{"1327085095":["hashtag1","hashtag2"]},{"1327085268":["hashtag1","hashtag2"]},{"1327085097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327085267, 1327085095, 1327085268, 1327085097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.952274322509766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:52:03.107750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:52:22.630024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0003.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0000.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0001.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0003.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0000.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0001.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_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.99081802368164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 22:52:42.599333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0003.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0000.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0001.jpg', '/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/51/image_06012025_22_51_02_571740_0003.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0000.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0001.jpg
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327085619","1327085843","1327085656","1327085739"],"photo_ids_order":["1327085619","1327085656","1327085739","1327085843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a88d8e8c1e98610cb346ddbfac08519.jpg","text":"TemporaryFile(/tmp/multipartBody2001692320003656813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200432994,"filename":"image_06012025_22_51_02_571740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c78352e4c7f13b22bd6dafe6dec9383d.jpg","text":"TemporaryFile(/tmp/multipartBody4201287803586924877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200432994,"filename":"image_06012025_22_52_02_785596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e72a83af14494427ed9e0c5b882c6045.jpg","text":"TemporaryFile(/tmp/multipartBody2568969036013747157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200432994,"filename":"image_06012025_22_52_02_785596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/983bcc4619496962eac09aeab4d2b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody771071993444121810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200432994,"filename":"image_06012025_22_52_02_785596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327085739","file1":"1327085656","file0":"1327085619","file3":"1327085843"},"map_files_photo_id_array":[{"photo_id":"1327085739","filename":"file2"},{"photo_id":"1327085656","filename":"file1"},{"photo_id":"1327085619","filename":"file0"},{"photo_id":"1327085843","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327085619":["hashtag1","hashtag2"]},{"1327085843":["hashtag1","hashtag2"]},{"1327085656":["hashtag1","hashtag2"]},{"1327085739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327085619, 1327085843, 1327085656, 1327085739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79151177406311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 22:53:31.750106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0003.jpg', '/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0000.jpg', '/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0001.jpg', '/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/52/image_06012025_22_52_02_785596_0003.jpg
/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0000.jpg
/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0001.jpg
/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327086284","1327086064","1327086345","1327086063"],"photo_ids_order":["1327086063","1327086064","1327086284","1327086345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a9c3cb17d3c60fde2cf429787e1a5d98.jpg","text":"TemporaryFile(/tmp/multipartBody8364716549783515798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200482099,"filename":"image_06012025_22_53_02_925422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1c1f41874c3ac294ca9683eec30fb5cc.jpg","text":"TemporaryFile(/tmp/multipartBody8589557362547509445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200482099,"filename":"image_06012025_22_53_02_925422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e197354b44904a57d45c69ce3baef8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3216360891990403894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200482099,"filename":"image_06012025_22_53_02_925422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/251fc281f50322682f17668fb58ffdec.jpg","text":"TemporaryFile(/tmp/multipartBody3550692066456748814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200482099,"filename":"image_06012025_22_52_02_785596_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327086284","file1":"1327086064","file0":"1327086063","file3":"1327086345"},"map_files_photo_id_array":[{"photo_id":"1327086284","filename":"file2"},{"photo_id":"1327086064","filename":"file1"},{"photo_id":"1327086063","filename":"file0"},{"photo_id":"1327086345","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327086284":["hashtag1","hashtag2"]},{"1327086064":["hashtag1","hashtag2"]},{"1327086345":["hashtag1","hashtag2"]},{"1327086063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327086284, 1327086064, 1327086345, 1327086063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08630585670471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:54:22.005672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0003.jpg', '/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0000.jpg', '/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0001.jpg', '/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/53/image_06012025_22_53_02_925422_0003.jpg
/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0000.jpg
/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0001.jpg
/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_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":["1327086772","1327086719","1327086555","1327086720"],"photo_ids_order":["1327086555","1327086719","1327086720","1327086772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6a20729ec7434dc67b40808d14b97fd0.jpg","text":"TemporaryFile(/tmp/multipartBody46179115309891814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200532262,"filename":"image_06012025_22_54_02_129529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cb7bfd404138568e17f2b0891dea96cc.jpg","text":"TemporaryFile(/tmp/multipartBody7059895087685833589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200532262,"filename":"image_06012025_22_54_02_129529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7312fb52da72476538a0e60f01cff5e.jpg","text":"TemporaryFile(/tmp/multipartBody3747985970670601040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200532262,"filename":"image_06012025_22_53_02_925422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff014ab25f6e437c132077be1c7f5d70.jpg","text":"TemporaryFile(/tmp/multipartBody4217719000820077903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200532262,"filename":"image_06012025_22_54_02_129529_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327086720","file1":"1327086719","file0":"1327086555","file3":"1327086772"},"map_files_photo_id_array":[{"photo_id":"1327086720","filename":"file2"},{"photo_id":"1327086719","filename":"file1"},{"photo_id":"1327086555","filename":"file0"},{"photo_id":"1327086772","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327086772":["hashtag1","hashtag2"]},{"1327086719":["hashtag1","hashtag2"]},{"1327086555":["hashtag1","hashtag2"]},{"1327086720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327086772, 1327086719, 1327086555, 1327086720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.102293252944946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:55:22.136281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0003.jpg', '/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0000.jpg', '/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0001.jpg', '/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/54/image_06012025_22_54_02_129529_0003.jpg
/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0000.jpg
/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0001.jpg
/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_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":["1327087442","1327087616","1327088053","1327087440"],"photo_ids_order":["1327087440","1327087442","1327087616","1327088053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/053e8bfbd47ceb868f0394446212cb0d.jpg","text":"TemporaryFile(/tmp/multipartBody6070074162291848821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200592254,"filename":"image_06012025_22_55_02_344491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4718d4a086e843a650d516150fae7980.jpg","text":"TemporaryFile(/tmp/multipartBody7467351429088187296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200592254,"filename":"image_06012025_22_55_02_344491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93b7cd0fad86c1b25e9ad108059339ae.jpg","text":"TemporaryFile(/tmp/multipartBody463597912842081511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200592254,"filename":"image_06012025_22_55_02_344491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d507fe83e8be644d31fc2ca2809117cf.jpg","text":"TemporaryFile(/tmp/multipartBody5511982132700313007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200592254,"filename":"image_06012025_22_54_02_129529_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327087616","file1":"1327087442","file0":"1327087440","file3":"1327088053"},"map_files_photo_id_array":[{"photo_id":"1327087616","filename":"file2"},{"photo_id":"1327087442","filename":"file1"},{"photo_id":"1327087440","filename":"file0"},{"photo_id":"1327088053","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327087442":["hashtag1","hashtag2"]},{"1327087616":["hashtag1","hashtag2"]},{"1327088053":["hashtag1","hashtag2"]},{"1327087440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327087442, 1327087616, 1327088053, 1327087440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34798216819763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:56:22.333074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0003.jpg', '/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0000.jpg', '/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0001.jpg', '/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/55/image_06012025_22_55_02_344491_0003.jpg
/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0000.jpg
/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0001.jpg
/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327088926","1327089045","1327088670","1327088669"],"photo_ids_order":["1327088669","1327088670","1327088926","1327089045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ca13f5f27807db533911a95fd6734517.jpg","text":"TemporaryFile(/tmp/multipartBody4132492718015618838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200652682,"filename":"image_06012025_22_56_02_494827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/258fbaec836b693b172d90d5a47ddfd4.jpg","text":"TemporaryFile(/tmp/multipartBody9101941393950487311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200652682,"filename":"image_06012025_22_56_02_494827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4fdd84023b0d3fd161547413dec197c2.jpg","text":"TemporaryFile(/tmp/multipartBody7996910417465001304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200652682,"filename":"image_06012025_22_56_02_494827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/30c407f71e4768926210728acaa01a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4571284560892635566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200652682,"filename":"image_06012025_22_55_02_344491_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327088926","file1":"1327088670","file0":"1327088669","file3":"1327089045"},"map_files_photo_id_array":[{"photo_id":"1327088926","filename":"file2"},{"photo_id":"1327088670","filename":"file1"},{"photo_id":"1327088669","filename":"file0"},{"photo_id":"1327089045","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327088926":["hashtag1","hashtag2"]},{"1327089045":["hashtag1","hashtag2"]},{"1327088670":["hashtag1","hashtag2"]},{"1327088669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327088926, 1327089045, 1327088670, 1327088669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51025056838989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 22:57:03.133667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 22:57:22.499045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0003.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0000.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0001.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0003.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0000.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0001.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_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-06 22:59:02.595796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0003.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0000.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0001.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0002.jpg', '/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0003.jpg', '/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/56/image_06012025_22_56_02_494827_0003.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0000.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0001.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0002.jpg
/home/pi/Desktop/images/06012025/22/57/image_06012025_22_57_02_667726_0003.jpg
/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_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":["1327090189","1327090204","1327090200","1327090203","1327090202","1327090195"],"photo_ids_order":["1327090189","1327090195","1327090200","1327090202","1327090203","1327090204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ec5c8e8548c20d1f8eccb50b5882d72c.jpg","text":"TemporaryFile(/tmp/multipartBody805394132361216925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_56_02_494827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b8d8632791e6b1fa01390d8d9344075.jpg","text":"TemporaryFile(/tmp/multipartBody7494028193461138548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_58_02_842891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/93d29c00c89b3acf404c3d06a0f180c6.jpg","text":"TemporaryFile(/tmp/multipartBody4122829406393992496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_57_02_667726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d8d33fc8f8ca0eafa6e98074e27de3f.jpg","text":"TemporaryFile(/tmp/multipartBody6859464654123518985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_57_02_667726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf962aff2780b58f462392f5843051f2.jpg","text":"TemporaryFile(/tmp/multipartBody6364006098383347679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_57_02_667726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3b39669c89638020e5eac8dc12b4d2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7632268032660326819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200817735,"filename":"image_06012025_22_57_02_667726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327090200","file1":"1327090195","file0":"1327090189","file4":"1327090203","file5":"1327090204","file3":"1327090202"},"map_files_photo_id_array":[{"photo_id":"1327090204","filename":"file5"},{"photo_id":"1327090200","filename":"file2"},{"photo_id":"1327090203","filename":"file4"},{"photo_id":"1327090195","filename":"file1"},{"photo_id":"1327090189","filename":"file0"},{"photo_id":"1327090202","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327090189":["hashtag1","hashtag2"]},{"1327090204":["hashtag1","hashtag2"]},{"1327090200":["hashtag1","hashtag2"]},{"1327090203":["hashtag1","hashtag2"]},{"1327090202":["hashtag1","hashtag2"]},{"1327090195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327090189, 1327090204, 1327090200, 1327090203, 1327090202, 1327090195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96846318244934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:00:02.570002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0001.jpg', '/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0002.jpg', '/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0003.jpg', '/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0000.jpg', '/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0001.jpg', '/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0001.jpg
/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0002.jpg
/home/pi/Desktop/images/06012025/22/58/image_06012025_22_58_02_842891_0003.jpg
/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0000.jpg
/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0001.jpg
/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_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":["1327090228","1327090221","1327090445","1327090229","1327090217","1327090226"],"photo_ids_order":["1327090217","1327090221","1327090226","1327090228","1327090229","1327090445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/05820dbd2cb8ee08d4d44a1fa7190e26.jpg","text":"TemporaryFile(/tmp/multipartBody5392594004424300734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_59_03_037921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6e67c4ab4b2d7a1e15025951320ad340.jpg","text":"TemporaryFile(/tmp/multipartBody6512136682954935195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_58_02_842891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4eab594d74d1924307ac3b414bda7c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2495532619991054522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_59_03_037921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dd9f6bcd23f05b882cd5099916bf86ee.jpg","text":"TemporaryFile(/tmp/multipartBody65382980859585397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_59_03_037921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7a32fbbe8e94f6c3c24b0ac175c6316c.jpg","text":"TemporaryFile(/tmp/multipartBody2769319120994522051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_58_02_842891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f1924ad4b148b7a6c1abe1d5ee3b3808.jpg","text":"TemporaryFile(/tmp/multipartBody7987579320084955332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200877678,"filename":"image_06012025_22_58_02_842891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327090226","file1":"1327090221","file0":"1327090217","file4":"1327090229","file5":"1327090445","file3":"1327090228"},"map_files_photo_id_array":[{"photo_id":"1327090445","filename":"file5"},{"photo_id":"1327090226","filename":"file2"},{"photo_id":"1327090229","filename":"file4"},{"photo_id":"1327090221","filename":"file1"},{"photo_id":"1327090217","filename":"file0"},{"photo_id":"1327090228","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327090228":["hashtag1","hashtag2"]},{"1327090221":["hashtag1","hashtag2"]},{"1327090445":["hashtag1","hashtag2"]},{"1327090229":["hashtag1","hashtag2"]},{"1327090217":["hashtag1","hashtag2"]},{"1327090226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327090228, 1327090221, 1327090445, 1327090229, 1327090217, 1327090226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02687478065491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:01:02.848958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0003.jpg', '/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0000.jpg', '/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0001.jpg', '/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/22/59/image_06012025_22_59_03_037921_0003.jpg
/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0000.jpg
/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0001.jpg
/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_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":["1327091864","1327091861","1327091866","1327091812"],"photo_ids_order":["1327091812","1327091861","1327091864","1327091866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/11e16426462ea975ddbba0fe0bc8de77.jpg","text":"TemporaryFile(/tmp/multipartBody5118137334055824737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200933228,"filename":"image_06012025_23_00_02_214299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cd249d24883532b2747a3b83da3d3436.jpg","text":"TemporaryFile(/tmp/multipartBody7166711383869574703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200933228,"filename":"image_06012025_23_00_02_214299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3328d8c600ba123103b947ec452a31b2.jpg","text":"TemporaryFile(/tmp/multipartBody6891371452436140230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200933228,"filename":"image_06012025_23_00_02_214299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0b1ba810b7f1002547002eb3c150341b.jpg","text":"TemporaryFile(/tmp/multipartBody4605768092906281167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200933228,"filename":"image_06012025_22_59_03_037921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327091864","file1":"1327091861","file0":"1327091812","file3":"1327091866"},"map_files_photo_id_array":[{"photo_id":"1327091864","filename":"file2"},{"photo_id":"1327091861","filename":"file1"},{"photo_id":"1327091812","filename":"file0"},{"photo_id":"1327091866","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327091864":["hashtag1","hashtag2"]},{"1327091861":["hashtag1","hashtag2"]},{"1327091866":["hashtag1","hashtag2"]},{"1327091812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327091864, 1327091861, 1327091866, 1327091812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32420372962952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:01:42.326918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0003.jpg', '/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0000.jpg', '/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0001.jpg', '/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/00/image_06012025_23_00_02_214299_0003.jpg
/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0000.jpg
/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0001.jpg
/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327092311","1327092337","1327092375","1327092282"],"photo_ids_order":["1327092282","1327092311","1327092337","1327092375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6c82ec38899c013545255f9ead91ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody2564851718064302053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200972651,"filename":"image_06012025_23_01_02_403238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b743a5f6df841b84d7fb200278d4a1fe.jpg","text":"TemporaryFile(/tmp/multipartBody2598154537974650033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200972651,"filename":"image_06012025_23_01_02_403238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98fda376e8a3be0d016567387d667b3b.jpg","text":"TemporaryFile(/tmp/multipartBody983766979139701516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200972651,"filename":"image_06012025_23_01_02_403238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b53dc1bba2b9831109b6bfbac88aa41d.jpg","text":"TemporaryFile(/tmp/multipartBody4415985622188376505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736200972651,"filename":"image_06012025_23_00_02_214299_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327092337","file1":"1327092311","file0":"1327092282","file3":"1327092375"},"map_files_photo_id_array":[{"photo_id":"1327092337","filename":"file2"},{"photo_id":"1327092311","filename":"file1"},{"photo_id":"1327092282","filename":"file0"},{"photo_id":"1327092375","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327092311":["hashtag1","hashtag2"]},{"1327092337":["hashtag1","hashtag2"]},{"1327092375":["hashtag1","hashtag2"]},{"1327092282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327092311, 1327092337, 1327092375, 1327092282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2747597694397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:02:32.510558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0003.jpg', '/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0000.jpg', '/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0001.jpg', '/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/01/image_06012025_23_01_02_403238_0003.jpg
/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0000.jpg
/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0001.jpg
/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327092762","1327092804","1327092803","1327092733"],"photo_ids_order":["1327092733","1327092762","1327092803","1327092804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a96b2d2ab49a486f9519f406b1c3e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody8378863345648792827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201022702,"filename":"image_06012025_23_02_02_618494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91013abc562fce39a354a138fa0e7da1.jpg","text":"TemporaryFile(/tmp/multipartBody2678352717513058473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201022702,"filename":"image_06012025_23_02_02_618494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/95cba28b72749dc74db6774fa80f2eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7501330420972882851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201022702,"filename":"image_06012025_23_02_02_618494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/63c6e30fe4bef71b150f089014669a04.jpg","text":"TemporaryFile(/tmp/multipartBody3064375244274408679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201022702,"filename":"image_06012025_23_01_02_403238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327092803","file1":"1327092762","file0":"1327092733","file3":"1327092804"},"map_files_photo_id_array":[{"photo_id":"1327092803","filename":"file2"},{"photo_id":"1327092762","filename":"file1"},{"photo_id":"1327092733","filename":"file0"},{"photo_id":"1327092804","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327092762":["hashtag1","hashtag2"]},{"1327092804":["hashtag1","hashtag2"]},{"1327092803":["hashtag1","hashtag2"]},{"1327092733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327092762, 1327092804, 1327092803, 1327092733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21580219268799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:03:22.700898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0003.jpg', '/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0001.jpg', '/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/02/image_06012025_23_02_02_618494_0003.jpg
/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0001.jpg
/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327092900","1327092898","1327092902"],"photo_ids_order":["1327092898","1327092900","1327092902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d446d0a975dde3f89c38253f59edd5f.jpg","text":"TemporaryFile(/tmp/multipartBody6244706981856232362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201070594,"filename":"image_06012025_23_03_02_871283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d25df85f651be04ee719bb7faf1a6e51.jpg","text":"TemporaryFile(/tmp/multipartBody312777352487480766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201070594,"filename":"image_06012025_23_02_02_618494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/32d3e7787b58a41be1059b55f3f49b77.jpg","text":"TemporaryFile(/tmp/multipartBody4761465611832237893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201070594,"filename":"image_06012025_23_03_02_871283_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327092902","file1":"1327092900","file0":"1327092898"},"map_files_photo_id_array":[{"photo_id":"1327092902","filename":"file2"},{"photo_id":"1327092900","filename":"file1"},{"photo_id":"1327092898","filename":"file0"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327092900":["hashtag1","hashtag2"]},{"1327092898":["hashtag1","hashtag2"]},{"1327092902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327092900, 1327092898, 1327092902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.21532607078552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:04:02.232165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:04:21.910640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0003.jpg', '/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0000.jpg', '/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0001.jpg', '/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/03/image_06012025_23_03_02_871283_0003.jpg
/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0000.jpg
/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0001.jpg
/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327093524","1327093793","1327093704","1327093242"],"photo_ids_order":["1327093242","1327093524","1327093704","1327093793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1e75404978d7bd4981ad3a7f3482f06.jpg","text":"TemporaryFile(/tmp/multipartBody6390317348345543980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201132330,"filename":"image_06012025_23_04_03_063444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/549fd037338251347de1c74b76d127dd.jpg","text":"TemporaryFile(/tmp/multipartBody498965595880341900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201132330,"filename":"image_06012025_23_04_03_063444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/472e5fbe953532ad78d0f6a7f53a2742.jpg","text":"TemporaryFile(/tmp/multipartBody292243792608711221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201132330,"filename":"image_06012025_23_04_03_063444_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce045763be7be3ffa3153d7beb6ef913.jpg","text":"TemporaryFile(/tmp/multipartBody4310093204601475490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201132330,"filename":"image_06012025_23_03_02_871283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327093704","file1":"1327093524","file0":"1327093242","file3":"1327093793"},"map_files_photo_id_array":[{"photo_id":"1327093704","filename":"file2"},{"photo_id":"1327093524","filename":"file1"},{"photo_id":"1327093242","filename":"file0"},{"photo_id":"1327093793","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327093524":["hashtag1","hashtag2"]},{"1327093793":["hashtag1","hashtag2"]},{"1327093704":["hashtag1","hashtag2"]},{"1327093242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327093524, 1327093793, 1327093704, 1327093242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.541505098342896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:05:02.764240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:05:22.077671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0003.jpg', '/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0000.jpg', '/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0001.jpg', '/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/04/image_06012025_23_04_03_063444_0003.jpg
/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0000.jpg
/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0001.jpg
/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_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":["1327094306","1327094346","1327094301","1327094304"],"photo_ids_order":["1327094301","1327094304","1327094306","1327094346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a22447858a242ff20c886939f04b227.jpg","text":"TemporaryFile(/tmp/multipartBody6727939697537187932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201192375,"filename":"image_06012025_23_05_02_211301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2e28e15eb7e6fc7a581022c767961800.jpg","text":"TemporaryFile(/tmp/multipartBody113150945885373791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201192375,"filename":"image_06012025_23_05_02_211301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0627196642e004d0e8005030c0cede65.jpg","text":"TemporaryFile(/tmp/multipartBody8166143067034770780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201192375,"filename":"image_06012025_23_04_03_063444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3dd6a1f2f8c0262eb632502ee5dbd644.jpg","text":"TemporaryFile(/tmp/multipartBody2380271363278969393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201192375,"filename":"image_06012025_23_05_02_211301_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327094306","file1":"1327094304","file0":"1327094301","file3":"1327094346"},"map_files_photo_id_array":[{"photo_id":"1327094306","filename":"file2"},{"photo_id":"1327094304","filename":"file1"},{"photo_id":"1327094301","filename":"file0"},{"photo_id":"1327094346","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327094306":["hashtag1","hashtag2"]},{"1327094346":["hashtag1","hashtag2"]},{"1327094301":["hashtag1","hashtag2"]},{"1327094304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327094306, 1327094346, 1327094301, 1327094304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30999493598938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:06:22.254369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0003.jpg', '/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0000.jpg', '/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0001.jpg', '/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/05/image_06012025_23_05_02_211301_0003.jpg
/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0000.jpg
/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0001.jpg
/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327094650","1327094653","1327094701","1327094688"],"photo_ids_order":["1327094650","1327094653","1327094688","1327094701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5b6521f140eacccfe207492dddd2d523.jpg","text":"TemporaryFile(/tmp/multipartBody6337556513189491861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201252588,"filename":"image_06012025_23_05_02_211301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b813519871882af07fe807723701ad6.jpg","text":"TemporaryFile(/tmp/multipartBody2552539120784442382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201252588,"filename":"image_06012025_23_06_02_437741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1383a8d423892e8f47d15121ecaf7eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2089670664126031837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201252588,"filename":"image_06012025_23_06_02_437741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7fb0ffa2fd8d00145b42594340e3328c.jpg","text":"TemporaryFile(/tmp/multipartBody1667756645470937958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201252588,"filename":"image_06012025_23_06_02_437741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327094688","file1":"1327094653","file0":"1327094650","file3":"1327094701"},"map_files_photo_id_array":[{"photo_id":"1327094688","filename":"file2"},{"photo_id":"1327094653","filename":"file1"},{"photo_id":"1327094650","filename":"file0"},{"photo_id":"1327094701","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327094650":["hashtag1","hashtag2"]},{"1327094653":["hashtag1","hashtag2"]},{"1327094701":["hashtag1","hashtag2"]},{"1327094688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327094650, 1327094653, 1327094701, 1327094688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41524696350098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:07:03.218478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:07:22.576300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0003.jpg', '/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0000.jpg', '/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0001.jpg', '/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/06/image_06012025_23_06_02_437741_0003.jpg
/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0000.jpg
/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0001.jpg
/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327094711","1327094713","1327094712","1327094709"],"photo_ids_order":["1327094709","1327094711","1327094712","1327094713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ad27d7b1a14592d7a2bc119a75a07b94.jpg","text":"TemporaryFile(/tmp/multipartBody2871867190972725599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201312920,"filename":"image_06012025_23_07_02_655512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c2718f89fd47ac7cc54117d657bb81e.jpg","text":"TemporaryFile(/tmp/multipartBody4661205223855630472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201312920,"filename":"image_06012025_23_07_02_655512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/efde005c266cacbdf716ca5dc58bb3c4.jpg","text":"TemporaryFile(/tmp/multipartBody6776792807668516668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201312920,"filename":"image_06012025_23_07_02_655512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a8903872d01a29a6395e261621703c14.jpg","text":"TemporaryFile(/tmp/multipartBody6252126664908622957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201312920,"filename":"image_06012025_23_06_02_437741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327094712","file1":"1327094711","file0":"1327094709","file3":"1327094713"},"map_files_photo_id_array":[{"photo_id":"1327094712","filename":"file2"},{"photo_id":"1327094711","filename":"file1"},{"photo_id":"1327094709","filename":"file0"},{"photo_id":"1327094713","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327094711":["hashtag1","hashtag2"]},{"1327094713":["hashtag1","hashtag2"]},{"1327094712":["hashtag1","hashtag2"]},{"1327094709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327094711, 1327094713, 1327094712, 1327094709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.879913568496704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:08:02.943608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:08:22.601039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0003.jpg', '/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0000.jpg', '/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0001.jpg', '/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/07/image_06012025_23_07_02_655512_0003.jpg
/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0000.jpg
/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0001.jpg
/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327094804","1327094760","1327094798","1327094765"],"photo_ids_order":["1327094760","1327094765","1327094798","1327094804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb3fc99f4ee2387d9305608d1c1d4cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3933257803527015184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201372705,"filename":"image_06012025_23_08_02_890977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e4d255f6ef4d77c894f13c5fb2379f9.jpg","text":"TemporaryFile(/tmp/multipartBody182539461304750374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201372705,"filename":"image_06012025_23_07_02_655512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/98ded82e7cd961f5379c931fce184a27.jpg","text":"TemporaryFile(/tmp/multipartBody673198841812595657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201372705,"filename":"image_06012025_23_08_02_890977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8660fd3b7973272aaaac0e78d01a4555.jpg","text":"TemporaryFile(/tmp/multipartBody7570718708137478189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201372705,"filename":"image_06012025_23_08_02_890977_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327094798","file1":"1327094765","file0":"1327094760","file3":"1327094804"},"map_files_photo_id_array":[{"photo_id":"1327094798","filename":"file2"},{"photo_id":"1327094765","filename":"file1"},{"photo_id":"1327094760","filename":"file0"},{"photo_id":"1327094804","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327094804":["hashtag1","hashtag2"]},{"1327094760":["hashtag1","hashtag2"]},{"1327094798":["hashtag1","hashtag2"]},{"1327094765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327094804, 1327094760, 1327094798, 1327094765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90380811691284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:09:02.342859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:09:21.866744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0003.jpg', '/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0000.jpg', '/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0001.jpg', '/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/08/image_06012025_23_08_02_890977_0003.jpg
/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0000.jpg
/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0001.jpg
/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327094971","1327095010","1327095007","1327094917"],"photo_ids_order":["1327094917","1327094971","1327095007","1327095010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6018e6c53dacfc2ed8c297a3fd540082.jpg","text":"TemporaryFile(/tmp/multipartBody3431058470626502867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201431965,"filename":"image_06012025_23_09_03_032145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cc529e4f00ddfb5b68212ebc42db9a20.jpg","text":"TemporaryFile(/tmp/multipartBody4237019264407928903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201431965,"filename":"image_06012025_23_09_03_032145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19ada95516bf065006d1cb095f641da7.jpg","text":"TemporaryFile(/tmp/multipartBody6526041254900509812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201431965,"filename":"image_06012025_23_09_03_032145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b5e78bfdc2f489b2016254c973e1fd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6862381149395189614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201431965,"filename":"image_06012025_23_08_02_890977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327095007","file1":"1327094971","file0":"1327094917","file3":"1327095010"},"map_files_photo_id_array":[{"photo_id":"1327095007","filename":"file2"},{"photo_id":"1327094971","filename":"file1"},{"photo_id":"1327094917","filename":"file0"},{"photo_id":"1327095010","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327094971":["hashtag1","hashtag2"]},{"1327095010":["hashtag1","hashtag2"]},{"1327095007":["hashtag1","hashtag2"]},{"1327094917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327094971, 1327095010, 1327095007, 1327094917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.655553102493286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:10:02.464560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:10:21.943544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0003.jpg', '/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0000.jpg', '/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0001.jpg', '/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/09/image_06012025_23_09_03_032145_0003.jpg
/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0000.jpg
/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0001.jpg
/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327095407","1327095273","1327095156","1327095039"],"photo_ids_order":["1327095039","1327095156","1327095273","1327095407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/473ea891c9bac8f855000e92c54c5e29.jpg","text":"TemporaryFile(/tmp/multipartBody5044598735866360270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201492299,"filename":"image_06012025_23_10_02_121827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f404331ca920f01fa77269441d0b8a78.jpg","text":"TemporaryFile(/tmp/multipartBody4572739563359745083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201492299,"filename":"image_06012025_23_10_02_121827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a146bf7ffe9fd4e5071a59cae6cb4875.jpg","text":"TemporaryFile(/tmp/multipartBody9108046730620103246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201492299,"filename":"image_06012025_23_10_02_121827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc78265e171dd41a8a603b4e940e0546.jpg","text":"TemporaryFile(/tmp/multipartBody8907394159575912144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201492299,"filename":"image_06012025_23_09_03_032145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327095273","file1":"1327095156","file0":"1327095039","file3":"1327095407"},"map_files_photo_id_array":[{"photo_id":"1327095273","filename":"file2"},{"photo_id":"1327095156","filename":"file1"},{"photo_id":"1327095039","filename":"file0"},{"photo_id":"1327095407","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327095407":["hashtag1","hashtag2"]},{"1327095273":["hashtag1","hashtag2"]},{"1327095156":["hashtag1","hashtag2"]},{"1327095039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327095407, 1327095273, 1327095156, 1327095039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02730178833008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:11:02.723763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:11:22.124474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0003.jpg', '/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0000.jpg', '/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0001.jpg', '/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/10/image_06012025_23_10_02_121827_0003.jpg
/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0000.jpg
/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0001.jpg
/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_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":["1327096000","1327095999","1327095998","1327095994"],"photo_ids_order":["1327095994","1327095998","1327095999","1327096000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f95619ad76b4442dd239b450c4a0abe5.jpg","text":"TemporaryFile(/tmp/multipartBody1227493097817117202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201552335,"filename":"image_06012025_23_11_02_337035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b27468eee7f76014cd4c9f3335c7f165.jpg","text":"TemporaryFile(/tmp/multipartBody4886122644244434701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201552335,"filename":"image_06012025_23_11_02_337035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/537ab80cdb09e5f8ccfdff21a80ff69b.jpg","text":"TemporaryFile(/tmp/multipartBody2281786079395405545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201552335,"filename":"image_06012025_23_11_02_337035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f27fc5435f6165fbf41bae097bb33e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4668016697843932126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201552335,"filename":"image_06012025_23_10_02_121827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327095999","file1":"1327095998","file0":"1327095994","file3":"1327096000"},"map_files_photo_id_array":[{"photo_id":"1327095999","filename":"file2"},{"photo_id":"1327095998","filename":"file1"},{"photo_id":"1327095994","filename":"file0"},{"photo_id":"1327096000","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327096000":["hashtag1","hashtag2"]},{"1327095999":["hashtag1","hashtag2"]},{"1327095998":["hashtag1","hashtag2"]},{"1327095994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327096000, 1327095999, 1327095998, 1327095994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12646412849426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:12:22.321678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0003.jpg', '/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0000.jpg', '/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0001.jpg', '/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/11/image_06012025_23_11_02_337035_0003.jpg
/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0000.jpg
/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0001.jpg
/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_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":["1327096707","1327096542","1327096256","1327096706"],"photo_ids_order":["1327096256","1327096542","1327096706","1327096707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e958523df1d845a2a578649a2a8b337a.jpg","text":"TemporaryFile(/tmp/multipartBody8089135554795926780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201612352,"filename":"image_06012025_23_12_02_486238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/159d05a1f0cf1e5f6daef873bd387b48.jpg","text":"TemporaryFile(/tmp/multipartBody2329039704830942154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201612352,"filename":"image_06012025_23_12_02_486238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fde8d52851984279811435f3d5438a50.jpg","text":"TemporaryFile(/tmp/multipartBody5164887765551964746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201612352,"filename":"image_06012025_23_11_02_337035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b807ce04eb63a8dda927da0cc4bcebf6.jpg","text":"TemporaryFile(/tmp/multipartBody1572048274179393324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201612352,"filename":"image_06012025_23_12_02_486238_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327096706","file1":"1327096542","file0":"1327096256","file3":"1327096707"},"map_files_photo_id_array":[{"photo_id":"1327096706","filename":"file2"},{"photo_id":"1327096542","filename":"file1"},{"photo_id":"1327096256","filename":"file0"},{"photo_id":"1327096707","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327096707":["hashtag1","hashtag2"]},{"1327096542":["hashtag1","hashtag2"]},{"1327096256":["hashtag1","hashtag2"]},{"1327096706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327096707, 1327096542, 1327096256, 1327096706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.058334827423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:13:22.636110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0003.jpg', '/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0000.jpg', '/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0001.jpg', '/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/12/image_06012025_23_12_02_486238_0003.jpg
/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0000.jpg
/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0001.jpg
/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327097847","1327097742","1327097846","1327097746"],"photo_ids_order":["1327097742","1327097746","1327097846","1327097847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b89676c182b1801d0e2b95dc7124f6b3.jpg","text":"TemporaryFile(/tmp/multipartBody3128651638542453629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201672697,"filename":"image_06012025_23_13_02_653307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5c6f95fd0b753347a289073c616b1e77.jpg","text":"TemporaryFile(/tmp/multipartBody618470124415853060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201672697,"filename":"image_06012025_23_12_02_486238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aac744cb7955a3f043fbc6d5975b54ec.jpg","text":"TemporaryFile(/tmp/multipartBody8035450868921859507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201672697,"filename":"image_06012025_23_13_02_653307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1c8061b83b11660b41564e5bda7dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody6867999863886977849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201672697,"filename":"image_06012025_23_13_02_653307_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327097846","file1":"1327097746","file0":"1327097742","file3":"1327097847"},"map_files_photo_id_array":[{"photo_id":"1327097846","filename":"file2"},{"photo_id":"1327097746","filename":"file1"},{"photo_id":"1327097742","filename":"file0"},{"photo_id":"1327097847","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327097847":["hashtag1","hashtag2"]},{"1327097742":["hashtag1","hashtag2"]},{"1327097846":["hashtag1","hashtag2"]},{"1327097746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327097847, 1327097742, 1327097846, 1327097746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24156641960144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:14:03.037197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:14:22.677272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0003.jpg', '/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0000.jpg', '/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0001.jpg', '/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/13/image_06012025_23_13_02_653307_0003.jpg
/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0000.jpg
/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0001.jpg
/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327098348","1327098312","1327098347","1327098307"],"photo_ids_order":["1327098307","1327098312","1327098347","1327098348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/79c2ab9c4ae58ab5e4f231647e6c20b3.jpg","text":"TemporaryFile(/tmp/multipartBody5690389999337446178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201732847,"filename":"image_06012025_23_14_02_902719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c8cf59af3175943948cf7b43c87e262b.jpg","text":"TemporaryFile(/tmp/multipartBody5956750390374993728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201732847,"filename":"image_06012025_23_14_02_902719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ff2c3a1dc9f2b6efaa2feda54c7d5f3.jpg","text":"TemporaryFile(/tmp/multipartBody7367130269708551725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201732847,"filename":"image_06012025_23_14_02_902719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/927f0287579dadd279b8c8f196ffea54.jpg","text":"TemporaryFile(/tmp/multipartBody2073850501818817191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201732847,"filename":"image_06012025_23_13_02_653307_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327098347","file1":"1327098312","file0":"1327098307","file3":"1327098348"},"map_files_photo_id_array":[{"photo_id":"1327098347","filename":"file2"},{"photo_id":"1327098312","filename":"file1"},{"photo_id":"1327098307","filename":"file0"},{"photo_id":"1327098348","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327098348":["hashtag1","hashtag2"]},{"1327098312":["hashtag1","hashtag2"]},{"1327098347":["hashtag1","hashtag2"]},{"1327098307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327098348, 1327098312, 1327098347, 1327098307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06613516807556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:15:02.574913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:15:21.815908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0003.jpg', '/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0000.jpg', '/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0001.jpg', '/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/14/image_06012025_23_14_02_902719_0003.jpg
/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0000.jpg
/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0001.jpg
/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_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":["1327099017","1327098756","1327099021","1327099026"],"photo_ids_order":["1327098756","1327099017","1327099021","1327099026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d46d717e6393cf2c488fb277ed39d35a.jpg","text":"TemporaryFile(/tmp/multipartBody3643714494976812036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201792008,"filename":"image_06012025_23_15_03_095732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58cdae32802b7a143fc8eced97a15b54.jpg","text":"TemporaryFile(/tmp/multipartBody879191111010182208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201792008,"filename":"image_06012025_23_14_02_902719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1979f9fb9f48a5f166dd1357674e7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3234653772479149677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201792008,"filename":"image_06012025_23_15_03_095732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a385d2dd3d5cd0b1c42fd396700dcd2.jpg","text":"TemporaryFile(/tmp/multipartBody7325197638889537206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201792008,"filename":"image_06012025_23_15_03_095732_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099021","file1":"1327099017","file0":"1327098756","file3":"1327099026"},"map_files_photo_id_array":[{"photo_id":"1327099021","filename":"file2"},{"photo_id":"1327099017","filename":"file1"},{"photo_id":"1327098756","filename":"file0"},{"photo_id":"1327099026","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099017":["hashtag1","hashtag2"]},{"1327098756":["hashtag1","hashtag2"]},{"1327099021":["hashtag1","hashtag2"]},{"1327099026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099017, 1327098756, 1327099021, 1327099026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20451784133911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:16:22.025660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0003.jpg', '/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0000.jpg', '/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0001.jpg', '/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/15/image_06012025_23_15_03_095732_0003.jpg
/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0000.jpg
/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0001.jpg
/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_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":["1327099037","1327099039","1327099048","1327099042"],"photo_ids_order":["1327099037","1327099039","1327099042","1327099048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/41266e54ba1e0979c1fd68fbb29b7c99.jpg","text":"TemporaryFile(/tmp/multipartBody370404976147068425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201852184,"filename":"image_06012025_23_15_03_095732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a095338b3815b382e4258cf457184947.jpg","text":"TemporaryFile(/tmp/multipartBody1903940248937928624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201852184,"filename":"image_06012025_23_16_02_227246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97fd19b7bcc4eaa3866dfa7e58c5dce6.jpg","text":"TemporaryFile(/tmp/multipartBody1139868994716359660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201852184,"filename":"image_06012025_23_16_02_227246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dfb03bb596de4d8f89423341931ecf6e.jpg","text":"TemporaryFile(/tmp/multipartBody1481198641736841269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201852184,"filename":"image_06012025_23_16_02_227246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099042","file1":"1327099039","file0":"1327099037","file3":"1327099048"},"map_files_photo_id_array":[{"photo_id":"1327099042","filename":"file2"},{"photo_id":"1327099039","filename":"file1"},{"photo_id":"1327099037","filename":"file0"},{"photo_id":"1327099048","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099037":["hashtag1","hashtag2"]},{"1327099039":["hashtag1","hashtag2"]},{"1327099048":["hashtag1","hashtag2"]},{"1327099042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099037, 1327099039, 1327099048, 1327099042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.470404863357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:17:22.140181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0003.jpg', '/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0000.jpg', '/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0001.jpg', '/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/16/image_06012025_23_16_02_227246_0003.jpg
/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0000.jpg
/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0001.jpg
/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_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":["1327099113","1327099115","1327099106","1327099102"],"photo_ids_order":["1327099102","1327099106","1327099113","1327099115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/28bbade909a64d48c846f67abd37071c.jpg","text":"TemporaryFile(/tmp/multipartBody7995105826881676597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201912275,"filename":"image_06012025_23_17_02_460561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0248c699e94ade7cbb865740047c30f2.jpg","text":"TemporaryFile(/tmp/multipartBody3147439890440114083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201912275,"filename":"image_06012025_23_17_02_460561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bba0d2b2f59cfb54a54a0d4e9e50e0e1.jpg","text":"TemporaryFile(/tmp/multipartBody6229691240507514981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201912275,"filename":"image_06012025_23_17_02_460561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/87d6088f19df0ae91edca3765a9e0f64.jpg","text":"TemporaryFile(/tmp/multipartBody4232469612538166514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736201912275,"filename":"image_06012025_23_16_02_227246_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099113","file1":"1327099106","file0":"1327099102","file3":"1327099115"},"map_files_photo_id_array":[{"photo_id":"1327099113","filename":"file2"},{"photo_id":"1327099106","filename":"file1"},{"photo_id":"1327099102","filename":"file0"},{"photo_id":"1327099115","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099113":["hashtag1","hashtag2"]},{"1327099115":["hashtag1","hashtag2"]},{"1327099106":["hashtag1","hashtag2"]},{"1327099102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099113, 1327099115, 1327099106, 1327099102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 64.18896818161011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:18:32.320514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0003.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0000.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0001.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0003.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0000.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0001.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_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.718290328979492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:18:52.344172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0003.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0000.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0001.jpg', '/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/17/image_06012025_23_17_02_460561_0003.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0000.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0001.jpg
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099151","1327099147","1327099149","1327099158"],"photo_ids_order":["1327099147","1327099149","1327099151","1327099158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97dabbf6f01e21fe1604e4a847ee5282.jpg","text":"TemporaryFile(/tmp/multipartBody3924564712762850296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202002523,"filename":"image_06012025_23_18_02_502687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4717eb4714278521c39fa23675ed2f30.jpg","text":"TemporaryFile(/tmp/multipartBody3376637001725427959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202002523,"filename":"image_06012025_23_17_02_460561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a7a8e0caf0ce1415ad7567935c530ef.jpg","text":"TemporaryFile(/tmp/multipartBody8100365483530363914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202002523,"filename":"image_06012025_23_18_02_502687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e8225b020b5d2c28aa369238b1d08e72.jpg","text":"TemporaryFile(/tmp/multipartBody3265191485204002352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202002523,"filename":"image_06012025_23_18_02_502687_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099151","file1":"1327099149","file0":"1327099147","file3":"1327099158"},"map_files_photo_id_array":[{"photo_id":"1327099151","filename":"file2"},{"photo_id":"1327099149","filename":"file1"},{"photo_id":"1327099147","filename":"file0"},{"photo_id":"1327099158","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099151":["hashtag1","hashtag2"]},{"1327099147":["hashtag1","hashtag2"]},{"1327099149":["hashtag1","hashtag2"]},{"1327099158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099151, 1327099147, 1327099149, 1327099158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17964148521423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:19:42.507624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0003.jpg', '/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0000.jpg', '/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0001.jpg', '/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/18/image_06012025_23_18_02_502687_0003.jpg
/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0000.jpg
/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0001.jpg
/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099166","1327099208","1327099210","1327099167"],"photo_ids_order":["1327099166","1327099167","1327099208","1327099210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/80d2e756792bd6c7195689f22bc76d59.jpg","text":"TemporaryFile(/tmp/multipartBody4417223670832265703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202052651,"filename":"image_06012025_23_18_02_502687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e90fc9bf976a17ac2058b9e9b9c742ee.jpg","text":"TemporaryFile(/tmp/multipartBody544089071844035813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202052651,"filename":"image_06012025_23_19_02_672096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a57ba388e209816bbd94d0319bd153c6.jpg","text":"TemporaryFile(/tmp/multipartBody7172373162576103701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202052651,"filename":"image_06012025_23_19_02_672096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b7ecd4042e97d08c1aab83b6b2025aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8601689144336861092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202052651,"filename":"image_06012025_23_19_02_672096_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099208","file1":"1327099167","file0":"1327099166","file3":"1327099210"},"map_files_photo_id_array":[{"photo_id":"1327099208","filename":"file2"},{"photo_id":"1327099167","filename":"file1"},{"photo_id":"1327099166","filename":"file0"},{"photo_id":"1327099210","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099166":["hashtag1","hashtag2"]},{"1327099208":["hashtag1","hashtag2"]},{"1327099210":["hashtag1","hashtag2"]},{"1327099167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099166, 1327099208, 1327099210, 1327099167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.630242109298706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:20:32.754687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0003.jpg', '/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0000.jpg', '/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0001.jpg', '/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/19/image_06012025_23_19_02_672096_0003.jpg
/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0000.jpg
/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0001.jpg
/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099235","1327099237","1327099234","1327099236"],"photo_ids_order":["1327099234","1327099235","1327099236","1327099237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5d6ba479ad5fc22994c288e693fdab33.jpg","text":"TemporaryFile(/tmp/multipartBody682591010660448125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202102979,"filename":"image_06012025_23_20_02_894721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2bfa4321bf8484a54f9d0ffb41e00378.jpg","text":"TemporaryFile(/tmp/multipartBody1216007689502544675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202102979,"filename":"image_06012025_23_20_02_894721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/82fa46188dfeb443f7a357437cab3fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3925823732856767645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202102979,"filename":"image_06012025_23_19_02_672096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/960b58ba2440a5a43327f05bffa9af40.jpg","text":"TemporaryFile(/tmp/multipartBody6331090884927736384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202102979,"filename":"image_06012025_23_20_02_894721_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099236","file1":"1327099235","file0":"1327099234","file3":"1327099237"},"map_files_photo_id_array":[{"photo_id":"1327099236","filename":"file2"},{"photo_id":"1327099235","filename":"file1"},{"photo_id":"1327099234","filename":"file0"},{"photo_id":"1327099237","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099235":["hashtag1","hashtag2"]},{"1327099237":["hashtag1","hashtag2"]},{"1327099234":["hashtag1","hashtag2"]},{"1327099236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099235, 1327099237, 1327099234, 1327099236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49734711647034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:21:21.887716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0003.jpg', '/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0000.jpg', '/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0001.jpg', '/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/20/image_06012025_23_20_02_894721_0003.jpg
/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0000.jpg
/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0001.jpg
/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099253","1327099261","1327099258","1327099246"],"photo_ids_order":["1327099246","1327099253","1327099258","1327099261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d10ed822da5783e1bdf1cd83eaef848f.jpg","text":"TemporaryFile(/tmp/multipartBody8648523190131161020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202152087,"filename":"image_06012025_23_21_03_135221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/592cc0eae09699b3652698de053c9d62.jpg","text":"TemporaryFile(/tmp/multipartBody3692427973916135114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202152087,"filename":"image_06012025_23_21_03_135221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0631ea2d324616f865b4657809c96924.jpg","text":"TemporaryFile(/tmp/multipartBody5237661512882843921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202152087,"filename":"image_06012025_23_21_03_135221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f89013143eb6278a13256669e1596dff.jpg","text":"TemporaryFile(/tmp/multipartBody4408193928519147233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202152087,"filename":"image_06012025_23_20_02_894721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099258","file1":"1327099253","file0":"1327099246","file3":"1327099261"},"map_files_photo_id_array":[{"photo_id":"1327099258","filename":"file2"},{"photo_id":"1327099253","filename":"file1"},{"photo_id":"1327099246","filename":"file0"},{"photo_id":"1327099261","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099253":["hashtag1","hashtag2"]},{"1327099261":["hashtag1","hashtag2"]},{"1327099258":["hashtag1","hashtag2"]},{"1327099246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099253, 1327099261, 1327099258, 1327099246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19858384132385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:22:02.560339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:22:22.241242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0003.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0000.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0001.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0003.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0000.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0001.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_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.711041688919067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:22:42.133215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0003.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0000.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0001.jpg', '/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/21/image_06012025_23_21_03_135221_0003.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0000.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0001.jpg
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_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":["1327099331","1327099334","1327099330","1327099290"],"photo_ids_order":["1327099290","1327099330","1327099331","1327099334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1057c0ffe813fd9452b2729df612ae87.jpg","text":"TemporaryFile(/tmp/multipartBody7326259408416876188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202232238,"filename":"image_06012025_23_22_02_236538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/03fe52b8380e1424dccd98b996ea604a.jpg","text":"TemporaryFile(/tmp/multipartBody4428461530252432501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202232238,"filename":"image_06012025_23_22_02_236538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d9c7f4a1ca3addac6175e2984b5d6742.jpg","text":"TemporaryFile(/tmp/multipartBody1057908814959484020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202232238,"filename":"image_06012025_23_22_02_236538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4b6f3db3c70b254f90919548c510830c.jpg","text":"TemporaryFile(/tmp/multipartBody2464666185377380632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202232238,"filename":"image_06012025_23_21_03_135221_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099331","file1":"1327099330","file0":"1327099290","file3":"1327099334"},"map_files_photo_id_array":[{"photo_id":"1327099331","filename":"file2"},{"photo_id":"1327099330","filename":"file1"},{"photo_id":"1327099290","filename":"file0"},{"photo_id":"1327099334","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099331":["hashtag1","hashtag2"]},{"1327099334":["hashtag1","hashtag2"]},{"1327099330":["hashtag1","hashtag2"]},{"1327099290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099331, 1327099334, 1327099330, 1327099290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63501310348511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:23:22.306018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0003.jpg', '/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0000.jpg', '/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0001.jpg', '/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/22/image_06012025_23_22_02_236538_0003.jpg
/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0000.jpg
/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0001.jpg
/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099343","1327099346","1327099357","1327099353"],"photo_ids_order":["1327099343","1327099346","1327099353","1327099357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2864ab8ccbdc4889694fe3ad483b706e.jpg","text":"TemporaryFile(/tmp/multipartBody3103012970482002367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202272654,"filename":"image_06012025_23_22_02_236538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/fa6f769a87589a25093403e8ed2d05ff.jpg","text":"TemporaryFile(/tmp/multipartBody4301945413865927011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202272654,"filename":"image_06012025_23_23_02_471502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8b6e5f024e86c760aed1054a532483ab.jpg","text":"TemporaryFile(/tmp/multipartBody3092974971746545796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202272654,"filename":"image_06012025_23_23_02_471502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bba8e7323b55f4193270bcba8d1c6894.jpg","text":"TemporaryFile(/tmp/multipartBody1784978825364322922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202272654,"filename":"image_06012025_23_23_02_471502_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099353","file1":"1327099346","file0":"1327099343","file3":"1327099357"},"map_files_photo_id_array":[{"photo_id":"1327099353","filename":"file2"},{"photo_id":"1327099346","filename":"file1"},{"photo_id":"1327099343","filename":"file0"},{"photo_id":"1327099357","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099343":["hashtag1","hashtag2"]},{"1327099346":["hashtag1","hashtag2"]},{"1327099357":["hashtag1","hashtag2"]},{"1327099353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099343, 1327099346, 1327099357, 1327099353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94627618789673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:24:02.925382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:24:22.460197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0003.jpg', '/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0000.jpg', '/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0001.jpg', '/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/23/image_06012025_23_23_02_471502_0003.jpg
/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0000.jpg
/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0001.jpg
/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099372","1327099378","1327099377","1327099374"],"photo_ids_order":["1327099372","1327099374","1327099377","1327099378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4dba832c983d6080f55cfdd2fdd28d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4020559495613555061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202332723,"filename":"image_06012025_23_23_02_471502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7ff676315cc446b623d9269685cb09b6.jpg","text":"TemporaryFile(/tmp/multipartBody5263656509880723086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202332723,"filename":"image_06012025_23_24_02_681785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d441804f59cb17b341b1166030fc22e8.jpg","text":"TemporaryFile(/tmp/multipartBody3930932006492022335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202332723,"filename":"image_06012025_23_24_02_681785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e6cb918a7b3359611ec08bd5e3586bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1270198970253890222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202332723,"filename":"image_06012025_23_24_02_681785_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099377","file1":"1327099374","file0":"1327099372","file3":"1327099378"},"map_files_photo_id_array":[{"photo_id":"1327099377","filename":"file2"},{"photo_id":"1327099374","filename":"file1"},{"photo_id":"1327099372","filename":"file0"},{"photo_id":"1327099378","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099372":["hashtag1","hashtag2"]},{"1327099378":["hashtag1","hashtag2"]},{"1327099377":["hashtag1","hashtag2"]},{"1327099374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099372, 1327099378, 1327099377, 1327099374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47550177574158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:25:03.391755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:25:22.645282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0003.jpg', '/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0000.jpg', '/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0001.jpg', '/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/24/image_06012025_23_24_02_681785_0003.jpg
/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0000.jpg
/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0001.jpg
/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_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":["1327099394","1327099388","1327099390","1327099398"],"photo_ids_order":["1327099388","1327099390","1327099394","1327099398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4752d5307ec72cff8d515f8fb95e614b.jpg","text":"TemporaryFile(/tmp/multipartBody1074622189638160860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202392948,"filename":"image_06012025_23_25_02_817890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d4cf0b8843ca96fdd9281bddb65b6cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1790496400110084001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202392948,"filename":"image_06012025_23_24_02_681785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4614dabc0ee9ff32ce7249c501cfeb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2156158928710129960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202392948,"filename":"image_06012025_23_25_02_817890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/164fba3ad8dc580bbba2e75018a4f32c.jpg","text":"TemporaryFile(/tmp/multipartBody1370435694504297655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202392948,"filename":"image_06012025_23_25_02_817890_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099394","file1":"1327099390","file0":"1327099388","file3":"1327099398"},"map_files_photo_id_array":[{"photo_id":"1327099394","filename":"file2"},{"photo_id":"1327099390","filename":"file1"},{"photo_id":"1327099388","filename":"file0"},{"photo_id":"1327099398","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099394":["hashtag1","hashtag2"]},{"1327099388":["hashtag1","hashtag2"]},{"1327099390":["hashtag1","hashtag2"]},{"1327099398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099394, 1327099388, 1327099390, 1327099398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.173722982406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:26:21.904585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0003.jpg', '/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0000.jpg', '/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0001.jpg', '/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/25/image_06012025_23_25_02_817890_0003.jpg
/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0000.jpg
/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0001.jpg
/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327099460","1327099462","1327099458","1327099413"],"photo_ids_order":["1327099413","1327099458","1327099460","1327099462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/16e9b31ea7f9e1818bf024a4de399ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5890927339646331300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202452247,"filename":"image_06012025_23_26_03_160826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7b69824a61038e0cc050424739dc3ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3785008241302947069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202452247,"filename":"image_06012025_23_26_03_160826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d15276d30d2c281aaad044d33c93fe74.jpg","text":"TemporaryFile(/tmp/multipartBody2216494060658838206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202452247,"filename":"image_06012025_23_26_03_160826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b4b9f0c8e0b493ceede8d192cb791e99.jpg","text":"TemporaryFile(/tmp/multipartBody3939613469637572204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202452247,"filename":"image_06012025_23_25_02_817890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099460","file1":"1327099458","file0":"1327099413","file3":"1327099462"},"map_files_photo_id_array":[{"photo_id":"1327099460","filename":"file2"},{"photo_id":"1327099458","filename":"file1"},{"photo_id":"1327099413","filename":"file0"},{"photo_id":"1327099462","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099460":["hashtag1","hashtag2"]},{"1327099462":["hashtag1","hashtag2"]},{"1327099458":["hashtag1","hashtag2"]},{"1327099413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099460, 1327099462, 1327099458, 1327099413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59524917602539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:27:02.687299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:27:22.085134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0003.jpg', '/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0000.jpg', '/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0001.jpg', '/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/26/image_06012025_23_26_03_160826_0003.jpg
/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0000.jpg
/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0001.jpg
/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_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":["1327099843","1327099846","1327099840","1327099845"],"photo_ids_order":["1327099840","1327099843","1327099845","1327099846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/af4aa48e4f418eaa18cfceedb39cbe25.jpg","text":"TemporaryFile(/tmp/multipartBody8982430056452538718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202512408,"filename":"image_06012025_23_27_02_238171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8d9a6a2cb845fc430b9bed56d6719014.jpg","text":"TemporaryFile(/tmp/multipartBody5537821038374501433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202512408,"filename":"image_06012025_23_27_02_238171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f34be5ec672541a8ce34e6ef9d4c3c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1647730991705466580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202512408,"filename":"image_06012025_23_26_03_160826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e4fcd9d405114ec4f858c0f84b4e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody5974032360718212219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202512408,"filename":"image_06012025_23_27_02_238171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327099845","file1":"1327099843","file0":"1327099840","file3":"1327099846"},"map_files_photo_id_array":[{"photo_id":"1327099845","filename":"file2"},{"photo_id":"1327099843","filename":"file1"},{"photo_id":"1327099840","filename":"file0"},{"photo_id":"1327099846","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327099843":["hashtag1","hashtag2"]},{"1327099846":["hashtag1","hashtag2"]},{"1327099840":["hashtag1","hashtag2"]},{"1327099845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327099843, 1327099846, 1327099840, 1327099845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.48047494888306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:28:22.333570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0003.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0000.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0001.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0003.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0000.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0001.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_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.814586639404297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:28:42.271125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0003.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0000.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0001.jpg', '/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/27/image_06012025_23_27_02_238171_0003.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0000.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0001.jpg
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_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":["1327100158","1327100152","1327100151","1327100154"],"photo_ids_order":["1327100151","1327100152","1327100154","1327100158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c9ef5a586b466ecf95f424d837dc6013.jpg","text":"TemporaryFile(/tmp/multipartBody5789465365316192824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202592480,"filename":"image_06012025_23_28_02_444262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/31145ad6ee8a154a7eab6d01418642ef.jpg","text":"TemporaryFile(/tmp/multipartBody9097203638604658875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202592480,"filename":"image_06012025_23_28_02_444262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4a46400795d5d4b202381d63de3d7d10.jpg","text":"TemporaryFile(/tmp/multipartBody7945771730466477452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202592480,"filename":"image_06012025_23_27_02_238171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4e833a6dc0d9ab2506031f12b6241066.jpg","text":"TemporaryFile(/tmp/multipartBody4633916015867378719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202592480,"filename":"image_06012025_23_28_02_444262_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100154","file1":"1327100152","file0":"1327100151","file3":"1327100158"},"map_files_photo_id_array":[{"photo_id":"1327100154","filename":"file2"},{"photo_id":"1327100152","filename":"file1"},{"photo_id":"1327100151","filename":"file0"},{"photo_id":"1327100158","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100158":["hashtag1","hashtag2"]},{"1327100152":["hashtag1","hashtag2"]},{"1327100151":["hashtag1","hashtag2"]},{"1327100154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100158, 1327100152, 1327100151, 1327100154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.896074056625366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:29:22.428436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0003.jpg', '/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0000.jpg', '/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0001.jpg', '/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/28/image_06012025_23_28_02_444262_0003.jpg
/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0000.jpg
/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0001.jpg
/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327100213","1327100170","1327100212","1327100211"],"photo_ids_order":["1327100170","1327100211","1327100212","1327100213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/84a7d09d05dedfc412c8f2c534b1428e.jpg","text":"TemporaryFile(/tmp/multipartBody3500975977147822631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202632756,"filename":"image_06012025_23_29_02_639987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ccc278eb329b5bd29328d9ac099d997.jpg","text":"TemporaryFile(/tmp/multipartBody1470938053793257404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202632756,"filename":"image_06012025_23_28_02_444262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ff39e49fc429993a3ebb507e49f3767e.jpg","text":"TemporaryFile(/tmp/multipartBody99462372050165417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202632756,"filename":"image_06012025_23_29_02_639987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72bd2eec0c3f402d6c0d66e90331deb1.jpg","text":"TemporaryFile(/tmp/multipartBody6665464722624680432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202632756,"filename":"image_06012025_23_29_02_639987_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100212","file1":"1327100211","file0":"1327100170","file3":"1327100213"},"map_files_photo_id_array":[{"photo_id":"1327100212","filename":"file2"},{"photo_id":"1327100211","filename":"file1"},{"photo_id":"1327100170","filename":"file0"},{"photo_id":"1327100213","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100213":["hashtag1","hashtag2"]},{"1327100170":["hashtag1","hashtag2"]},{"1327100212":["hashtag1","hashtag2"]},{"1327100211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100213, 1327100170, 1327100212, 1327100211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40320801734924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:30:02.980700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:30:22.610878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0003.jpg', '/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0000.jpg', '/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0001.jpg', '/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/29/image_06012025_23_29_02_639987_0003.jpg
/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0000.jpg
/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0001.jpg
/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_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":["1327100225","1327100227","1327100223","1327100226"],"photo_ids_order":["1327100223","1327100225","1327100226","1327100227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d52228cb93bad285922dbf04f9a5366c.jpg","text":"TemporaryFile(/tmp/multipartBody3187546805531174415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202692782,"filename":"image_06012025_23_30_02_792803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c246e5ad12bbb162f652f63c36236ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2335706380178989813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202692782,"filename":"image_06012025_23_30_02_792803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f50a4d9420ccf0d0c17c0a8150de6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8169599499019714709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202692782,"filename":"image_06012025_23_29_02_639987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70b4168803c8e756e5652caf6e78f99a.jpg","text":"TemporaryFile(/tmp/multipartBody2506972729001315563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202692782,"filename":"image_06012025_23_30_02_792803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100226","file1":"1327100225","file0":"1327100223","file3":"1327100227"},"map_files_photo_id_array":[{"photo_id":"1327100226","filename":"file2"},{"photo_id":"1327100225","filename":"file1"},{"photo_id":"1327100223","filename":"file0"},{"photo_id":"1327100227","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100225":["hashtag1","hashtag2"]},{"1327100227":["hashtag1","hashtag2"]},{"1327100223":["hashtag1","hashtag2"]},{"1327100226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100225, 1327100227, 1327100223, 1327100226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.461426734924316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:31:21.911471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0003.jpg', '/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0000.jpg', '/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0001.jpg', '/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/30/image_06012025_23_30_02_792803_0003.jpg
/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0000.jpg
/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0001.jpg
/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327100239","1327100236","1327100241","1327100237"],"photo_ids_order":["1327100236","1327100237","1327100239","1327100241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38f9e30f543c681bd8abfd8242e69869.jpg","text":"TemporaryFile(/tmp/multipartBody1565091844432531096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202752097,"filename":"image_06012025_23_31_02_955747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/97dbcabf639b355ffc78965648bcf38a.jpg","text":"TemporaryFile(/tmp/multipartBody5682168536769894819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202752097,"filename":"image_06012025_23_30_02_792803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4f13310b9ceca4f37c63f9aee0c9e269.jpg","text":"TemporaryFile(/tmp/multipartBody8962825392641845594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202752097,"filename":"image_06012025_23_31_02_955747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4013cf4357323d07cb66b704858829e.jpg","text":"TemporaryFile(/tmp/multipartBody585871899042199605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202752097,"filename":"image_06012025_23_31_02_955747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100239","file1":"1327100237","file0":"1327100236","file3":"1327100241"},"map_files_photo_id_array":[{"photo_id":"1327100239","filename":"file2"},{"photo_id":"1327100237","filename":"file1"},{"photo_id":"1327100236","filename":"file0"},{"photo_id":"1327100241","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100239":["hashtag1","hashtag2"]},{"1327100236":["hashtag1","hashtag2"]},{"1327100241":["hashtag1","hashtag2"]},{"1327100237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100239, 1327100236, 1327100241, 1327100237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44439387321472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:32:02.510955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:32:21.995746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0003.jpg', '/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0000.jpg', '/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0001.jpg', '/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/31/image_06012025_23_31_02_955747_0003.jpg
/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0000.jpg
/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0001.jpg
/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327100269","1327100271","1327100273","1327100261"],"photo_ids_order":["1327100261","1327100269","1327100271","1327100273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/405783d10b45f87843ef29d49ebfa220.jpg","text":"TemporaryFile(/tmp/multipartBody7861415536027577126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202812175,"filename":"image_06012025_23_32_02_206110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d53a282c03a62e525f5e91d1dec2aa73.jpg","text":"TemporaryFile(/tmp/multipartBody2240517985737557217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202812175,"filename":"image_06012025_23_32_02_206110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7d0fa0071d2f8a8e2622e5cea0be1593.jpg","text":"TemporaryFile(/tmp/multipartBody8377573121445458351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202812175,"filename":"image_06012025_23_32_02_206110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/02d8bf1c6d4ad850b44857e64bf1f698.jpg","text":"TemporaryFile(/tmp/multipartBody7542280466472701228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202812175,"filename":"image_06012025_23_31_02_955747_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100271","file1":"1327100269","file0":"1327100261","file3":"1327100273"},"map_files_photo_id_array":[{"photo_id":"1327100271","filename":"file2"},{"photo_id":"1327100269","filename":"file1"},{"photo_id":"1327100261","filename":"file0"},{"photo_id":"1327100273","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100269":["hashtag1","hashtag2"]},{"1327100271":["hashtag1","hashtag2"]},{"1327100273":["hashtag1","hashtag2"]},{"1327100261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100269, 1327100271, 1327100273, 1327100261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82314920425415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:33:02.833844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:33:22.158919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0003.jpg', '/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0000.jpg', '/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0001.jpg', '/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/32/image_06012025_23_32_02_206110_0003.jpg
/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0000.jpg
/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0001.jpg
/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327100356","1327100353","1327100355","1327100357"],"photo_ids_order":["1327100353","1327100355","1327100356","1327100357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e540952c8851b51da78bd8c783c178b.jpg","text":"TemporaryFile(/tmp/multipartBody4823318427434049090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202872379,"filename":"image_06012025_23_33_02_426388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2c7d9880be180f4a6ba30353149e11d7.jpg","text":"TemporaryFile(/tmp/multipartBody3398072104320205276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202872379,"filename":"image_06012025_23_32_02_206110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0a6fa8b744acecd685fa8b3769e72c8e.jpg","text":"TemporaryFile(/tmp/multipartBody7410709005416728433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202872379,"filename":"image_06012025_23_33_02_426388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/77fa271e97085fd269f9647518bf4d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1747263627670898484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202872379,"filename":"image_06012025_23_33_02_426388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100356","file1":"1327100355","file0":"1327100353","file3":"1327100357"},"map_files_photo_id_array":[{"photo_id":"1327100356","filename":"file2"},{"photo_id":"1327100355","filename":"file1"},{"photo_id":"1327100353","filename":"file0"},{"photo_id":"1327100357","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100356":["hashtag1","hashtag2"]},{"1327100353":["hashtag1","hashtag2"]},{"1327100355":["hashtag1","hashtag2"]},{"1327100357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100356, 1327100353, 1327100355, 1327100357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.701502323150635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:34:02.899327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:34:22.415421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0003.jpg', '/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0000.jpg', '/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0001.jpg', '/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/33/image_06012025_23_33_02_426388_0003.jpg
/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0000.jpg
/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0001.jpg
/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327100383","1327100410","1327100622","1327100840"],"photo_ids_order":["1327100383","1327100410","1327100622","1327100840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6b372f3ea01c02c7a59a5bd95c02705f.jpg","text":"TemporaryFile(/tmp/multipartBody8253476484803109958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202932632,"filename":"image_06012025_23_33_02_426388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/14ab67a31a35d889b0625407b550466c.jpg","text":"TemporaryFile(/tmp/multipartBody2449189624510762947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202932632,"filename":"image_06012025_23_34_02_554251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e364ea56ad256c0140271f9746ab619a.jpg","text":"TemporaryFile(/tmp/multipartBody4489099127903052746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202932632,"filename":"image_06012025_23_34_02_554251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bdfa0f18d01fb08d8922bc24b9195665.jpg","text":"TemporaryFile(/tmp/multipartBody4042897092753402649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202932632,"filename":"image_06012025_23_34_02_554251_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327100622","file1":"1327100410","file0":"1327100383","file3":"1327100840"},"map_files_photo_id_array":[{"photo_id":"1327100622","filename":"file2"},{"photo_id":"1327100410","filename":"file1"},{"photo_id":"1327100383","filename":"file0"},{"photo_id":"1327100840","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327100383":["hashtag1","hashtag2"]},{"1327100410":["hashtag1","hashtag2"]},{"1327100622":["hashtag1","hashtag2"]},{"1327100840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327100383, 1327100410, 1327100622, 1327100840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.132039070129395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:35:03.165223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:35:22.454824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0003.jpg', '/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0000.jpg', '/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0001.jpg', '/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/34/image_06012025_23_34_02_554251_0003.jpg
/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0000.jpg
/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0001.jpg
/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_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":["1327101514","1327101474","1327101476","1327101470"],"photo_ids_order":["1327101470","1327101474","1327101476","1327101514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/35cfc666f4f981dc4cd3066808985bdb.jpg","text":"TemporaryFile(/tmp/multipartBody848492303652669553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202992601,"filename":"image_06012025_23_35_02_742281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72669aa6a31cc8780f82971ec47bb31a.jpg","text":"TemporaryFile(/tmp/multipartBody4041604516083316307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202992601,"filename":"image_06012025_23_35_02_742281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/38ae100060452810f54b246329ae46b4.jpg","text":"TemporaryFile(/tmp/multipartBody1561423466647132282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202992601,"filename":"image_06012025_23_35_02_742281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/1ad4f056e05398351a7f3e37964358d9.jpg","text":"TemporaryFile(/tmp/multipartBody4484976091696043064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736202992601,"filename":"image_06012025_23_34_02_554251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327101476","file1":"1327101474","file0":"1327101470","file3":"1327101514"},"map_files_photo_id_array":[{"photo_id":"1327101476","filename":"file2"},{"photo_id":"1327101474","filename":"file1"},{"photo_id":"1327101470","filename":"file0"},{"photo_id":"1327101514","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327101514":["hashtag1","hashtag2"]},{"1327101474":["hashtag1","hashtag2"]},{"1327101476":["hashtag1","hashtag2"]},{"1327101470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327101514, 1327101474, 1327101476, 1327101470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.258028507232666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:36:22.684138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0003.jpg', '/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0000.jpg', '/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0001.jpg', '/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/35/image_06012025_23_35_02_742281_0003.jpg
/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0000.jpg
/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0001.jpg
/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327102101","1327101968","1327102103","1327101967"],"photo_ids_order":["1327101967","1327101968","1327102101","1327102103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/728fd842660c00d2a742c4638bb33357.jpg","text":"TemporaryFile(/tmp/multipartBody6030135011128240011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203052972,"filename":"image_06012025_23_36_02_894861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c05a25660a4f2d3d49338eeee941e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody2527747999050354094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203052972,"filename":"image_06012025_23_36_02_894861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19227ae182e40309679716f6116ce771.jpg","text":"TemporaryFile(/tmp/multipartBody8474344197383087519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203052972,"filename":"image_06012025_23_36_02_894861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/386534f38b0fde2e7ccafc4a99332fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6385119297492919395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203052972,"filename":"image_06012025_23_35_02_742281_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102101","file1":"1327101968","file0":"1327101967","file3":"1327102103"},"map_files_photo_id_array":[{"photo_id":"1327102101","filename":"file2"},{"photo_id":"1327101968","filename":"file1"},{"photo_id":"1327101967","filename":"file0"},{"photo_id":"1327102103","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102101":["hashtag1","hashtag2"]},{"1327101968":["hashtag1","hashtag2"]},{"1327102103":["hashtag1","hashtag2"]},{"1327101967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102101, 1327101968, 1327102103, 1327101967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3325879573822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:37:02.535767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:37:21.849356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0003.jpg', '/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0000.jpg', '/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0001.jpg', '/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/36/image_06012025_23_36_02_894861_0003.jpg
/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0000.jpg
/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0001.jpg
/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327102230","1327102413","1327102122","1327102412"],"photo_ids_order":["1327102122","1327102230","1327102412","1327102413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/45dff9ccf1da609f99321beb57253051.jpg","text":"TemporaryFile(/tmp/multipartBody2122169650169919677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203112178,"filename":"image_06012025_23_37_03_109110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ce776c3901f6d646b92cb735d08696cc.jpg","text":"TemporaryFile(/tmp/multipartBody18782431755315048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203112178,"filename":"image_06012025_23_37_03_109110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/33a09245e5cfb0307b5bbe3d6a48e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3876521138162532326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203112178,"filename":"image_06012025_23_36_02_894861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2fda63c02814fc50a5ad2c1c68e4f64e.jpg","text":"TemporaryFile(/tmp/multipartBody2098677659017664384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203112178,"filename":"image_06012025_23_37_03_109110_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102412","file1":"1327102230","file0":"1327102122","file3":"1327102413"},"map_files_photo_id_array":[{"photo_id":"1327102412","filename":"file2"},{"photo_id":"1327102230","filename":"file1"},{"photo_id":"1327102122","filename":"file0"},{"photo_id":"1327102413","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102230":["hashtag1","hashtag2"]},{"1327102413":["hashtag1","hashtag2"]},{"1327102122":["hashtag1","hashtag2"]},{"1327102412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102230, 1327102413, 1327102122, 1327102412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57894825935364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:38:02.502266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:38:22.118933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0003.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0000.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0001.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0003.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0000.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0001.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_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.985106706619263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:38:42.120803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0003.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0000.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0001.jpg', '/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/37/image_06012025_23_37_03_109110_0003.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0000.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0001.jpg
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_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":["1327102478","1327102475","1327102469","1327102471"],"photo_ids_order":["1327102469","1327102471","1327102475","1327102478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d2054fd40639f154cbb1f3339d5063bf.jpg","text":"TemporaryFile(/tmp/multipartBody3293074608485217760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203192512,"filename":"image_06012025_23_38_02_329554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/982fa259b4730f9798adde5cdcaa4adb.jpg","text":"TemporaryFile(/tmp/multipartBody7670459284191265833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203192512,"filename":"image_06012025_23_38_02_329554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/dcf3bd9d7c241eec7d8118791ef86e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2855805993793053354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203192512,"filename":"image_06012025_23_37_03_109110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4da62b871d611c700b713aa6300cc1d6.jpg","text":"TemporaryFile(/tmp/multipartBody3656901233395636352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203192512,"filename":"image_06012025_23_38_02_329554_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102475","file1":"1327102471","file0":"1327102469","file3":"1327102478"},"map_files_photo_id_array":[{"photo_id":"1327102475","filename":"file2"},{"photo_id":"1327102471","filename":"file1"},{"photo_id":"1327102469","filename":"file0"},{"photo_id":"1327102478","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102478":["hashtag1","hashtag2"]},{"1327102475":["hashtag1","hashtag2"]},{"1327102469":["hashtag1","hashtag2"]},{"1327102471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102478, 1327102475, 1327102469, 1327102471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 61.72153568267822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:39:52.215316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0003.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0000.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0001.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0003.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0000.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0001.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_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.862801313400269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:40:22.432942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0003.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0000.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0001.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0002.jpg', '/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0003.jpg', '/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/38/image_06012025_23_38_02_329554_0003.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0000.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0001.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0002.jpg
/home/pi/Desktop/images/06012025/23/39/image_06012025_23_39_02_428182_0003.jpg
/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327102494","1327102503","1327102500","1327102487","1327102489","1327102492"],"photo_ids_order":["1327102487","1327102489","1327102492","1327102494","1327102500","1327102503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4323d98e842abe2853f9e3eb1677dcb8.jpg","text":"TemporaryFile(/tmp/multipartBody7841112984312470909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_39_02_428182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b3a476b8f30026a8251d8f9d23e8d8da.jpg","text":"TemporaryFile(/tmp/multipartBody3989343268088071335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_40_02_724507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/cf081ed5e689e7388c7b7273b3cfac76.jpg","text":"TemporaryFile(/tmp/multipartBody3810992083593687897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_39_02_428182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c7757baf61d40e2767a41e834641ccba.jpg","text":"TemporaryFile(/tmp/multipartBody7637605747228352005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_38_02_329554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3e6bb3a56cd68d07ea7dade63c098baa.jpg","text":"TemporaryFile(/tmp/multipartBody8608009480662337915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_39_02_428182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/7c1dcc077ebd3e288bda27d1a0142616.jpg","text":"TemporaryFile(/tmp/multipartBody5200302236811067102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203297424,"filename":"image_06012025_23_39_02_428182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102492","file1":"1327102489","file0":"1327102487","file4":"1327102500","file5":"1327102503","file3":"1327102494"},"map_files_photo_id_array":[{"photo_id":"1327102503","filename":"file5"},{"photo_id":"1327102492","filename":"file2"},{"photo_id":"1327102500","filename":"file4"},{"photo_id":"1327102489","filename":"file1"},{"photo_id":"1327102487","filename":"file0"},{"photo_id":"1327102494","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102494":["hashtag1","hashtag2"]},{"1327102503":["hashtag1","hashtag2"]},{"1327102500":["hashtag1","hashtag2"]},{"1327102487":["hashtag1","hashtag2"]},{"1327102489":["hashtag1","hashtag2"]},{"1327102492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102494, 1327102503, 1327102500, 1327102487, 1327102489, 1327102492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.19279384613037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:42:02.282611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0001.jpg', '/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0002.jpg', '/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0003.jpg', '/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0000.jpg', '/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0001.jpg', '/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0001.jpg
/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0002.jpg
/home/pi/Desktop/images/06012025/23/40/image_06012025_23_40_02_724507_0003.jpg
/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0000.jpg
/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0001.jpg
/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327102557","1327102608","1327102574","1327102553","1327102508","1327102585"],"photo_ids_order":["1327102508","1327102553","1327102557","1327102574","1327102585","1327102608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0c1781cf49b4207dd84072b6b4cf61bb.jpg","text":"TemporaryFile(/tmp/multipartBody7984561980236482367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_40_02_724507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9a7c93027eceaf5e157f5f6ebaeeeeec.jpg","text":"TemporaryFile(/tmp/multipartBody3001508246209045247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_41_02_788052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/bc7b73ac9d17d5361298b832b4a76321.jpg","text":"TemporaryFile(/tmp/multipartBody1792343628263421740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_41_02_788052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9d3c478a1a025403ca4a8d9875637dbb.jpg","text":"TemporaryFile(/tmp/multipartBody968482165537185509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_40_02_724507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e4f1c2391ceaa34e8f4e2bc6642f4114.jpg","text":"TemporaryFile(/tmp/multipartBody999651487354526627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_40_02_724507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c1233aedde883bdd30c3851bd7424461.jpg","text":"TemporaryFile(/tmp/multipartBody8069484555541698120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203397090,"filename":"image_06012025_23_41_02_788052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102557","file1":"1327102553","file0":"1327102508","file4":"1327102585","file5":"1327102608","file3":"1327102574"},"map_files_photo_id_array":[{"photo_id":"1327102608","filename":"file5"},{"photo_id":"1327102557","filename":"file2"},{"photo_id":"1327102585","filename":"file4"},{"photo_id":"1327102553","filename":"file1"},{"photo_id":"1327102508","filename":"file0"},{"photo_id":"1327102574","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102557":["hashtag1","hashtag2"]},{"1327102608":["hashtag1","hashtag2"]},{"1327102574":["hashtag1","hashtag2"]},{"1327102553":["hashtag1","hashtag2"]},{"1327102508":["hashtag1","hashtag2"]},{"1327102585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102557, 1327102608, 1327102574, 1327102553, 1327102508, 1327102585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 113.43490362167358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-06 23:44:02.551981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0003.jpg', '/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0000.jpg', '/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0001.jpg', '/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0002.jpg', '/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0003.jpg', '/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/41/image_06012025_23_41_02_788052_0003.jpg
/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0000.jpg
/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0001.jpg
/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0002.jpg
/home/pi/Desktop/images/06012025/23/42/image_06012025_23_42_02_972391_0003.jpg
/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_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":["1327102698","1327102716","1327102713","1327102718","1327102711","1327102705"],"photo_ids_order":["1327102698","1327102705","1327102711","1327102713","1327102716","1327102718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d05118636b9e842b266c0692a11f2b66.jpg","text":"TemporaryFile(/tmp/multipartBody1692393767400423349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_41_02_788052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3faea0eca70f94c60eeb3b61faec77b3.jpg","text":"TemporaryFile(/tmp/multipartBody9151753328408742873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_42_02_972391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/90f702023e5cef2da7fe7c0a1be11cca.jpg","text":"TemporaryFile(/tmp/multipartBody2089247172411180399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_42_02_972391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8c8bebd9c9898cc456ea52a1a18e6a27.jpg","text":"TemporaryFile(/tmp/multipartBody4767426898838009616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_43_02_246866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f2f1f932dfe620f5744eceac08df1e3c.jpg","text":"TemporaryFile(/tmp/multipartBody9134416904763563838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_42_02_972391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6ea79295b29ac4a6fd38a17f856536b7.jpg","text":"TemporaryFile(/tmp/multipartBody8151154362138064766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203517457,"filename":"image_06012025_23_42_02_972391_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102711","file1":"1327102705","file0":"1327102698","file4":"1327102716","file5":"1327102718","file3":"1327102713"},"map_files_photo_id_array":[{"photo_id":"1327102718","filename":"file5"},{"photo_id":"1327102711","filename":"file2"},{"photo_id":"1327102716","filename":"file4"},{"photo_id":"1327102705","filename":"file1"},{"photo_id":"1327102698","filename":"file0"},{"photo_id":"1327102713","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102698":["hashtag1","hashtag2"]},{"1327102716":["hashtag1","hashtag2"]},{"1327102713":["hashtag1","hashtag2"]},{"1327102718":["hashtag1","hashtag2"]},{"1327102711":["hashtag1","hashtag2"]},{"1327102705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102698, 1327102716, 1327102713, 1327102718, 1327102711, 1327102705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.258628606796265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:45:22.432963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0001.jpg', '/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0002.jpg', '/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0003.jpg', '/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0000.jpg', '/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0001.jpg', '/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0001.jpg
/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0002.jpg
/home/pi/Desktop/images/06012025/23/43/image_06012025_23_43_02_246866_0003.jpg
/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0000.jpg
/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0001.jpg
/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327102821","1327102803","1327102781","1327102771","1327102768","1327102777"],"photo_ids_order":["1327102768","1327102771","1327102777","1327102781","1327102803","1327102821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ab426f738c33bfd4de2c279588c28a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6764458451284171117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_44_02_337328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a02f33a3db83190f73c4eedce5fbb2df.jpg","text":"TemporaryFile(/tmp/multipartBody8715573459642327116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_44_02_337328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2b555aa6b1dfda1e80a250b4d7d93169.jpg","text":"TemporaryFile(/tmp/multipartBody476164776639793317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_44_02_337328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/58bf35242b922d1eb9ac67094e08ce21.jpg","text":"TemporaryFile(/tmp/multipartBody1419721059638418121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_43_02_246866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/aac6cb042ee692bdfce46b86b85b9257.jpg","text":"TemporaryFile(/tmp/multipartBody1717338106287182596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_43_02_246866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3dd38f21ba545a61f135e04ca735bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1582675023386173621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203597285,"filename":"image_06012025_23_43_02_246866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102777","file1":"1327102771","file0":"1327102768","file4":"1327102803","file5":"1327102821","file3":"1327102781"},"map_files_photo_id_array":[{"photo_id":"1327102821","filename":"file5"},{"photo_id":"1327102777","filename":"file2"},{"photo_id":"1327102803","filename":"file4"},{"photo_id":"1327102771","filename":"file1"},{"photo_id":"1327102768","filename":"file0"},{"photo_id":"1327102781","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102821":["hashtag1","hashtag2"]},{"1327102803":["hashtag1","hashtag2"]},{"1327102781":["hashtag1","hashtag2"]},{"1327102771":["hashtag1","hashtag2"]},{"1327102768":["hashtag1","hashtag2"]},{"1327102777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102821, 1327102803, 1327102781, 1327102771, 1327102768, 1327102777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 116.34684109687805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:47:21.962680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0003.jpg', '/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0000.jpg', '/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0001.jpg', '/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0002.jpg', '/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0003.jpg', '/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/44/image_06012025_23_44_02_337328_0003.jpg
/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0000.jpg
/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0001.jpg
/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0002.jpg
/home/pi/Desktop/images/06012025/23/45/image_06012025_23_45_02_523786_0003.jpg
/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_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":["1327102833","1327102827","1327102925","1327102942","1327102939","1327102930"],"photo_ids_order":["1327102827","1327102833","1327102925","1327102930","1327102939","1327102942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/f7fc9ec8770919328b2522e1f12c117e.jpg","text":"TemporaryFile(/tmp/multipartBody2785544315181422701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_45_02_523786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c3f0b0d67dea016405404e744b887e59.jpg","text":"TemporaryFile(/tmp/multipartBody2427227643842850305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_44_02_337328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e1b84b5ab2c86f44db06ec354479a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody8168214178549384029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_45_02_523786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/39b6e85f96fb7b0415722370945cb4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4041930853510274290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_46_02_742550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d1e7d5cb2e614c5ac8e6317f116c3772.jpg","text":"TemporaryFile(/tmp/multipartBody3023840744330959419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_45_02_523786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9f83128743e78c666d8f4f7fe2cdc515.jpg","text":"TemporaryFile(/tmp/multipartBody171615105114254291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203717076,"filename":"image_06012025_23_45_02_523786_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102925","file1":"1327102833","file0":"1327102827","file4":"1327102939","file5":"1327102942","file3":"1327102930"},"map_files_photo_id_array":[{"photo_id":"1327102942","filename":"file5"},{"photo_id":"1327102925","filename":"file2"},{"photo_id":"1327102939","filename":"file4"},{"photo_id":"1327102833","filename":"file1"},{"photo_id":"1327102827","filename":"file0"},{"photo_id":"1327102930","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102833":["hashtag1","hashtag2"]},{"1327102827":["hashtag1","hashtag2"]},{"1327102925":["hashtag1","hashtag2"]},{"1327102942":["hashtag1","hashtag2"]},{"1327102939":["hashtag1","hashtag2"]},{"1327102930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102833, 1327102827, 1327102925, 1327102942, 1327102939, 1327102930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.17514276504517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:48:42.029115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0001.jpg', '/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0002.jpg', '/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0003.jpg', '/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0000.jpg', '/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0001.jpg', '/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0001.jpg
/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0002.jpg
/home/pi/Desktop/images/06012025/23/46/image_06012025_23_46_02_742550_0003.jpg
/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0000.jpg
/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0001.jpg
/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_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":["1327102974","1327103007","1327102986","1327102991","1327103020","1327103002"],"photo_ids_order":["1327102974","1327102986","1327102991","1327103002","1327103007","1327103020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eb4677cdfa781bfce325a62d9a203921.jpg","text":"TemporaryFile(/tmp/multipartBody1592071793409309436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_46_02_742550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/775f02d5dd3548a547a2180c2bcd4b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3822769821477653183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_47_02_958181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/91f3815ef3f5ff01bdabf2be5eea9b43.jpg","text":"TemporaryFile(/tmp/multipartBody403570517253805054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_46_02_742550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c092fe5a10cb9d2098080019f935b282.jpg","text":"TemporaryFile(/tmp/multipartBody5995116367861967967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_46_02_742550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/15bb50acbfc265413640e1ecca25981e.jpg","text":"TemporaryFile(/tmp/multipartBody3498740969368430858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_47_02_958181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/433023d9e470bef24bc76c0aa8c0e41b.jpg","text":"TemporaryFile(/tmp/multipartBody6850631787340636894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203796992,"filename":"image_06012025_23_47_02_958181_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327102991","file1":"1327102986","file0":"1327102974","file4":"1327103007","file5":"1327103020","file3":"1327103002"},"map_files_photo_id_array":[{"photo_id":"1327103020","filename":"file5"},{"photo_id":"1327102991","filename":"file2"},{"photo_id":"1327103007","filename":"file4"},{"photo_id":"1327102986","filename":"file1"},{"photo_id":"1327102974","filename":"file0"},{"photo_id":"1327103002","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327102974":["hashtag1","hashtag2"]},{"1327103007":["hashtag1","hashtag2"]},{"1327102986":["hashtag1","hashtag2"]},{"1327102991":["hashtag1","hashtag2"]},{"1327103020":["hashtag1","hashtag2"]},{"1327103002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327102974, 1327103007, 1327102986, 1327102991, 1327103020, 1327103002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.07775092124939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:49:52.181778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0003.jpg', '/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0001.jpg', '/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0002.jpg', '/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0003.jpg', '/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0000.jpg', '/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/47/image_06012025_23_47_02_958181_0003.jpg
/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0001.jpg
/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0002.jpg
/home/pi/Desktop/images/06012025/23/48/image_06012025_23_48_02_171343_0003.jpg
/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0000.jpg
/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327103058","1327103099","1327103095","1327103071","1327103110","1327103097"],"photo_ids_order":["1327103058","1327103071","1327103095","1327103097","1327103099","1327103110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/eca22327425c66409f3e0bc67d79210d.jpg","text":"TemporaryFile(/tmp/multipartBody3263012375111195938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_47_02_958181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/870d338328f7433146c72467833eee09.jpg","text":"TemporaryFile(/tmp/multipartBody8540727697249818476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_49_02_337394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9972e180c4d70e2d7f576a0965f2effb.jpg","text":"TemporaryFile(/tmp/multipartBody7405479695745288312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_48_02_171343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/5fdecea89ef2227eae9f0c4d773c97b1.jpg","text":"TemporaryFile(/tmp/multipartBody6568798549417370442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_48_02_171343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/08202cd86ea61b4688458aa09eb50fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3919372504220753195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_49_02_337394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8db7420676f1202e5149bff0a3307a99.jpg","text":"TemporaryFile(/tmp/multipartBody8318282547343055033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203867184,"filename":"image_06012025_23_48_02_171343_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327103095","file1":"1327103071","file0":"1327103058","file4":"1327103099","file5":"1327103110","file3":"1327103097"},"map_files_photo_id_array":[{"photo_id":"1327103110","filename":"file5"},{"photo_id":"1327103095","filename":"file2"},{"photo_id":"1327103099","filename":"file4"},{"photo_id":"1327103071","filename":"file1"},{"photo_id":"1327103058","filename":"file0"},{"photo_id":"1327103097","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327103058":["hashtag1","hashtag2"]},{"1327103099":["hashtag1","hashtag2"]},{"1327103095":["hashtag1","hashtag2"]},{"1327103071":["hashtag1","hashtag2"]},{"1327103110":["hashtag1","hashtag2"]},{"1327103097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327103058, 1327103099, 1327103095, 1327103071, 1327103110, 1327103097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.68132185935974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:51:42.583789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0002.jpg', '/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0003.jpg', '/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0000.jpg', '/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0001.jpg', '/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0002.jpg', '/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0002.jpg
/home/pi/Desktop/images/06012025/23/49/image_06012025_23_49_02_337394_0003.jpg
/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0000.jpg
/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0001.jpg
/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_0002.jpg
/home/pi/Desktop/images/06012025/23/50/image_06012025_23_50_02_533679_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":["1327103310","1327103321","1327103318","1327103312","1327103306","1327103308"],"photo_ids_order":["1327103306","1327103308","1327103310","1327103312","1327103318","1327103321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0feee9f9d176a90382c65a0174f45a98.jpg","text":"TemporaryFile(/tmp/multipartBody8461767826060291868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_50_02_533679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/d3331e3ec0da8c83749019c14baab6dd.jpg","text":"TemporaryFile(/tmp/multipartBody743622715415634927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_50_02_533679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/3da0f6bbf9c50ed3b2892b70812e3088.jpg","text":"TemporaryFile(/tmp/multipartBody2190849791852801136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_50_02_533679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a4e63331a259ec6d369ef14c5ef3150b.jpg","text":"TemporaryFile(/tmp/multipartBody4698977215397476916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_50_02_533679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/72382f6b1e0a44400ba15c2771c76c56.jpg","text":"TemporaryFile(/tmp/multipartBody96646646346851387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_49_02_337394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/a57d0866d76d07ae07aba0cda0032133.jpg","text":"TemporaryFile(/tmp/multipartBody4737483510793568490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736203977568,"filename":"image_06012025_23_49_02_337394_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327103310","file1":"1327103308","file0":"1327103306","file4":"1327103318","file5":"1327103321","file3":"1327103312"},"map_files_photo_id_array":[{"photo_id":"1327103321","filename":"file5"},{"photo_id":"1327103310","filename":"file2"},{"photo_id":"1327103318","filename":"file4"},{"photo_id":"1327103308","filename":"file1"},{"photo_id":"1327103306","filename":"file0"},{"photo_id":"1327103312","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327103310":["hashtag1","hashtag2"]},{"1327103321":["hashtag1","hashtag2"]},{"1327103318":["hashtag1","hashtag2"]},{"1327103312":["hashtag1","hashtag2"]},{"1327103306":["hashtag1","hashtag2"]},{"1327103308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327103310, 1327103321, 1327103318, 1327103312, 1327103306, 1327103308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.9133186340332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-06 23:52:42.694991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0000.jpg', '/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0001.jpg', '/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0002.jpg', '/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0003.jpg', '/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0000.jpg', '/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0000.jpg
/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0001.jpg
/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0002.jpg
/home/pi/Desktop/images/06012025/23/51/image_06012025_23_51_02_800909_0003.jpg
/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0000.jpg
/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327103340","1327103337","1327103346","1327103351","1327103342","1327103353"],"photo_ids_order":["1327103337","1327103340","1327103342","1327103346","1327103351","1327103353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4831945d8c9daf6b62c4014590c4a1d8.jpg","text":"TemporaryFile(/tmp/multipartBody3030855967653876071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_51_02_800909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/910b649523d4e00b5731f52f9251aeea.jpg","text":"TemporaryFile(/tmp/multipartBody1052139220378053434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_51_02_800909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/e66ad01cfac17c3df93def8ff5bbd153.jpg","text":"TemporaryFile(/tmp/multipartBody6000139328570625825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_51_02_800909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f5e20cf1355ea44012f476d7ca26cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2186169479478409622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_52_02_929413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2dc0ac9a20a317aacf3173dc1e8de450.jpg","text":"TemporaryFile(/tmp/multipartBody1014101472995662222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_51_02_800909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/70629651ae412eb1d8971a980a7892f9.jpg","text":"TemporaryFile(/tmp/multipartBody6241633780915266327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204037765,"filename":"image_06012025_23_52_02_929413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327103342","file1":"1327103340","file0":"1327103337","file4":"1327103351","file5":"1327103353","file3":"1327103346"},"map_files_photo_id_array":[{"photo_id":"1327103353","filename":"file5"},{"photo_id":"1327103342","filename":"file2"},{"photo_id":"1327103351","filename":"file4"},{"photo_id":"1327103340","filename":"file1"},{"photo_id":"1327103337","filename":"file0"},{"photo_id":"1327103346","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327103340":["hashtag1","hashtag2"]},{"1327103337":["hashtag1","hashtag2"]},{"1327103346":["hashtag1","hashtag2"]},{"1327103351":["hashtag1","hashtag2"]},{"1327103342":["hashtag1","hashtag2"]},{"1327103353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327103340, 1327103337, 1327103346, 1327103351, 1327103342, 1327103353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.52862620353699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:54:22.079212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0002.jpg', '/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0003.jpg', '/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0000.jpg', '/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0001.jpg', '/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0002.jpg', '/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0002.jpg
/home/pi/Desktop/images/06012025/23/52/image_06012025_23_52_02_929413_0003.jpg
/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0000.jpg
/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0001.jpg
/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_0002.jpg
/home/pi/Desktop/images/06012025/23/53/image_06012025_23_53_03_046349_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":["1327103364","1327103358","1327103360","1327103938","1327103629","1327103434"],"photo_ids_order":["1327103358","1327103360","1327103364","1327103434","1327103629","1327103938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ea5803798cc40b6c3366d186dfeec9fa.jpg","text":"TemporaryFile(/tmp/multipartBody2200932328395325014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_53_03_046349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/b0aa441eab1d20230435c44b45590050.jpg","text":"TemporaryFile(/tmp/multipartBody1556468125224099424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_52_02_929413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2890c6e3b55128332a866a981b41ddbf.jpg","text":"TemporaryFile(/tmp/multipartBody7790832579737433686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_52_02_929413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/ccc3553b4f563441a42c3625612290c6.jpg","text":"TemporaryFile(/tmp/multipartBody9010988638180915709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_53_03_046349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/6bcd94363021682b11ed44ae289e5593.jpg","text":"TemporaryFile(/tmp/multipartBody714887076505929039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_53_03_046349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/888a0a60fa2fbb31b330a127f2553570.jpg","text":"TemporaryFile(/tmp/multipartBody3438904746640103864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204137130,"filename":"image_06012025_23_53_03_046349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327103364","file1":"1327103360","file0":"1327103358","file4":"1327103629","file5":"1327103938","file3":"1327103434"},"map_files_photo_id_array":[{"photo_id":"1327103938","filename":"file5"},{"photo_id":"1327103364","filename":"file2"},{"photo_id":"1327103629","filename":"file4"},{"photo_id":"1327103360","filename":"file1"},{"photo_id":"1327103358","filename":"file0"},{"photo_id":"1327103434","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327103364":["hashtag1","hashtag2"]},{"1327103358":["hashtag1","hashtag2"]},{"1327103360":["hashtag1","hashtag2"]},{"1327103938":["hashtag1","hashtag2"]},{"1327103629":["hashtag1","hashtag2"]},{"1327103434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327103364, 1327103358, 1327103360, 1327103938, 1327103629, 1327103434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.84661102294922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:55:32.250924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0000.jpg', '/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0001.jpg', '/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0002.jpg', '/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0003.jpg', '/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0000.jpg', '/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0000.jpg
/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0001.jpg
/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0002.jpg
/home/pi/Desktop/images/06012025/23/54/image_06012025_23_54_02_358493_0003.jpg
/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0000.jpg
/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_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":["1327104423","1327104417","1327104395","1327104214","1327104426","1327104408"],"photo_ids_order":["1327104214","1327104395","1327104408","1327104417","1327104423","1327104426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c45390974e6bc74fafc979bdbee3fd44.jpg","text":"TemporaryFile(/tmp/multipartBody4365971922161221349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_55_02_394096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2f1f2a1a803a01f957ed097fe16ee1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4557243754480648098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_54_02_358493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/2761a394315400792d2fff340b6f0c26.jpg","text":"TemporaryFile(/tmp/multipartBody438123219273984218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_54_02_358493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c4490b1787b61c3d2090e8dea6c6b184.jpg","text":"TemporaryFile(/tmp/multipartBody3348694127031336662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_54_02_358493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/107eb5d97aa946ca61b918e465f73b58.jpg","text":"TemporaryFile(/tmp/multipartBody5719009486698434607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_55_02_394096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8dd86fa710ed13b791f60bf3e1927cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6014984463129793153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204207450,"filename":"image_06012025_23_54_02_358493_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327104408","file1":"1327104395","file0":"1327104214","file4":"1327104423","file5":"1327104426","file3":"1327104417"},"map_files_photo_id_array":[{"photo_id":"1327104426","filename":"file5"},{"photo_id":"1327104408","filename":"file2"},{"photo_id":"1327104423","filename":"file4"},{"photo_id":"1327104395","filename":"file1"},{"photo_id":"1327104214","filename":"file0"},{"photo_id":"1327104417","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327104423":["hashtag1","hashtag2"]},{"1327104417":["hashtag1","hashtag2"]},{"1327104395":["hashtag1","hashtag2"]},{"1327104214":["hashtag1","hashtag2"]},{"1327104426":["hashtag1","hashtag2"]},{"1327104408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327104423, 1327104417, 1327104395, 1327104214, 1327104426, 1327104408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.07820796966553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-06 23:56:32.398106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0002.jpg', '/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0003.jpg', '/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0000.jpg', '/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0001.jpg', '/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0002.jpg
/home/pi/Desktop/images/06012025/23/55/image_06012025_23_55_02_394096_0003.jpg
/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0000.jpg
/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0001.jpg
/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327104572","1327104554","1327104557","1327104550","1327104568"],"photo_ids_order":["1327104550","1327104554","1327104557","1327104568","1327104572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/c47f4ee9a73aa0fad0fa51cd37103037.jpg","text":"TemporaryFile(/tmp/multipartBody5616268108426573863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204265139,"filename":"image_06012025_23_56_02_704167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0f594bbf52687501ddb4c8a1932ecc2b.jpg","text":"TemporaryFile(/tmp/multipartBody593483539831214154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204265139,"filename":"image_06012025_23_55_02_394096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/4d0846c4a506f78960ccdc749209eb30.jpg","text":"TemporaryFile(/tmp/multipartBody8263104891667804419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204265139,"filename":"image_06012025_23_56_02_704167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/0e6d17beba8b1cdcd03f6d54c3893a83.jpg","text":"TemporaryFile(/tmp/multipartBody8601816820367792872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204265139,"filename":"image_06012025_23_55_02_394096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/8e9bbdd19a1c244d5a39ccbc98ff9696.jpg","text":"TemporaryFile(/tmp/multipartBody2232648859119512585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204265139,"filename":"image_06012025_23_56_02_704167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327104557","file1":"1327104554","file0":"1327104550","file4":"1327104572","file3":"1327104568"},"map_files_photo_id_array":[{"photo_id":"1327104557","filename":"file2"},{"photo_id":"1327104572","filename":"file4"},{"photo_id":"1327104554","filename":"file1"},{"photo_id":"1327104550","filename":"file0"},{"photo_id":"1327104568","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327104572":["hashtag1","hashtag2"]},{"1327104554":["hashtag1","hashtag2"]},{"1327104557":["hashtag1","hashtag2"]},{"1327104550":["hashtag1","hashtag2"]},{"1327104568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327104572, 1327104554, 1327104557, 1327104550, 1327104568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.104164123535156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-06 23:57:22.626492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
  port_id : 19426211
  datou_current_id : 2466670
in upload_from_sqlite, uploading in 19426211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0003.jpg', '/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0000.jpg', '/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0001.jpg', '/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466670&datou=0
/home/pi/Desktop/images/06012025/23/56/image_06012025_23_56_02_704167_0003.jpg
/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0000.jpg
/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0001.jpg
/home/pi/Desktop/images/06012025/23/57/image_06012025_23_57_02_773921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327104926","1327104836","1327104838","1327104835"],"photo_ids_order":["1327104835","1327104836","1327104838","1327104926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/de0a2a0328ddb3fdbc4b2c15e89c476f.jpg","text":"TemporaryFile(/tmp/multipartBody2216727910782266092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204312988,"filename":"image_06012025_23_57_02_773921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/179e465510cabc82bd4edbee6e6469b6.jpg","text":"TemporaryFile(/tmp/multipartBody2324243875830023397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204312988,"filename":"image_06012025_23_57_02_773921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/19e6f00c0662714acb6083aee0e455d2.jpg","text":"TemporaryFile(/tmp/multipartBody4278519030947079935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204312988,"filename":"image_06012025_23_57_02_773921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/6/9e4b729af5f1d7dae0c0d6fa615b7c56.jpg","text":"TemporaryFile(/tmp/multipartBody8387386730853444562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736204312988,"filename":"image_06012025_23_56_02_704167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327104838","file1":"1327104836","file0":"1327104835","file3":"1327104926"},"map_files_photo_id_array":[{"photo_id":"1327104838","filename":"file2"},{"photo_id":"1327104836","filename":"file1"},{"photo_id":"1327104835","filename":"file0"},{"photo_id":"1327104926","filename":"file3"}],"portfolio_id":19426211,"hashtag_by_photo_ids":[{"1327104926":["hashtag1","hashtag2"]},{"1327104836":["hashtag1","hashtag2"]},{"1327104838":["hashtag1","hashtag2"]},{"1327104835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19426211 used, photo_id : ArrayBuffer(1327104926, 1327104836, 1327104838, 1327104835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41882634162903 secondes ---
